Re: [CFR] reflect resolv.conf update to running application
From: Matthew N. Dodd (mdodd_at_FreeBSD.ORG)
Date: 08/27/05
- Previous message: Doug Barton: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Brooks Davis: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Brooks Davis: "Re: [CFR] reflect resolv.conf update to running application"
- Maybe reply: Sergey Babkin: "Re: Re: [CFR] reflect resolv.conf update to running application"
- Reply: Brooks Davis: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Aug 2005 22:19:06 -0400 (EDT) To: arch@FreeBSD.ORG
On Fri, 26 Aug 2005, Brooks Davis wrote:
> On Fri, Aug 26, 2005 at 08:29:39PM -0400, Matthew N. Dodd wrote:
>> I've got modifications to dhclient-script and a Makefile in /etc/namedb/
>> that implement this behavior. I'll clean it up for public consumption if
>> others are interested.
>
> Sounds useful to me.
I've not yet come up with a good way to configure this behavior, other
than the bit that turns of the resolv.conf updating (touch
/etc/dhclient-no-resolv-conf).
/var/run/named.forwarders is updated with a Bind named.conf forwarders
configuration section containing all DHCP provided nameservers. The
Makefile is placed in /etc/namedb and /etc/namedb/named.conf is moved to
/etc/named.conf.in and modified to include the lines:
forward only;
#include "/var/run/named.forwarders"
This will cause the nameserver to never perform recursive queries directly
but to forward everything to the listed forwarders.
I'm open to suggestions on where to place the configuration knobs for this
functionality.
-- 10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00
_______________________________________________
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"
- TEXT/PLAIN attachment: dhclient-script.patch
- TEXT/PLAIN attachment: Makefile
- Previous message: Doug Barton: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Brooks Davis: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Brooks Davis: "Re: [CFR] reflect resolv.conf update to running application"
- Maybe reply: Sergey Babkin: "Re: Re: [CFR] reflect resolv.conf update to running application"
- Reply: Brooks Davis: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]