Networking Forums

Networking Forums > Computer Networking > Linux Networking > Slow DNS resolution

Reply
Thread Tools Display Modes

Slow DNS resolution

 
 
ryan@ryankaskel.com
Guest
Posts: n/a

 
      05-16-2005, 11:37 PM
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
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      05-17-2005, 12:18 AM
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
 
David
Guest
Posts: n/a

 
      05-17-2005, 01:27 AM
(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
 
ryan@ryankaskel.com
Guest
Posts: n/a

 
      05-17-2005, 03:20 AM
Thanks a lot. It seems that shutting down IPv6 support really speeds
things up.

 
Reply With Quote
 
ray
Guest
Posts: n/a

 
      05-17-2005, 03:24 AM
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
 
Kunael
Guest
Posts: n/a

 
      05-17-2005, 04:28 PM
> 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
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
Slow IPv6 name resolution Alexandru Burciu Windows Networking 0 09-12-2007 03:44 AM
Why is my name resolution so slow? park_ Linux Networking 3 11-25-2004 11:36 AM
Is SBC-Yahoo DNS resolution slow? Al. C Linux Networking 2 11-09-2004 02:00 AM
SuSE 8.0 and slow DNS resolution E Drake Linux Networking 31 07-14-2004 10:41 AM
Slow Name Resolution Chrisbo Windows Networking 1 06-07-2004 09:08 PM



1 2 3 4 5 6 7 8 9 10 11