DHCP & nameservers

Emanuel Strobl Emanuel.Strobl at gmx.net
Sat Nov 13 05:40:37 GMT 2004


Am Samstag, 13. November 2004 06:26 schrieb Andrew Smith:
> 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?

You can tell the dhcp client what infos it should request in dhclient.conf.
I haven't a example handy, try man dhclient.conf and look for request option.

-Harry

>
> 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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041113/72a0fd68/attachment.bin


More information about the freebsd-questions mailing list