T Kellers <[EMAIL PROTECTED]> writes:

> A sledgehammer approach to make it work:
> 
> Comment out the following lines from /sbin/dhclient-script
> 
> make_resolv_conf() {
>   if [ x"$new_domain_name_servers" != x ]; then
>     if [ "x$new_domain_name" != x ]; then
>       echo search $new_domain_name >/etc/resolv.conf
>     else
>       rm /etc/resolv.conf
>     fi
>     for nameserver in $new_domain_name_servers; do
>       echo nameserver $nameserver >>/etc/resolv.conf
>     done
>   fi
> }

Less of a sledgehammer for a similar effect:

 prepend domain-name-servers 127.0.0.1;
[or wherever your nameserver should be]
As an option in dhclient.conf(5)

You can use supersede instead, if you *really* don't want to go to the
ISP's servers, even if yours fails.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to