Re: [CFR] reflect resolv.conf update to running application

From: Hajimu UMEMOTO (ume_at_FreeBSD.ORG)
Date: 09/05/05

  • Next message: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
    Date: Tue, 06 Sep 2005 02:17:04 +0900
    To: "Matthew N. Dodd" <mdodd@FreeBSD.ORG>
    
    

    Hi,

    >>>>> On Fri, 26 Aug 2005 20:29:39 -0400 (EDT)
    >>>>> "Matthew N. Dodd" <mdodd@FreeBSD.ORG> said:

    mdodd> On Sat, 20 Aug 2005, Hajimu UMEMOTO wrote:
    > 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.

    mdodd> The more useful solution is to run a local caching nameserver that
    mdodd> forwards to the DHCP or location specific nameservers.

    I was using this solution for several years, but I prefered to use
    totd. Since I thought this was overkill, I mode the patch.

    mdodd> I've got modifications to dhclient-script and a Makefile in /etc/namedb/
    mdodd> that implement this behavior. I'll clean it up for public consumption if
    mdodd> others are interested.

    Not only dhclient updates resolv.conf, but ppp, mpd and perhaps others
    do. I'm using dhclient and ppp on my laptops. Sometimes, I use
    DHCPv6, too. So, I need such setting for each applications. It is
    messy to setup a laptop.

    Sincerely,

    --
    Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
    ume@mahoroba.org  ume@{,jp.}FreeBSD.org
    http://www.imasy.org/~ume/
    _______________________________________________
    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"
    

  • Next message: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"