This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Improved DNS resolving for laptops?


Petter Reinholdtsen <pere@hungry.com> wrote:
>  The file /etc/resolv.conf is updated by the DHCP client, but the
> programs do not re-read this file once they are started.  This is a
> problem for long-lived programs, and for my laptop this means it is
> a problem for most programs (hibernate works. :).

The djbdns client library's approach could be useful.
<URL:http://cr.yp.to/djbdns/resolve.html>:
     * Most long-running programs don't notice changes in
       /etc/resolv.conf; they read /etc/resolv.conf when they start, and
       they don't reread it until they are restarted. In contrast, the
       djbdns procedure checks for changes every 10 minutes or 10000
       uses.


paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]