Click to See Complete Forum and Search --> : Slow DNS, but only a few sites?
mooreted
01-05-2004, 09:24 PM
I have Charter Pipeline using DHCP and am using the new 2.6.0 Kernel. On a few of sites DNS resolution is really slow. One site takes 30 seconds to resolve a hostname, other sites are immediate. I can't figure out what's going on or how to fix it. Any suggestions?
Thanks,
Ted.
ph34r
01-05-2004, 09:40 PM
Get an old machine - I was using a 486sx33 laptop with 12mb ram running Slack 9.0 - and use it as a cache-only DNS server. Also, if a site takes that long to load, it may be that the server you are connecting to (probably an image from an ad server or something), not DNS lookups. Using your /etc/hosts file, or a named that will read a /etc/hosts file, you can block those problem ad servers, etc. by pointing to a local web server for a quick 404 error.
mooreted
01-07-2004, 01:46 AM
My bank is etrade.com. When I try to connect to that site I see "resolving host www.etrade.com" for 30 seconds. It is true that ad.doubleclick.net keeps messing with me, but I see "resolving host..." a lot on ordinary urls. It didn't do this before installing the 2.6.0 kernel so I think it's a problem with something I installed while installing the kernel. Here is everything I installed to get the new kernel installed:
bootloader-utils-1.6-4mdk.i586.rpm
kernel-2.6.0.1mdk-1-1mdk.i586.rpm
kernel-2.6.0.1mdk-1-1mdk.src.rpm
libsysfs0-0.3.0-4mdk.i586.rpm
mkinitrd-3.4.43-10mdk.i586.rpm
module-init-tools-0.9.15-0.pre4.1mdk.i586.rpm
modutils-2.4.25-2mdk.i586.rpm
procps-3.1.14-1mdk.i586.rpm
sysfsutils-0.3.0-4mdk.i586.rpm
udev-005-1.i386.rpm
udev-009-1mdk.i586.rpm
I will look into how to block sites by using the host file. I had no idea you could do that. That would be very cool.
Thanks,
Ted.