4th
JAN

I can’t resolve hostnames on my VPS Temporary failure in name resolution

Posted by admin under Common Issues

If you get errors when you’re trying to download something on your VPS such as;

Temporary failure in name resolution

Or;

;; connection timed out; no servers could be reached

Issue the following command logged in as root

echo nameserver 208.110.88.10 > /etc/resolv.conf

Additionally you can add more DNS servers, for example OpenDNS’s servers;

echo nameserver 208.67.222.222 >> /etc/resolv.conf

echo nameserver 208.67.220.220 >> /etc/resolv.conf

If the error still persists, check your firewall or flush the iptables rules by issuing

iptables -F

Or simply contact us and we’ll have a look at it ASAP.