Re: ifupdown writes to /etc... a bug?
On Fri, Mar 14, 2003 at 12:05:29PM -0800, Philippe Troin wrote:
> John Hasler <email@example.com> writes:
> > Marco d'Itri writes:
> > > You need to talk with the glibc upstream and tell them that the resolver
> > > as it has been used forever is broken.
> The problem is that the glibc resolver only reads /etc/resolv.conf
> once. Long running applications are not notified when resolv.conf
> change and will still send queries to the old name servers. And I hate
> having to close and reopen mozilla (or anything else) whenever I hop
> around networks with a laptop.
This is one reason why I personally avoid the glibc or bind resolver
library, especially when coding daemons. There's an alternative dns
client library in Debian/main that works around this annoying problem,
see the libdjbdns1 package.