Not sure. Is this a DNS issue?
Not sure. Is this a DNS issue?
Over the last couple of days I will be browsing around on the internet just fine and then all of the sudden firefox appears to have a problem with some sites where it shows "looking up..." and will sit there for quite a while before the page finally loads (it does not happen for all sites). Attempting to do a traceroute I notice after about 10 entries it shows: Code:
# traceroute tvguide.com so I assume the dns lookup is working okay and the problem might be an issue with a server in between me and the site in question. Thinking that maybe if I flush the dns cache it might help... I researched how to do that in slackware and came up with these commands: Code:
# rndc flush Code:
rndc: connect failed: 127.0.0.1#953: connection refused permissions problem with the /var/named folder or port 53/953 are being blocked in the firewall. Code:
# ls -al /var/named/ Code:
# cat /etc/resolv.conf Code:
# grep -v '#' /etc/rc.d/rc.inet1.conf After the machine has been online for several hours the problem apppears to come back. I tend to notice the issue when I check tvguide.com. It happens on other sites as well but not all sites. Questions: 1. Is this a dns issue or an issue between my machine and the sites in question? 2. Is there anything else I can try to help isolate the issue? 3. Am I attempting to flush the dns cache correctly? 3a. If yes, what else could be causing the error message? Anyone have any ideas? Thanks in advance. Cheers Either way it is not that big a deal just more of a nuisance. P.S. Not sure it's related but I was getting the following error message shortly before posting this message: Code:
502 Bad Gateway I came across an old thread: http://www.linuxquestions.org/questi...errror-229950/ However that was for Mandrake and Slackware appears to be configured differently. The thread mentions to run rndc-confgen to create the configuration files. When I do that what gets generated has a key and options entry. I have /etc/rndc.key which already has a key entry. So I am still not quite sure exactly how to flush the dns cache or if it's even possible. Edit 2: Came across another old thread http://www.linuxquestions.org/questi...10-2-a-624750/ This one for Slackware 10.2 which mentions: Quote:
there is no cache for me to flush unless I set up bind locally. So I will mark this thread as solved. However, if anyone has any ideas on how to isolate the problem with firefox and the "looking up..." message please chime in. Although to me it appears the problem is outside my machine but I am not positive. Cheers |
Even though is marked as solved, it really isn't, is it?
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
On a slightly different front, you might find Chrome/Chromium doesn't have this problem to the same extent, because it has a 'pre-fetch DNS lookups for linked pages' option (not sure of the exact name - something like 'pre-fetch DNS'). I don't think that I'd yet want to use Chrome/Chromium full time, but then, I use Opera... |
If I may add to @salasi's post (good info, that) you may want to change your /etc/resolv.conf to
Code:
search com Code:
search com Code:
ping -c 5 8.8.8.8 Just for grins, my /etc/rc.inet1.conf looks like this Code:
# Config information for eth0: For what it's worth. |
Quote:
Quote:
Code:
$ dig tvguide.com Quote:
With ping I get 100% packet loss regardless if the problem is occuring. It is almost as if their server does not respond to pings. When doing a traceroute after the first 10 entries I get no response (entries 11-30). With dig I usually get a response back in less than 30 msec. I am not familiar with any dns benchmarking tools. Will have to research those. Quote:
Quote:
Quote:
Quote:
I do not have any options in the router to change the dns settings. It is set to use DHCP. It does have DDNS settings which allows me to acces my network using domain names instead of ip addresses but that option is disabled. Quote:
Quote:
Quote:
Thanks for the feedback salasi and tronayne. Cheers On a side note: The issue has not occurred yet today. It's now 8pm and the machine has been online since 9am. |
All times are GMT -5. The time now is 06:41 PM. |