editing resolv.conf in fc 6

I'm trying to install a local caching nameserver but each time I can't seem to edit the resolv.conf file.

Below is how my resolv.conf looks like

; generated by /sbin/dhclient-script
search myhome.westell.com
nameserver 192.168.1.1
nameserver 192.168.1.1
~  

However when I try to comment out the nameserver and restart the network services the text appears the same. I would like to ask my dhcp server for an IP but I need to override the nameserver. Does anyone have any advice?
ShadowColossusAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

omarfaridCommented:
Why don't you add the new IP address of the DNS cache server to the DHCP server?
0
ShadowColossusAuthor Commented:
this is my home network. the dhcp server is from my verizon dsl modem, i have two other computers that connect to the modem and i would like keep their current dns setting.
0
omarfaridCommented:
You may run a job to keep monitoring the /etc/resolv.conf file and if it does not include your caching DNS IP then add it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Daniel McAllisterPresident, IT4SOHO, LLCCommented:
It has been a while since anyone updated this...

If memory serves, if you're using dhclient then there is an /etc/dhclient.conf file that can be modified. (in fact, if I remember correctly, there is an option in there to add (prepend or append), as well as to replace (supercede) settings you get back from the dhcp server.

Any good reason to have your linux box as an edge-device? Why not go behind a $40 residential gateway/router, setup its WAN interface to be DHCP configured, but turn OFF the LAN DHCP server function, instead letting your Linux system be the dhcp server -- and tell you clients anything you want to for name resolvers from there!

Take my advise... (I'm not using it!)

I hope this helps... someone!
0
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.