Intermittent "Server Not Found" Problem
Hi All,
Long time Linux user here and using Slack for the last 2-3 years. I have a pesky little problem that I can't seem to figure out - While surfing the internet; Firefox has intermittent problems finding webpages - I get the "Server Not Found" display. This particular PC is dual boot - Slack or WinXP. I do not have the problem in XP. I do, however, have the problem with both Slack 11 and Slack 12 versions. I'm currently running Slack 11 (huge26.s) with Dropline 2.16.1. It occurs the same regardless of whether or not Dropline is installed. I have my ISP's name servers listed in resolv.conf. Ifconfig eth0 seems to reveal no obvious problems and I am able to ping other IP's even when the problem occurs. It seems to be totally intermittent. Other than DLG; the only other potentially-related change I've made is disabling ipv6 (alias net-pf-10 off in modprobe.conf and blacklist ipv6 in blacklist). The PC is connected to a Linksys WRT54GS Broadband Router. I'm using a static IP address for the PC. Can anyone point me in the right direction as to troubleshooting this ? Thanks, Mark |
Hi,
If it is an ISP DNS problem you could include a third level DNS in your '/etc/resolv.conf' file. Code:
Verizon has; BTW, show us the '/etc/resolv.conf' file. |
Thanks for the reply, Onebuck:
/etc/resolv.conf: nameserver 192.168.1.1 #router nameserver 69.145.248.50 nameserver 69.145.232.4 nameserver 69.145.248.4 search hosts.bc1.bresnan.net |
You might want to remove the router from the list (I don't think Linksys routers -- at least the ones I have -- are DNS servers).
You might also want to try: Code:
search com |
Quote:
Most routers do have DNS tables. |
Quote:
|
Never-the-less, I would try the solution of removing the router's ip from resolv.conf. I had a similar problem and that's what worked for me. (If this does work, you'll need to configure so the router doesn't reset your resolv.conf every time you connect).
Brian |
Quote:
If the router is used for dhcp then the table would be presented to the request. The '/etc/resolv.conf' would not be updated by the router, the information is passed because of the query for IP from dhcp server. The dhcp allows a host(s) on a TCP/IP network to request and be assigned a IP and to get information about the network they are attached too. You can usually disable the router DNS table but you would have to present the DNS to the user requesting an IP somehow. |
In my case, the router was configured with two dns servers. When connecting to the router with dhcp, the router passed back it's own address and one of the dns servers (that's what ended up in resolv.conf). This led to intermittent "server not found" errors in firefox. Manually replacing the resolv.conf with the two "correct" dns servers and removing the ip of the router resolved (no pun intended) the problem. I had to create a script that automatically replaced resolv.conf when connected to that particular ssid.
Brian |
Yesterday (Monday) I added "nameserver 4.2.2.4" to the top of and deleted the router entry from /etc/resolv.conf. The rest of the file is the same. That appears to have solved the problem - I have not had one problem with finding a webpage since. Many thanks to everyone's replies.
Mark |
Quote:
Then it looks like the router or the ISP DNS was the problem. Move the '4.2.2.4' down one tier in the'/etc/resolv.conf' file to see if the problem was the router. The reason to do this is propagation. Your ISP DNS should be faster than the Verizon DNS. If you can tolerate the delay then leave it as you have it now. |
Hi,
I had a few probs (not very often) either inaccess of a www page or extremely slow loading of a www page. This is Slackware 12.0 with its generic-smp kernel. /etc/resolv.conf had search localdomain nameserver 192.168.1.254 That's (nameserver line) my at&t 2wire dsl home gateway (it's a combo dsl modem, router, firewall all in one) I've a static IP on this Slack box so resolv.conf doesn't get modified again once I've changed it. My /etc/resolv.conf now has search localdomain nameserver 00.00.000.1 nameserver 00.00.000.2 nameserver 192.168.1.254 Above I changed the first two to fictitious but in my real resolv.conf is my ISP's nameservers That sped things up some for me (now I cut direct to ISP nameservers rather than having 2wire relay the info like when 2wire was the only nameserver). I'd been watching this thread also somehow the other evening I ended up at a www site of the Linux Network Administrator's Guide on some of its pages under the heading of "resolver" At there, I discovered that /etc/host.conf has an order in which to query multiple sources so as to resolve (resolve a name into an IP address). al@AB60R:~$ cat /etc/host.conf order bind, hosts multi on Oop, I thought my hosts file was empty until now. my hosts file only has 127.0.0.1 localhost 192.168.1.10 AB60R.localdomain AB60R I wonder if that is a problem above in host.conf where I swapped the order of hosts and bind. Works great on the www. Haven't tried to network with any LAN boxes yet. I suppose it might go to my ISP's name servers looking to resolve for a box on my LAN (wouldn't resolve). Anyways I use IP's, I don't use names on my LAN -- so maybe I'm ok with it as it is? If not, I'll fix the order in host.conf Comments, suggestions, similar experiences? -- Alan. |
Hi,
You say that you have other host(s) on your LAN. Why don't you have them in your '/etc/hosts' file? The order within the '/etc/hosts.conf' file is just that; Quote:
|
All times are GMT -5. The time now is 06:41 AM. |