On Sun, Sep 4, 2011 at 7:33 PM, Vincent Lefevre <vinc...@vinc17.net> wrote: > > Due to network congestion, I often get timeouts with BIND, > /etc/resolv.conf containing only "nameserver 127.0.0.1". > In /var/log/syslog, I can see errors like: > > xvii named[1661]: error (network unreachable) resolving ... > > and the "host" command returns: > > ;; connection timed out; no servers could be reached > > As a workaround, I can add the DNS servers of my ISP to the > /etc/resolv.conf file at home, and I no longer get any timeout. > > But on other networks (my machine being a laptop), I cannot do this. > In general, I don't want to use the DNS servers provided by the DHCP > server because they are often broken, yielding obscure behavior like: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457472 > > So, how can I make BIND work reliably, like the glibc resolver?
You can use "supercede domain-name-servers ..." in "dhclient.conf" to set 127.0.0.1 and any other DNS server (like Google DNS or OpenDNS) to be written to "resolv.conf". -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SxjYscKug=hka2mk3sep9ry0p6csppg1bcfvkdo9m2...@mail.gmail.com