Nameservers keep reverting to defaults
The /etc/resolv.conf file has the wrong nameserver set, but whenever I edit the nameserver, the changes don't take effect and the file reverts to the default nameserver. I'm running SUSE Linux 9.2, and I'm also behind a router. I changed the router nameservers, and the changes took effect, but the ones in the /etc/resolv.conf file won't change. In addition, everytime I open the file, there's a strange paragraph that reads, "This is a temporary resolv.conf created by service dhcpcd. The previous file has been saved and will be restored later."
Any ideas? Any and all help will be appreciated. |
Re: Nameservers keep reverting to defaults
Quote:
|
Thanks for the reply trickykid. My router is a D-link, but I updated the router with the new nameservers and they remain, so I'm a bit doubtful that it's being caused by the router (However, I'm still relatively new to Linux so I could easily be wrong.) I think it might have something to do with the fact that the resolv.conf file claims it's a temporary file, and that that might be the reason it keeps reverting. Apparently, there are ways to access the sysconfig files to change the permissions the service dhcp has, but like I said I'm too new to know what I'm doing.
Any and all replies are greatly appreciated. :D |
Re: Re: Nameservers keep reverting to defaults
Quote:
|
typically your dns server is 2 sided monster .. it gets dns settings from the wan side (where it is a client) ..and it gives them out on the lan side to it's clients.
you most likely can't change that .. and surely you have no reason to change them ..unless you want to really have fun .. you should login into your dhcp server and see what it has in the setting for wan side .. most of them show it. |
Thanks for your reply, winsnomore. However, I'm unsure how to login into my DHCP Server. Is it a configuration file, or similar to my router settings, or what?
|
Is it a home network ? typically the routers all have a html based setup .. they end up using the "first address" so for your 192.168.x.x home network ..
the router will (should) have a page at 192.168.x.1 .. (you can check by pinging this addresses .. if some one responds to it, chances are pretty good you can log into it.) just open a browser window and type that address in browser window and see what happens. Most will let you see things however if you might have to login to the router and for that you will need a login name and password. typically each router has a default and you can check the manufacturer web site for a manual and read it thru .. there are no standards in this .. |
All times are GMT -5. The time now is 03:01 AM. |