Click to See Complete Forum and Search --> : DNS Addresses


UnStable
09-12-2002, 08:03 PM
I'm having trouble with DNS Addresses in Mandrake reseting themselves. When I setup my network it used 192.168.0.1 (our router) as the DNS server. However, now I need to use a different DNS server. I've tried changing it with netconf and by editing resolv.conf, but upon rebooting it always switches them back to 192.168.0.1. Is there another file that I need to change so it will keep the new DNS addresses without having to change them everytime I reboot?

My resolv.conf file is always

nameserver 192.168.0.1

on bootup, I have to change it to:

nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy

before I can ever view any webpages.

-UnStable

jumpedintothefire
09-12-2002, 08:52 PM
Are you using DHCP to get an ip??

There might be a option to enable or disable DNS lookups from your "provider" If not just edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add (or change) PEERDNS=no

UnStable
09-12-2002, 10:10 PM
Yeah, I'm using it to get an IP address from a router in my apartment, I added that line and I'll see if that fixes it.

Thanks
-UnStable