we have running some linux servers with sles9 and we have some problems with our dns servers. Sometimes they don't like to work. However, is there a parameter to enable faster switching between two ore more dns servers?
add more DNS servers in /etc/resolv.conf file. They will be probed in order of appearance in case of failure. As in :
# the ones you're using primary :
10.101.1.5
10.101.1.6
# and then the backups :
192.168.2.1
192.168.2.2
# As a side note - it's recommended by RFC that DNS servers should not reside in the same subnet, in case of network failure.
thx, but this is what we have. i need to know, is there an option if one of the primary dns server fails, that the switching to the next dns could make faster?
ortsvorsteher
The DNS timeout value is normally controlled by the client, thus an HA solution would be your route. Nothing you do on the server side (as far as configuration) can change that, and as far as ordering them? Well it will try each attempt, then fail and go to the next server, each time.