Steve Jeppesen wrote: >I am attempting to add a couple DNS IP's to /etc/resolv.conf in this format; > >nameserver 24.31.3.8 >nameserver 24.31.3.9 > >however, everytime I do this the file is overwritten immediatly by "something" >else. I have even tried to add the IP's directly into /etc/sysconfig/network-scripts >(various files with DNS entries in them) with no luck. > >The original contents of /etc/resolv.conf are; > >nameserver 192.168.0.118 > >which is the gateway IP of our Internet server on our home LAN. > >DNS is enabled thru linuxconf and yes I even tried adding the new IP's there >and they are removed immediatly also by some other process. I have checked >and I do not have pump installed so that isn't the culprit. I also do not have >dhclient installed (those were the two suggestions I found on the web which may >be interferring with /etc/resolv.conf) > >I am using Mandrake 8.2 on a Dell Optiplex P500 w/256 RAM >with a 3com nic. Any other info I should provide? > >Thanks in advance for any help and or advise. >Steve > > >------------------------------------------------------------------------ > >Want to buy your Pack or Services from MandrakeSoft? >Go to http://www.mandrakestore.com > The "something" is the DHCP off your gateway, most likely, where a FORWARDING nameserver already exists.
And I am willing to bet you have ps ax| grep dhcp showing up with dhcpcd running. There was a decision reached a while back Three is the maximum number of nameservers (unless you care to redesign linux extensively) Two nameservers are allocated for DIRECT connection to the internet--in other words reserved for modem, cable, ADSL or other similar types of connections. One nameserver slot is allocated for LOCAL network (which you happen to be using for internet connection) These are the kinds of compromises one must make when one writes scripts to do the job that some users are quite capable of doing for themselves. OK way to beat the system--fire up the internet connection script and claim that the connection is CABLE, then tell your server/gateway to run dhcp and connection sharing. Now you can enter two DNS IPs and dhcp will be used on your local machine to determine its IP (which won't be internet valid but there's NAT ahead of it, so no worries. Civileme
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com