Sunday, 19 May 2013

Identifying a DNS recolution problem

Identifying a DNS recolution problem

I am running a dedicated CentOS server at one of the major discount providers. Since 2 days, the server has severe intermittent issues resolving domain names. It's working for some minutes, then it stops again for some time. For example, when any part of the services running on the server, be it PHP, Java, tries to connect to another domain (even the server itself), the connection times out as "Server not found" or other similar errors.
The CentOS install is pretty much vanilla and I never had issues with this for more than 12 years running a server like this. So I assumed that some DNS service at the provider was to blame. I contacted the text-chat of the provider and the support representative told me that it was likely the "named" service on my server to blame and asked me to check if it was running. I checked (I never interacted with the service and am not familiar with it) and it was not running. I do not know if it is supposed to be running. The support person also told me that I should expect errors in my /var/log/messages, but there are none.
I started the named service and for a while things seemed to be OK again, but today (not sure when) the issue started again, the named service up and running. I am confused if the DNS resolution is something that is supposed to be done on the server or through the services run by the hosting company.
I would need some pointers to understand the issue and possible reasons for it so I can talk with the hoster about the issue and pinpoint where it might be coming from.

No comments:

Post a Comment