View Single Post
  #9 (permalink)  
Old 08-Jul-2009, 16:58
roberto60's Avatar
roberto60 roberto60 is online now
Explorer Penguin
 
Join Date: Jul 2008
Posts: 116
roberto60 hasn't been rated much yet
Default Re: Static DNS using NetwotkManager

I'm sorry to be plain I cant find the keyword you pointed to me so I modified the

prepend domain-name-servers

Code:
# dhclient configuration file
# see "man dhclient.conf" for further details
# file: /etc/dhclient.conf
#


######################################################
# Suggested configurations for Cable Modem providers #
#
# uncomment and fill in the appropriate section

#####################################################
# @Home -- TCI, etc
#
# Uncomment the following line and enter your Client ID, which should
# have come in your mail from @Home
#
# send dhcp-client-identifier "c32423-a"

#send host-name "andare.fugue.com";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#supersede domain-name "fugue.com home.vix.com";
prepend domain-name-servers 208.67.222.222, 208.67.220.220;

send dhcp-lease-time 3600;
request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-name-servers, host-name, nis-domain,
	nis-servers, ntp-servers, netbios-name-servers;
# We request above options, require only the IP configuration:
require subnet-mask;
# To enforce the availability of the dns server list, set to:
#require subnet-mask, domain-name-servers;
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;

# Default location of the dhclient-script. Note: Setting
# it in the config, disables the -sf command line option!
#script "/sbin/dhclient-script";

#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;
__________________
Saluti
R
Reply With Quote