Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 11:43:15 -0700
From:      "Robert Westendorp" <rjwesten@uniserve.com>
To:        "Laszlo Vagner" <george@vagner.com>, <questions@freebsd.org>
Subject:   Re: how to stop resolv.conf from being updated
Message-ID:  <037801c326db$54cb5190$d3a1f4cc@rob>
References:  <3ED79E49.30803@vagner.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You can use the prepend statement in your dhclient.conf file. That way you
can put your server first and leave the others in there for backup.

Here's the line you need to add

    prepend domain-name-servers <dns server ip>;

----- Original Message -----
From: "Laszlo Vagner" <george@vagner.com>
To: <questions@freebsd.org>
Sent: Friday, May 30, 2003 11:09 AM
Subject: how to stop resolv.conf from being updated


> I am using DHCP on a cable modem and my
> providers nameserver really sucks
> but changing my resolv.conf repairs
> the lookups for a little while then it gets
> set back to them upon bootup.
>
> how do i make it stay the way i set it.
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?037801c326db$54cb5190$d3a1f4cc>