Date: Fri, 30 Jul 2010 13:37:18 -0500 From: Mark Lokowich <mlokowich@compellent.com> To: freebsd-stable Mailing List <freebsd-stable@freebsd.org> Subject: resolver refresh Message-ID: <4C531BDE.9000207@compellent.com>
next in thread | raw e-mail | index | archive | help
I've found that changes to resolv.conf on a 7.2 and 8.0 system are not propagated through the resolver for a running process. If your process needs to query a revised DNS server entry, it must call res_init prior to any gethost* syscalls, or you will get responses from the "stale" server. I've been using the NSS plug-in solution posted in 2006, but it's a hard sell without some community blessing. http://www.mail-archive.com/freebsd-stable@freebsd.org/msg78275.html Can anyone tell me why the resolver behaves this way, if there are plans to change it in a future release, and if the NSS resinit plug-in will be committed to the stable branch? fwiw: Linux (glibc) does NOT behave this way. Thanks, Mark
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C531BDE.9000207>