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:
# traceroute tvguide.com
traceroute to tvguide.com (188.8.131.52), 30 hops max, 60 byte packets
1 192.168.1.1 (192.168.1.1) 4.367 ms 4.676 ms 4.919 ms
11 * * *
30 * * *
The first entry does indicate the ip address for the site in question
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:
# rndc flush
# rndc status
rndc: connect failed: 127.0.0.1#953: connection refused
Researching the error message I came across messages that indicate the problem could be a
permissions problem with the /var/named folder or port 53/953 are being blocked in the firewall.
# ls -al /var/named/
drwxr-xr-x 3 root root 4096 Jun 12 20:03 ./
drwxr-xr-x 17 root root 4096 May 25 18:19 ../
drwxr-xr-x 2 root root 4096 Mar 23 21:46 caching-example/
The firewall I'm using was generated using Easy Firewall Generator at http://connie.slackware.com/~alien/efg/
# cat /etc/resolv.conf
Where nnn.nnn.nnn.nnn = isp name servers (same as those listed in the router)
# grep -v '#' /etc/rc.d/rc.inet1.conf
Rebooting the system appears to get things working again for a while.
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.
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.
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:
502 Bad Gateway
I came across an old thread:
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.
Came across another old thread http://www.linuxquestions.org/questi...10-2-a-624750/
This one for Slackware 10.2 which mentions:
Slackware has nothing in the way of a DNS cache (unless you set up BIND locally to do that.
So if Slackware -current is still set up this way it looks like
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.