Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have an intermittent problem with 2 BIND9 servers I have running on my network. The problem I have is at random times of the day, when I try to lookup domains such as yahoo.com, hotmail.com, etc, I am unable to resolve the domains with the error message "DNS request timed out" appearing. This happens for a few minutes and then BIND starts resolving the yahoo.com and hotmail.com domains as normal.
When this issue occurs, I am still able to lookup internal host names of my servers. Skype does not disconnect and I have checked the gateway status to ensure that our Internet connection hasn't dropped. I also ping the network card of the BIND server, and I do get some packet loss (I am on a wireless network and I am swapping out the switches on the network over the weekend to rule out a faulty switch).
Does anyone have any suggestions as to what could be going wrong? I can post my named.conf settings if needs be.
Thanks for the suggestions Fur, I'll be giving them a try today as no doubt I'll be experiencing some BIND problems throughout the course of the day.
Just to keep you updated, I replaced our old switch which networked the whole office, as it was only a little 16 port switch and all ports were maxed out, so I've replaced it with a newer, 24 port model, and a newer model 16 port switch. Also, have replaced the network cable to the BIND servers, so today will be a good chance to see if it is a connection issue or a BIND configuration issue...
Client ===> Software
Running Windows Vista Ultimate
Network config - DHCP
Network connection set to DHCP for IP and DNS, therefore Default Gateway gets set to 192.168.0.1
and DNS gets set to 192.168.0.115
The problem has changed slightly, in that my Skype now logs itself out. When the problem occurs, I am no longer able to 'nslookup' any external domain names, for example 'yahoo.com', and I am also unable to ping any external IP addresses, for example '22.214.171.124' as provided above by Fur.
Oddly, when I connect via SSH to the BIND server and perform the same diagnostics as above, I am able to ping '126.96.36.199' without any problems and am able to 'nslookup' domains such as 'yahoo.com'. The way the BIND server is configured (as mentioned above), when pinging or performing 'nslookup', the requests are routed straight to the gateway (modem), i.e. does not go through the DNS server.
What this proves is that my Internet connection seems to be ok, as the DNS server is able to ping and nslookup directly through the gateway, but for some reason my machine is not able to do this via the DNS server.
Any ideas what I could be missing?
Could there be an issue with the DHCP?
If my PC is configured via DHCP, and the DHCP and BIND service runs on the same server, could there be an issue with the way DHCP/BIND is configured?
Thanks for the reply. I am currently on a wired connection now, as following my switch upgrades last weekend I now have a network cable at my desk to use instead of wireless. With the new switches in place I now get no packet loss when pinging the BIND server's netword card.