Suppose I work in environment with number of domain changes and slow propagation.I want to test domain configuration immediately after setting change but the propagation is slow.So I want to add more nameservers to /etc/resolv.conf file in my Debian 6.0.3 laptop. Especially domain name servers of my domain name registrar.I do it by adding:append domain-name-servers 85.128.130.10, 194.204.152.34;to my /etc/dhcp/dhclient.conf file. After reconnecting to the network my /etc/resolv.conf is updated properly, but with following message:# NOTE: the libc resolver may not support more than 3 nameservers.# The nameservers listed below may not be recognized.So is there a way to use more than 3 nameservers at the time?
How to overcome libc resolver limitation of maximum 3 nameservers?
linux;debian;dns;dhcp
Put only 127.0.0.1 as a name server in /etc/resolv.conf, and run a DNS cache locally. I recommend Dnsmasq, it's lightweight and easy to setup. On distributions such as Debian and Ubuntu, I also recommend installing the resolvconf package, which takes care of maintaining /etc/resolv.conf when you aren't running a local DNS cache, or of maintaining the DNS cache program's configuration when you are.