Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Slow DNS resolution

Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2005, 12:37 AM
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?



ryan@ryankaskel.com
Reply With Quote
  #2  
Old 05-17-2005, 01:18 AM
Bit Twister
Guest
 
Posts: n/a
Default Re: Slow DNS resolution

On 16 May 2005 16:37:33 -0700, (E-Mail Removed) 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  
Old 05-17-2005, 02:27 AM
David
Guest
 
Posts: n/a
Default Re: Slow DNS resolution

(E-Mail Removed) 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  
Old 05-17-2005, 04:20 AM
ryan@ryankaskel.com
Guest
 
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  
Old 05-17-2005, 04:24 AM
ray
Guest
 
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  
Old 05-17-2005, 05:28 PM
Kunael
Guest
 
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

Tags
dns, resolution, slow

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
Forum Jump


All times are GMT. The time now is 07:49 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.