LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 12-30-2005, 12:09 AM   #1
dougz
LQ Newbie
 
Registered: Dec 2005
Location: Lebanon, Indiana
Distribution: RedHat Enterprise Linux
Posts: 3

Rep: Reputation: 0
BIND DNS resolution problems


Hi.

I need some help with BIND DNS resolution. I am running BIND DNS 9.2.4 configured straight out of the box with RHEL 4 on 2 servers that will provide name resolution services for our Internet customers.

Everything is working fine except when I query www/yahoo/com or www/microsoft/com. Those servers take anywhere from 2 to 4 seconds to query and can time out on occasion. There may be others but these are the ones that I know about.

I have another DNS box (Win2k3) on the network as well for my internal customers. www/yahoo/com and www/microsoft/com resolve instantaneously when using the MS DNS server. All of the servers are pointed to the same upstream DNS servers. If I use the upstream DNS servers, those domains resolve instantaneously as well.

I also noticed that if I try just yahoo.com or microsoft.com resolution is immediately. In addition, I have tried Firefox and IE for a browser and both behave identically when asked to fetch those websites. This problem occurs on both RH/BIND servers.

The RedHat support team suggested that I disable IPv6 on the boxes and then reboot. They walked me through the process and unfortunately the problem persists.

Note that the the / slashes in the URLs are not . due to a posting limitation for newbies to LinuxQuestions.org.

Any ideas?

Thanks in advance.

Regards,

Doug.
 
Old 12-31-2005, 12:35 AM   #2
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
did u add this line in your
/etc/resolv.conf
nameserver 127.0.0.1<or your own ip address>
 
Old 01-01-2006, 11:58 AM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Try adding more debug info when you start bind..

From man bind..
-d debug-level
Set the daemon's debug level to debug-level. Debugging traces
from named become more verbose as the debug level increases.

-f Run the server in the foreground (i.e. do not daemonize).

-g Run the server in the foreground and force all logging to
stderr
 
Old 01-02-2006, 02:31 PM   #4
firefox2501
LQ Newbie
 
Registered: Aug 2003
Distribution: Gentoo, Suse
Posts: 19

Rep: Reputation: 0
Also check your forwarders line in your /etc/named.conf.

If that line does not point to the next upstream DNS server, then all of your requests are going directly to the root servers, which probably accounts for the delay in response time.

Format would be:
Code:
options {
         forwarders { <IP of Primary Upstream DNS>; <IP of Secondary Upstream DNS>; };
         }

Hope this helps

Last edited by firefox2501; 01-02-2006 at 02:34 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Major DNS problems with BIND in freebsd 4.8 release jamminparidise *BSD 2 02-03-2004 09:42 AM
Problems with BIND operating with Windows XP with dns zones for eth0 aliases Cyclo Linux - Networking 2 01-16-2004 01:20 AM
BIND and DNS Server Problems sicasal Linux - Software 8 07-31-2003 07:43 AM
BIND DNS Problems with Zone file and Config Init-0 Linux - Networking 6 07-30-2003 04:58 PM
BIND DNS client problems --unknown host Seneka Linux - Networking 4 12-28-2001 03:36 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration