Strange Delay when Resolving Domain Names ALMOST FIXED!
My work computer is connected via LAN cable directly to a router --> bridge --> cable modem setup on our small network. When I boot from Winblows, everything works as expected. However, on this Ubuntu installation, I'm getting a strange 3-10 second delay whenever I access an Internet resource, such as linuxquestions.org in my browser, or searching a repository, or pinging an external address. Now here's three weird points:
What am I missing? EDIT: I discovered the root of the problem. It isn't in the accessing of the resources, but rather the resolution of the domain names. If I use my browser and go to google.com, there's about a 10 second delay. If I type in one of their IPs directly, it resolves instantly. So the problem is that Ubuntu is having trouble resolving domain names to IP addresses in a timely manner. I know how to fix this problem in Windows, but not Linux. How is this done? |
I have seen some systems send ident probes out on tcp port 135 before connecting to services.. Coz they're never answered, it creates a 3-5 sec delay..
Make an iptables LOG rule to check,eg iptables -t nat -I POSTROUTING -o eth0 -p tcp --dport 135 -j LOG --log-prefix "ident " If there are, make a rule to reject them, eg iptables -I OUTPUT -p tcp --dport 135 -j REJECT --reject-with tcp-reset |
Quote:
|
Not to be a thread-bumper, but does anyone have any ideas as to what to try next?
|
Only because this thread has been placed rather high on google when using the terms ubuntu domain names delay, I thought I'd take the time to link to the solution to this problem, in case someone else faces this issue in the future:
Code:
sudo gedit /etc/modprobe.d/bad_list Code:
# Added to disable IPV6 |
All times are GMT -5. The time now is 11:21 AM. |