LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-01-2005, 09:56 AM   #1
freeosfreesoul
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
Question dns server and /etc/resolv.conf


hi, all,

I use a ubuntu 504-i386. I have a home AP/router and my system is configured to get ip from DHCP service of the AP. The problem is: after every system bootup the /etc/resolv.conf is written as:

-------------------------------------------
search domain
nameserver 223.36.128.68
nameserver 223.36.134.188
nameserver 223.36.134.133
nameserver 192.168.1.1
--------------------------------------------

my /etc/network/interface is:
-------------------------------------------
mapping hotplug
script grep
map eth0

# The primary network interface
iface eth0 inet dhcp
-------------------------------------------

Line 2-4 are 3 non-effective DNS server address, and if i keep this unchanged my access would be slowed down or disabled due to the DNS trying. However, if I changed the file, deleting the 3 useless lines, after a while the system will change it back to the content above. How can I do to overcome this problem?
 
Old 09-01-2005, 11:17 AM   #2
oobnuker
LQ Newbie
 
Registered: Jan 2003
Location: Oxford, CT
Posts: 22

Rep: Reputation: 15
When SUSE's dhcpcd writes over the resolv.conf, it always puts a comment in the top of the file telling you how to avoid doing this. It may also be an option on your router to not publish that information to dhcp clients.
 
Old 09-02-2005, 06:45 PM   #3
mlomker
Member
 
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34

Rep: Reputation: 15
The obvious solution is a static address, but perhaps that'd be a PITA for you for other reasons. You could try contacting your ISP and find out why they are sending out bogus DNS information....obviously that is the case if it survives a reboot of your access point.

You can edit the /etc/dhcp3/dhclient.conf file to over-ride the information but whatever DNS addresses that you plug in as an over-ride will apply to *all* dhcp connection. That might not help you much...
 
  


Reply



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
Fedora DNS resolv.conf issue waelaltaqi Linux - Networking 16 07-05-2006 03:23 AM
resolv.conf dns issues billbob Linux - Software 3 09-30-2005 12:20 PM
where does system-config-network put dns info, besides /etc/resolv.conf ? bdp Fedora 1 09-03-2004 12:09 AM
configure jay's firewall to use dns in /etc/resolv.conf TheOneAndOnlySM Linux - Software 0 03-29-2004 07:27 PM
DNS & resolv.conf robeb Linux - Networking 1 06-25-2002 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:26 PM.

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