LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-02-2007, 12:50 AM   #1
rikos.k
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
Weird DNS problem


Hello.

I have set up a fc6 linux DNS server with bind. I am having a weird problem. My network consists of a windows XP PC, a linux PC and a USR 9108A dsl router. I ve put as a default DNS server to my router and windows PC the linux PC. I have not put any secondary dns servers. My default getway is the USR router. My /etc/resolv.conf file has only one nameserver 127.0.0.1. No errors when named starts. What is weird is that for some reason whenever the linux PC is on i can connect normaly to the web sites. How does linux resolve the DNS addresses since i have no options about any other DNS servers on any bind configuration file neither on the /etc/resolv.conf. When the linux PC is off web sites do not work. Is there any other file in fc6 that has information about external DNS servers ?
 
Old 04-02-2007, 02:00 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,199
Blog Entries: 1

Rep: Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057
Most probably your dns is setup as a caching dns, that's why you can resolve domains when it's on and you cannot do it when it's off. Check your named.conf for the zone "." (hint zone) and take a look at it's zone file, usually named root.cache or root.hints.
 
Old 04-02-2007, 05:41 AM   #3
Au_Squirrel
Member
 
Registered: Nov 2005
Location: Brisbane AU
Distribution: FC29
Posts: 52

Rep: Reputation: 17
Are you using DHCP for your network from the router? If so, it will normally pass the DNS server information that it has been given from your ISP. Your Linux box will then use that information as it's DNS will not return a value.

Regards
 
Old 04-02-2007, 09:00 AM   #4
rikos.k
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks Squirrel, that exactly what I wanted to know.


Quote:
Originally Posted by Au_Squirrel
Are you using DHCP for your network from the router? If so, it will normally pass the DNS server information that it has been given from your ISP. Your Linux box will then use that information as it's DNS will not return a value.

Regards
 
  


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
Weird Gaim/DNS problem brokenflea Slackware 1 12-07-2006 02:00 AM
Weird DNS (?) behaviour jalonsom Linux - Networking 1 10-31-2004 06:55 AM
Weird DNS error for web browers monkey2004 Linux - Networking 1 10-02-2004 02:48 PM
weird DNS related (?) issue bobcat Linux - Networking 1 06-10-2002 08:08 PM
really weird DNS issue. Help needed ASAP! Supp0rtLinux Linux - Networking 2 05-20-2002 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:45 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