Posts

5 sec DNS delay issue

Ever since I first upgraded my main linux machine to Fedora Core 3, I noticed a 5 second delay (per DNS server) for every lookup. Well, almost every DNS lookup. If I ran ‘host jedihawk.com’ on the command line, it was instant. But for all other programs, there was a very annoying 5-second delay / DNS server.

During my search for a solution, I found this site:

http://www.mjmwired.net/resources/mjm-fedora-fc3.shtml#ipv6

And therein lies the problem and solution: IPv6. By default, FC3 tries to use IPv6 for all DNS lookups. When that timed out, then it would use regular. IPv4.

So I disabled IPv6 using the command from the guide linked above:

(as root)   echo "alias net-pf-10 off" >> /etc/modprobe.conf

And then (believe it or not) you need to reboot.

Hope this helps.

Leave a Reply

You must be logged in to post a comment.

Archives and Links