LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slow DSN Lookup with Slackware 64 (https://www.linuxquestions.org/questions/slackware-14/slow-dsn-lookup-with-slackware-64-a-830834/)

staus 09-07-2010 02:48 PM

Slow DSN Lookup with Slackware 64
 
I've been comparing the current Slackware 32 bit versus 64 bit, and I've noticed that the 64 bit version is as slow as dialup for domain name lookup.
The 32 bit version is very fast to find websites after a mouse click, whereas the 64 bit version takes forever looking up URLs. (using Firefox)
All the other 64 bit Linuxes seem to be the same way, not just Slackware.
The /etc/resolve.conf file is the same for 32 or 64 bit Slackware, but something is not right. The 32 bit version has a /etc/dhcpc directory, but not the 64 bit version.
Could this be causing the extreme slowdown?
It's really very irritating when the rest of the system is blazing fast.

AMD Phenom II X4 955
Asus M4A88TD-V
8 GB Corsair XM33 ram

Richard Cranium 09-07-2010 03:27 PM

Quote:

Originally Posted by staus (Post 4090664)
I've been comparing the current Slackware 32 bit versus 64 bit, and I've noticed that the 64 bit version is as slow as dialup for domain name lookup.
The 32 bit version is very fast to find websites after a mouse click, whereas the 64 bit version takes forever looking up URLs. (using Firefox)
All the other 64 bit Linuxes seem to be the same way, not just Slackware.
The /etc/resolve.conf file is the same for 32 or 64 bit Slackware, but something is not right. The 32 bit version has a /etc/dhcpc directory, but not the 64 bit version.
Could this be causing the extreme slowdown?
It's really very irritating when the rest of the system is blazing fast.

AMD Phenom II X4 955
Asus M4A88TD-V
8 GB Corsair XM33 ram

Do you have a wired or wireless connection? Are you using wicd or rc.inet1.conf to configure your network connection? Did you configure Firefox to use some sort of proxy?

wildwizard 09-08-2010 04:59 AM

So you have a problem with DNS and say you have the same resolv.conf file but you don't tell us it's contents?

Please ignore the dhcpc directory as that has NOTHING to do with DNS lookups.

FYI A common problem is a partially IPv6 enabled system but DNS is only available via IPv4 this results in a failed IPv6 DNS look-up before IPv4 is tried (successfully) on the second attempt.

staus 09-08-2010 07:53 AM

I'm using the standard wired dhcp setup that netconfig makes. No proxy, nothing different between the two versions (32/64) - just default Slackware installations. No modifications.

If a partial IPv6 system is being enabled, then the 64 bit Slackware installation did it.
How can I tell?

Toods 09-08-2010 08:07 AM

Quote:

Originally Posted by wildwizard (Post 4091231)
FYI A common problem is a partially IPv6 enabled system but DNS is only available via IPv4 this results in a failed IPv6 DNS look-up before IPv4 is tried (successfully) on the second attempt.

In Firefox, make sure this preference:

network.dns.disableIPv6

is set to 'true'.

Bill.

Richard Cranium 09-08-2010 11:23 AM

Quote:

Originally Posted by staus (Post 4091358)
I'm using the standard wired dhcp setup that netconfig makes. No proxy, nothing different between the two versions (32/64) - just default Slackware installations. No modifications.

Are you using DHCP to get your machine's address? (I would guess not, since you don't have anything in /etc/dhcpc.)

Petri Kaukasoina 09-08-2010 12:27 PM

Quote:

Originally Posted by staus (Post 4091358)
If a partial IPv6 system is being enabled, then the 64 bit Slackware installation did it.

This might help. As root:

Code:

echo "blacklist ipv6" > /etc/modprobe.d/blacklist-ipv6.conf

staus 09-08-2010 08:42 PM

After blacklisting ipv6, the internet is fun again. There must be a fundamental problem with IPv6 and 64 bit kernels, however. I'm hope it's resolved before we all need to use version 6.

Sorry, I just noticed the blatant misspelling of DNS not DSN.


All times are GMT -5. The time now is 04:21 PM.