-
DNS Resolving Problems
I currently run Debian Linux and recently I used the apt-get update and apt-get upgrade option to secure my system. Now don't get me wrong this may or may not have had anything to do with it but around the same time frame something weird has been happening. I run a popular game hosting company and all my servers don't connect. I also can't lynx because it can't find the hostname, I can wget because it says the following:
server:/home/rouier/hlds_l# wget www.google.com/test.zip
--09:28:55-- http://www.google.com/test.zip
=> `test.zip'
Resolving www.google.com... failed: Host not found.
Obviously I made it up but it can't even resolve google.com so that proves my point. But here's the kicker-- People can still FTP to me and my webdaemon still works so you can still http to it! (www.NoLagHere.com). I can also ssh to it still. Help please. Seems like something about outgoing DNS.
-
i dont know how to help you as i dont use debian. but thought i would let you know you only need to post your question once not 4 times. thanks
-
If your boxes have static IP addresses, then open /etc/resolv.conf.
ensure you have 2 lines like this in the file:
Code:
nameserver x.x.x.x
nameserver x.x.x.x
x.x.x.x should be the primary and secondary addresses of your DNS server, or the DNS server of your upstream ISP.
Jason
-
and if you have dynamic nameservers then you can also simply turn off the aotu updating of the nameserver ip's so that you may just place your own name server 'ip's' in /etc/resolv.conf :wink: