LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-27-2007, 09:09 AM   #1
mickza
Member
 
Registered: Mar 2005
Location: South Africa
Distribution: Centos, Fedora, Ubuntu desktop, IPCop
Posts: 168

Rep: Reputation: 33
DNS server settings FC5


General query for the networking gurus - I found the solution but I don't know the why.

Scenario:
Home network - mixed winxx and linux - connected to internet via adsl router - netgear DG834 - all co-existing happily.

Introduce spare time, curiosity, old P3 box (gift) and Smoothwall / IPCop.

Result - tear hair out trying to get linux box working thru firewall due to DNS not working (winxx boxes OK).

Reason - DNS server info is being overridden by greyed out static IP settings in GUI (FC5 Gnome) interface specifically the gateway address see

Network device control > Configure > edit ethernet device

Solution:
Select Statically set IP addresses and remove all info in this section (all fields blank).

Reselect automatically obtain IP addresses.

Deactivate interface (downs & ups the interface with fresh DNS info) and all is fine.
Is this a FC5 only problem?? Anyone care to test with other FC releases.
 
Old 01-28-2007, 08:34 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
If you do DHCP (non-static IP) by default it updates your /etc/resolv.conf with what the DHCP server provides. This behavior can be changed (at least in dhclient the one I had this issue on).

However if you're doing a static IP then you don't get DHCP server update at all so it doesn't overwrite your /etc/resolv.conf.

/etc/resolv.conf is the file that tells your machine what DNS server and/or domains to search when you do DNS lookups.
 
  


Reply


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
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
How do I keep my DNS server settings set? hamster Mandriva 3 10-28-2006 07:57 PM
DNS settings reach2paresh Linux - Enterprise 2 09-27-2005 04:49 AM
dns settings JoeUser11 Linux - Newbie 5 01-25-2005 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:42 AM.

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