[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: screwed up my network starting



On 28/01/12 09:29 PM, Bob Proulx wrote:

> 
> Update: A little searching found this in 'man dhclient.conf'.
> 
>        The supersede statement
> 
>         supersede [ option declaration ] ;
> 
>        If for some option the client should always use a
>        locally-configured value or values rather than whatever is
>        supplied by the server, these values can be defined in the
>        supersede statement.
> 
> Therefore whether using resolvconf's configuration to override works
> or not a pure dhclient solution would be to configure the dhclient
> configuration file /etc/dhcp/dhclient.conf to supersede the
> nameservers from the dhcp server.  I think something like this:
> 
>   supersede domain-name-servers "208.67.222.222 208.67.220.220";
> 
> Bob

Well, that sounds even better. Thanks!

For posterity, there is the correct syntax (no double quotes, use comma
to separate addresses):
supersede domain-name-servers 208.67.222.222,208.67.220.220;

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


Reply to: