I have my company network and my home network configured in linux networking, using an alias interface. (pinging IPs works.)
resolv.conf I have
timeout 1 nameserver 10.1.1.1 nameserver 192.168.1.1
the first representing the company network, the second my private lan.
Being at my company, this works, beeing at home, it does with a huge delay. I have to swap the order of both
nameserver entries to get it working without delay. So it looks like there is a timeout in which it tries to access the first nameserver, waits ~3 seconds then goes for the next. Does my
timeout 1 not work or can that be shorter?
The problem is the same when I'm at my company's lan with the nameservers swapped like:
timeout 1 nameserver 192.168.1.1 nameserver 10.1.1.1
How does it work without editing the order of the nameservers?