Ah ok. Now that I understand what’s going on and what the script does, I don’t need it anymore. It just obscures the whole process for me. I will edit the resolv.conf manually.
Because when it is asked it will respond with nxdomain - which then stops the process.
Can this be configured somehow? So that it tries every of the nameservers??
No - the behavior is by design - it is usually not an issue - the only time where it becomes an issue - is a VPN connection using OpenVPN.
It is what I referred earlier as a DNS leak.
And Microsoft Small Business Server (thankfully discontinued) - used in millions of small business networks - hardcoded the .local domain for those networks - making it a pain for non Windows systems to connect to Windows networks.
I have had a couple of mixed networks Windows, Apple and Linux - they are hard to maintain.
Yeah I feel you. It’s really pain, especially for a newcomer like me.
Thanks for your time, really appreciated!