Recent Server Issue

Writen By Tyler Ingram on Mar 25, 2007

Well it seems that sometime during the night one of the machines that serves as a DNS machine for this server somehow went all wonky and due to one of the scripts, mainly my Technorati Display Rank script, one of the functions for PHP failed miserable because it could not resolve the domain name properly.

I will have to definitely look at fixing the script or at least suppressing the errors so that the script will continue and not disrupt your viewing pleasure.

How did I fix it though?

Well the server is running on Ubuntu and after a quick look at the /etc/networks/interfaces that seemed all fine and dandy but a quick search on Google took me to the Ubuntu forums where someone was having something similar and one of the replies was to check the /etc/resolv.conf file. I did and noticed that it had an entry for the buggered DNS server. I entered 4.2.2.1 and 4.2.2.2 as the DNS machines (they never ever seem to go down), restarted the network service and voila! Everything works again.

Posted in: Uncategorized | 553 views

 6 Comments