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:[EMAIL PROTECTED]
> Sent: Saturday, November 13, 2004 7:26 AM
> To: [EMAIL PROTECTED]
> 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 
> 
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to