DHCP & nameservers
JohnsoBS at vicksburg.navy.mil
JohnsoBS at vicksburg.navy.mil
Sat Nov 13 05:34:24 GMT 2004
Edit /sbin/dhclient-script and comment out the
make_resolve_conf() {
<snip>
}
This will take out the portion of the script that edits resolve.conf
"People will accept your idea much more readily if you tell
them Benjamin Franklin said it first."
> -----Original Message-----
> From: Andrew Smith [mailto:bsd-questions at andsmith.com]
> Sent: Saturday, November 13, 2004 7:26 AM
> To: freebsd-questions at freebsd.org
> Subject: DHCP & nameservers
>
>
> I'm using my FreeBSD box as the gateway machine for my cable modem.
> Obviously the cable modem side has to be set as DHCP, which
> automaticlly
> sets the DNS nameservers in resolve.conf.
>
> However I am running a caching name server on the box, and
> would like to
> have resolve.conf only point to local host. Is there any way
> to keep DHCP
> from updating resolve.conf?
>
> Thanks in advance,
>
> Andrew
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list