gethostbyname() and resolv.conf updates

Dan Williams dcbw at redhat.com
Sun Jun 20 02:54:13 UTC 2010


On Fri, 2010-06-18 at 09:59 -0400, Colin Walters wrote:
> On Fri, Jun 18, 2010 at 9:56 AM, Stephen Gallagher <sgallagh at redhat.com> wrote:
> >
> > Sorry, my reply was more directed against the assertion that NSCD should
> > be mandatory to solve this without changes to glibc. I agree that it
> > would be ideal for gethostbyname() to internally perform a res_init()
> > when appropriate.
> 
> Ok, then we agree.  I don't personally care whether it's NSCD or a
> magical oracle as long as our operating system's gethostbyname()
> function actually functions on mobile devices.  (Caching DNS would be
> a huge bonus, as other operating systems do this and us not doing so
> makes the internet "feel" significantly, visibly slower compared to
> them, but that's a separate bug)

I'm just gonna make NM use a local caching nameserver (which means
dnsmasq) by default at some point soon.  People that don't want it can
turn it off.

Dan




More information about the devel mailing list