Slow DNS resolution

This is a discussion on Slow DNS resolution within the Linux Networking forums, part of the Linux Forums category; I have two boxes I use as desktops on my network. One runs Windows XP and the Other Mandrake Linux (...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-17-2005
ryan@ryankaskel.com
 
Posts: n/a
Default Slow DNS resolution

I have two boxes I use as desktops on my network. One runs Windows XP
and the Other Mandrake Linux (10.0). The Linux box seems to take a long
time for DNS resolution while the Windows system is a lot quicker. Is
there any way to speed this up?

Reply With Quote
  #2 (permalink)  
Old 05-17-2005
Bit Twister
 
Posts: n/a
Default Re: Slow DNS resolution

On 16 May 2005 16:37:33 -0700, ryan@ryankaskel.com wrote:
> I have two boxes I use as desktops on my network. One runs Windows XP
> and the Other Mandrake Linux (10.0). The Linux box seems to take a long
> time for DNS resolution while the Windows system is a lot quicker. Is
> there any way to speed this up?


Depends.


One or both problems may exist. If you placed something in the
zeroconf box during configuration you need to disable tmdns.

click up a terminal and do the following:
su -l root
export DISPLAY=:0.0
chkconfig tmdns off
chkconfig --del tmdns
service network restart

cat /etc/resolv.conf
Now you should not see the node's ip address or 127.0.0.1
If so, remove them.

Now test if it is still slow.
If still slow, you can disable IPV6

kwrite /etc/modules.conf and add the line
alias net-pf-10 off (note: add a carriage return)
click File->Quit and Save

kwrite /etc/modprobe.conf and add the line
alias net-pf-10 off (note: add a carriage return)
click File->Quit and Save

kwrite /etc/sysconfig/network and add the line
NETWORKING_IPV6=no (note: add a carriage return)
click File->Quit and Save

Now reboot the system with
shutdown -r now

Reply With Quote
  #3 (permalink)  
Old 05-17-2005
David
 
Posts: n/a
Default Re: Slow DNS resolution

ryan@ryankaskel.com wrote:
> I have two boxes I use as desktops on my network. One runs Windows XP
> and the Other Mandrake Linux (10.0). The Linux box seems to take a long
> time for DNS resolution while the Windows system is a lot quicker. Is
> there any way to speed this up?
>

What is in your

/etc/resolv.conf file

Mine has something like this

nameserver 69.33.xxx.xxx <- IP Number of DNS
nameserver 69.33.xxx.xxx <- IP Number of DNS
options timeout:1
Reply With Quote
  #4 (permalink)  
Old 05-17-2005
ryan@ryankaskel.com
 
Posts: n/a
Default Re: Slow DNS resolution

Thanks a lot. It seems that shutting down IPv6 support really speeds
things up.

Reply With Quote
  #5 (permalink)  
Old 05-17-2005
ray
 
Posts: n/a
Default Re: Slow DNS resolution

On Mon, 16 May 2005 16:37:33 -0700, ryan wrote:

> I have two boxes I use as desktops on my network. One runs Windows XP
> and the Other Mandrake Linux (10.0). The Linux box seems to take a long
> time for DNS resolution while the Windows system is a lot quicker. Is
> there any way to speed this up?


How slow? If it's about 45 seconds you probably have two problems. If it's
about 12 seconds only one.

First disable IPV6 - that will take it from 45 to 12.
Next, put

options timeout:1

in your /etc/resolv.conf file - this will knock the 12 second problem out.

Reply With Quote
  #6 (permalink)  
Old 05-17-2005
Kunael
 
Posts: n/a
Default Re: Slow DNS resolution

> I have two boxes I use as desktops on my network. One runs Windows XP
> and the Other Mandrake Linux (10.0). The Linux box seems to take a long
> time for DNS resolution while the Windows system is a lot quicker. Is
> there any way to speed this up?


* Mount a DNS-caché server. It's very easy and you problem probably will
desapear.

--
¡Share your knowledge!

Linux user id 332494 # http://counter.li.org/
PGP id 0xC5ABA76A # http://pgp.mit.edu/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0