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

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Dec 14 01:55:30 PST 2007


In message <7ExUpek150AdEdP4WR1b6w at lz+EvuNSgXKgs9kqjMxQNA>, Eygene Ryabinkin writes:

>But there is one bit that
>I am missing with the current /etc/rc.d scripts: automated construction
>of /etc/resolv.conf basing on the variables from /etc/rc.conf.

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.

-- 
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