FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-05-2011, 12:58 AM
Tom H
 
Default BIND and timeout

On Sun, Sep 4, 2011 at 7:33 PM, Vincent Lefevre <vincent@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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAOdo=SxjYscKug=HKa2mk3SeP9Ry0P6CSPPg1BcFvkDo9M21h Q@mail.gmail.com">http://lists.debian.org/CAOdo=SxjYscKug=HKa2mk3SeP9Ry0P6CSPPg1BcFvkDo9M21h Q@mail.gmail.com
 
Old 09-05-2011, 01:50 AM
Vincent Lefevre
 
Default BIND and timeout

On 2011-09-04 20:58:08 -0400, Tom H wrote:
> 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".

Thanks. I don't like OpenDNS, which returns 67.215.77.132 when the
host doesn't exist. But Google DNS seems OK.

--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110905015006.GC31011@xvii.vinc17.org">http://lists.debian.org/20110905015006.GC31011@xvii.vinc17.org
 

Thread Tools




All times are GMT. The time now is 01:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org