I just installed Debain, although I've had the same problem with every other OS I've installed. The only ones that I have not had trouble with are the CentOS varients that already have something installed on them. So the only OS's I've installed that work correctly are the CentOS with VNC GUI and CentOS with LXadmin/Kloxo. I have tried to read into it and some people say it has something with my name servers not being correctly setup or something. Does anyone know how to get everything working? I can ping IP addresses fine, but anytime I try to do anything with a domain name it says something similar to this:
Everything works fine if I use an IP Address. (I pinged Google's IP address)
root@ns1:~# ping google.com
ping: unknown host google.com
root@ns1:~# ping www.google.com
ping: unknown host www.google.com
I can't use the Package Manager because it can't resolve any of the URL's for the mirrors.
root@ns1:~# ping 126.96.36.199
PING 188.8.131.52 (184.108.40.206) 56(84) bytes of data.
64 bytes from 220.127.116.11: icmp_req=1 ttl=54 time=50.1 ms
64 bytes from 18.104.22.168: icmp_req=2 ttl=54 time=49.9 ms
64 bytes from 22.214.171.124: icmp_req=3 ttl=54 time=50.0 ms
64 bytes from 126.96.36.199: icmp_req=4 ttl=54 time=50.1 ms
64 bytes from 188.8.131.52: icmp_req=5 ttl=54 time=50.0 ms
--- 184.108.40.206 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 49.975/50.090/50.173/0.073 ms
---------- Post added at 01:58 PM ---------- Previous post was at 01:02 PM ----------
Okay, so as it turns out since I had a blank /etc/resolv.conf file the OS was unable to resolve domains. I just added two name servers and everything works correctly now!
For future reference, I found the nameservers in the resolv.conf file of one of the working installations.