I have the following resolv.conf
for example1.com
domain.
search example1.com
nameserver x.x.x.1
nameserver x.x.x.2
Now, I want to extend my resolv.conf
to include example2.com
as well. How do I write my resolv.conf
?
After reading resolv.conf
manaual page I came up with this:
search example1.com example2.com
nameserver x.x.x.1
nameserver x.x.x.2
nameserver x.x.x.3 # for example2.com
nameserver x.x.x.4 # for example2.com
I know that example2.com
will be looked-up in the first two nameservers first and will timeout but when it reaches the third nameserver it should just work, shouldn’t it?
Can someone shed some light on this please?