LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-28-2008, 11:02 AM   #1
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 181

Rep: Reputation: 30
Slow domain name lookup


I have gentoo and gnome installed on this laptop. I also put NetworkManager on it to handle all my wireless networks and stuff. Now I have noticed that when I type in a domain name in firefox and epiphany it takes about 5-10 seconds to load the page. Whereas if I just type in the ip the page will load pretty fast. So I tried using dnsmasq for caching the domain name stuff so it wont take as long, but NetworkManager takes over my /etc/resolv.conf so its hard to keep dnsmasq working correctly. Anyone know of a fix for this slow dns stuff?

Maybe it has to do with my firewall, which is running IPCop. Can anyone hook me up with some good external nameservers?

Last edited by hosler; 07-28-2008 at 11:06 AM.
 
Old 07-28-2008, 11:19 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
There is a HowTo on the Gentoo site which deals with that problem, but using pdnsd instead.
Maybe you can adapt it to dnsmasq.
I only found a german version - the steps are easily recognizable though and translate.google.com might do a good enough job on it if you can't find an english version.
http://de.gentoo-wiki.com/DNS_beschleunigen
 
Old 07-28-2008, 01:26 PM   #3
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 181

Original Poster
Rep: Reputation: 30
Thanks. That looks like a good workaround for my problem. I will use that in the mean time, but im still looking for a more direct solution to this problem. I have not yet tested to see if the NetworkManager is the cause. I will do that when I get off of work.
From what I found out with google is that NetworkManager could be sending out edns0 questions/signals to my router/firewall and my firewall may not recognize it. Here is the post I read that from.
http://osdir.com/ml/network.networkm.../msg00074.html

I havent tested that on my system yet either, but the symptoms are the same: 5-10 second wait using domain names, but loading instantly with an IP address.
 
Old 07-28-2008, 03:19 PM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
Just for educational purposes:
can you tell how you find that out?
I have wireshark and also tcpdump - but I don't know what or where to look for in the dumps/captures to see if that is the case.
(I also use NetworkManager but have no problemswith it - but my connection is a different one)
 
Old 07-29-2008, 01:02 PM   #5
zerobane
Member
 
Registered: Jan 2006
Posts: 41

Rep: Reputation: 16
try opendns.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to lookup the IP address blocks allocated to a domain DeuceNegative Linux - Networking 5 07-26-2008 11:44 AM
Squid Proxy domain name lookup 6figganigga Linux - Security 8 02-26-2008 10:10 PM
restrict dns lookup for for a domain sunlinux Linux - Networking 2 08-10-2007 06:45 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
ERROR: Failed to lookup IP address for (domain name) aluminum Linux - Newbie 7 11-11-2003 08:27 PM


All times are GMT -5. The time now is 07:58 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration