nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

Slow resolutions from DNS server

This is a discussion on Slow resolutions from DNS server within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi all, I am facing an issue with DNS server.. I am seeing slow resolutions from our Public DNS servers.. ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 18th November 2009, 11:16 AM
kumarat9pm's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL(4/5),UBUNTU..
Scripting language: Bash,PHP,Perl(noob)
Posts: 635
Thanks: 32
Thanked 41 Times in 36 Posts
Rep Power: 8
kumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nice
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default Slow resolutions from DNS server

Hi all,

I am facing an issue with DNS server.. I am seeing slow resolutions from our Public DNS servers.. how to resolve this issue?
i know one issue is.. if there is no reverse lookup zone file is not there on server this type of problems we will be facing..
Note:reverse lookup zones files for this dns server is with ISP..
is it mandatory not to configure reverse lookup zone files on server and giving them to ISP?
i am bit confused please share your thoughts/inputs how to resolve this issue.
Can we see any logs of dns servers in any file other then /var/log/messages?
__________________
Thanks,
Surendra Kumar Anne
Linux: Fast, friendly, flexible and .... free!
Support Open source.
http://www.linuxnix.com
Reply With Quote
  #2 (permalink)  
Old 19th November 2009, 05:21 AM
jaysunn's Avatar
Contributors
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: Red Hat Linux
Scripting language: bash awk sed
Posts: 793
Thanks: 116
Thanked 107 Times in 97 Posts
Rep Power: 14
jaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud of
Default

Hey kumarat9pm,

I just went through trying to find log files other than /var/log/messages today.

On RHEL, you can run

Code:
/etc/init.d/named status

Or play with the file /etc/named.conf

Code:
logging {
        category security { default_syslog; };
        category lame-servers { null; };
        category queries { null; };
};
I know there is a way to open this up to more debugging options. I have mine set to null, however you can change this. Have a look at changing the logging on BIND and make sure you restart named when you make the changes.

Also have a look at these tools:

Code:
[root@dns1 ~]# named
named            named-bootconf   named-checkconf  named-checkzone
And this link:

Check BIND – DNS Server configuration file for errors with named-checkconf tools



HTH,

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
The Following User Says Thank You to jaysunn For This Useful Post:
kumarat9pm (19th November 2009)
  #3 (permalink)  
Old 19th November 2009, 06:33 AM
kumarat9pm's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL(4/5),UBUNTU..
Scripting language: Bash,PHP,Perl(noob)
Posts: 635
Thanks: 32
Thanked 41 Times in 36 Posts
Rep Power: 8
kumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nice
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default thanks for the reply jay..

Ya may be that is true to get more info on named.conf file logging.. will try to get some more info on this.. and the mention syntax checking commands will not help me any thing bcz all ready my DNS server is working fine expect slow resolutions..
__________________
Thanks,
Surendra Kumar Anne
Linux: Fast, friendly, flexible and .... free!
Support Open source.
http://www.linuxnix.com
Reply With Quote
  #4 (permalink)  
Old 19th November 2009, 10:50 AM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,294
Thanks: 13
Thanked 411 Times in 304 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond repute
Default

Reverse zone belongs to people who control IP address. If ip address leased from ISP, they will control reverse zone. For example, nixcraft.com is resolved by ns{1,2}.nixcraft.net. But its ip reverse lookup is 75.126.168.152 is done by ISP name servers as IP belongs to them.

As far as speed turn on debugging as suggested by above poster. Another geeky and recommend option is to run tcpdump on # 53 and see what is going on.
__________________
Vivek Gite
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
  #5 (permalink)  
Old 23rd November 2009, 11:01 AM
kumarat9pm's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL(4/5),UBUNTU..
Scripting language: Bash,PHP,Perl(noob)
Posts: 635
Thanks: 32
Thanked 41 Times in 36 Posts
Rep Power: 8
kumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nice
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default Thanks for your enligtment Nix..

Here the problem is on Firewall of my company..
we have 2 NS server. ns1 is properly mapped to the name server one, where as ns2 is mapped to one of the ftp severs .. so its unable to resolve the hostnames.. now we changed the mappings to proper DNS servers.. now its working like charm..
Thanks once again..
__________________
Thanks,
Surendra Kumar Anne
Linux: Fast, friendly, flexible and .... free!
Support Open source.
http://www.linuxnix.com
Reply With Quote
Reply

Tags
bind, debug, dns, firewall, linux, named, nameservers, ns1, ns2, port 53


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
"tar xvf" command is executing very slow prahladkumar CentOS / RHEL / Fedora 0 2nd April 2009 03:44 PM
Slow arp and route output - network issue? sserye Networking, Firewalls and Security 3 15th October 2008 11:12 PM
Running script is very slow!!! JATA01 CentOS / RHEL / Fedora 1 24th July 2008 12:07 AM
site responding slow via linux proxy yogeshmalik77 CentOS / RHEL / Fedora 2 15th May 2008 12:48 PM
imap errors / server slow down seed2be Mail Servers 0 6th March 2008 09:36 PM


All times are GMT +5.5. The time now is 08:42 AM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40