gethostbyname() and resolv.conf updates

Colin Walters walters at verbum.org
Mon Jun 21 14:40:56 UTC 2010


On Sat, Jun 19, 2010 at 10:54 PM, Dan Williams <dcbw at redhat.com> wrote:
>
> 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.

When thinking about this, there's a rather obvious patch here that
really should have been made 5+ years ago...make it an option!  And
this actually makes some sense, e.g. if NetworkManager writes out a
static configuration, then there's no need to stat() on it since we
can assume it won't change.  (This does still screw over server admins
who hand-edit it, but...)

glibc and NetworkManager patches attached.

(I'm totally in favor of the dnsmasq approach too since the OS
desperately needs DNS caching too, but this is a simple patch that
doesn't conceptually conflict).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-resolv.conf-Add-a-new-dynamic-option-which-tells-us-.patch
Type: text/x-patch
Size: 3237 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100621/b8713e1f/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-options-dynamic-to-generated-resolv.conf.patch
Type: text/x-patch
Size: 1317 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100621/b8713e1f/attachment-0001.bin 


More information about the devel mailing list