[RFC] Automated generation of /etc/resolv.conf from the rc.d script

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Dec 14 02:57:38 PST 2007


In message <dEZnki0Fi32EvMrDEnqcgDeNQSc at Bbw9J2Iynx0QjNoWuQ4YSitYS3A>, Eygene Ryabinkin writes:

>> It's worse than that.
>> 
>> It should be possible to run a local named even when we run DHCP,
>> and it shuld be an option, to have it automatically forward to the
>> DNS servers we learn from DHCP.
>
>This can be achieved with the script /etc/dhclient-exit-hooks that
>will create the file with named 'forwarders' clause [...]

Yes, I know that, but I would like to see it controllable from rc.conf
like the rest of our network configuration.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list