Home > Archive > alt.os.linux > July 2002 > Re: [solution] bind does not respond any more after connection failure or packet loss





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: [solution] bind does not respond any more after connection failure or packet loss
Moritz Franosch

2002-07-30, 2:25 pm


Moritz Franosch <jfranosc@physik.tu-muenchen.de> writes:

> If I start bind8 when the internet connection is up, it responds to
> queries. If I then interrupt the connection by plugging the ISDN
> cable, do DNS queries (that fail because there is no connection), plug
> in the cable again, connect again and do more DNS queries, all queries
> fail. Shouldn't bind8 recover from a temporary loss of connection
> automatically?


Bind apparently needs a working /etc/resolv.conf itself. An
/etc/resolv.conf like this

nameserver 127.0.0.1

does not work, but like this

nameserver 127.0.0.1
nameserver 145.253.2.11
nameserver 145.253.2.75

does work (the 145.* are working name servers), i.e. you can dial in,
dial out and bind still answers to queries (after dialing in if
needed) as it should.

I suppose, if you only have 127.0.0.1 in /etc/resolv.conf, something
in bind calls gethostbyname() or similar which in turn queries bind
at 127.0.0.1, which again calls gethostbyname() etc.

Any ideas, anyone?


Thank you,

Moritz


--
Dipl.-Phys. Moritz Franosch
http://Franosch.org
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net