Re: [CFR] reflect resolv.conf update to running application
From: John Baldwin (jhb_at_FreeBSD.org)
Date: 08/20/05
- Previous message: Julian Elischer: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Julian Elischer: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-arch@FreeBSD.org Date: Sat, 20 Aug 2005 14:21:19 -0400
On Saturday 20 August 2005 01:30 pm, Julian Elischer wrote:
> Hajimu UMEMOTO wrote:
> > Hi,
> >
> > Our resolver reads resolv.conf once, and never re-read it. Recent
> > OpenBSD changed to re-read resolv.conf when it is updated. I believe
> > it is useful specially for mobile environment. So, I made a patch for
> > our resolver. Please review it.
>
> From a very quick read I couldn't see when it does the update.
> does it do it of EVERY lookup or only after a failed lookup?
Looks like it checks to see if the file mod date has changed on every lookup
since he changed the code to always call _res_init() instead of only when the
INIT flag was clear.
-- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Julian Elischer: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Julian Elischer: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]