resolv.conf issues - suggestion (was Re: browser problems )

Derek Broughton news at pointerstop.ca
Wed Jul 18 21:15:57 UTC 2007


Dan Ziolkowski wrote:

> Tried this, I lost my DNS after reboot. Here is my dhcient.conf file.
> Maybe I did it wrong.
> 
> Thanks Dan
> 
> # Configuration file for /sbin/dhclient, which is included in Debian's
> #    dhcp3-client package.
> #
> # This is a sample configuration file for dhclient. See dhclient.conf's
> #    man page for more information about the syntax of this file
> #    and a more comprehensive list of the parameters understood by
> #    dhclient.
> #
> # Normally, if the DHCP server provides reasonable information and does
> #    not leave anything out (like the domain name, for example), then
> #    few changes must be made to this file, if any.
> #
> 
> #send host-name "andare.fugue.com";
> #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
> #send dhcp-lease-time 3600;
> #supersede domain-name "fugue.com home.vix.com";
> #prepend domain-name-servers 127.0.0.1;
> request subnet-mask, broadcast-address, time-offset, routers,
>     domain-name, host-name,domain-name-servers,
>     netbios-name-servers, netbios-scope, prepend domain-name-servers
> 208.67.222.222, 208.67.220.220;

You've just told it to request something called "prepend" - it's not part of
the "request" command.  See the previous commented out line.  Just
uncomment that, and replace 127.0.0.1 with your DNS values
-- 
derek





More information about the ubuntu-users mailing list