Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-03-2006, 03:12 AM   #1
LQ Newbie
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
Cannot change nameserver IP addresses


My Debian Linux doesn't get on the internet, but it can ping the internet provider's gateway

I found that the settings in /etc/resolv.conf was wrong:

I changed it to what it should be, and saved it as root:

When I run "/etc/init.d/networking restart" the numbers change back to and

Question 1: How do I change the nameserver IP?

Question 2: Are there other possible reasons why I don't get on the internet? I did before...
Old 11-03-2006, 04:33 AM   #2
LQ Newbie
Registered: Oct 2006
Location: Sokoto, Nigeria
Distribution: RedHat, Mandrake
Posts: 15

Rep: Reputation: 0

I am afraid you cant change it except if you did a new installation.
Even if you happen to do it your machine will became very slow
Old 11-03-2006, 07:32 AM   #3
LQ Newbie
Registered: Nov 2006
Location: Dalmatovo, Russia
Distribution: Debian GNU Linux Sarge
Posts: 26

Rep: Reputation: 15
I think your problem may depends on resolvconf package. I mean, resolvconf change /etc/resolv.conf behind your back.

Check whether resolvconf installed on your system, try to remove package, or properly configure it.

And, do you use dhcp to assign IP from provider?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
netconfig doesn't change nameserver?? zeeple Linux - Networking 11 09-09-2006 11:50 AM
Change IP Addresses civicsi Linux - Newbie 3 04-23-2004 01:21 PM
change nameserver in suse8.2 AgedNoob Linux - Networking 1 03-14-2004 12:41 PM
change nameserver domain on ssh ? maxboost Linux - Networking 1 10-07-2003 11:57 PM
Server assigned nameserver addresses jrdioko Linux - Newbie 6 10-03-2003 05:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration