You are not logged in.

#1 2009-12-16 16:15:29

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

[SOLVED] Slow hostname resolution

It seems to me that resolution of hostnames is very slow on my newly installed system. I don't think I notice this when I boot into OpenSUSE or Windows, but whenever I use the browser to go to a host, there is a very noticeable lag (say, several seconds) where it (Chromium) displays "Resolving host..." before it starts to display the web page. I also see this in Thunderbird, trying to get email.

/etc/resolv.conf looks fine, like it is set up correctly via the DHCP:

 Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain hsd1.ma.comcast.net.
nameserver 68.87.71.226
nameserver 68.87.73.242
# /etc/resolv.conf.tail can replace this line

but still pretty slow and noticeable. Any ideas on what I should look at next?

Last edited by jdarnold (2009-12-16 17:54:25)

Offline

#2 2009-12-16 16:24:57

fluffylime
Member
From: Russia, Moscow
Registered: 2009-04-03
Posts: 47

Re: [SOLVED] Slow hostname resolution

Try to disable ipv6. You can do this by adding

alias net_pf_10 off

somewhere in /etc/modprobe.d/.


English is not my native language, sorry.

Offline

#3 2009-12-16 17:54:55

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: [SOLVED] Slow hostname resolution

Thanks, that was it! Just added that line to my modprobe.conf file and now it resolves lickety-split!

Offline

#4 2009-12-16 18:13:37

fluffylime
Member
From: Russia, Moscow
Registered: 2009-04-03
Posts: 47

Re: [SOLVED] Slow hostname resolution

You are welcome. smile


English is not my native language, sorry.

Offline

#5 2013-09-22 22:02:31

orbifx
Member
Registered: 2013-09-22
Posts: 1

Re: [SOLVED] Slow hostname resolution

Sorry for the necromancy..

Is the following still a valid solution for disabling ipv6?

fluffylime wrote:

Try to disable ipv6. You can do this by adding

alias net_pf_10 off

somewhere in /etc/modprobe.d/.

Offline

#6 2013-09-22 22:06:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Slow hostname resolution

orbifx, please read the wiki https://wiki.archlinux.org/index.php/Ke … acklisting or start a new thread instead of digging up this corpse.

Offline

#7 2013-09-22 22:20:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [SOLVED] Slow hostname resolution

orbifx,

First, welcome to Arch Linux.    Karol is right, this is a case where you should start a new thread and link back to this one.  A lot has changed in four years -- I think this thread is no longer relevant, but I am not sure. hmm

I am going to close this; feel free to start a new thread and link back to this one.

Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB