Problems with DNS setup.

Artashes

Administrator
Staff member
I am getting this annoying error by email almost daily on a VPS server purchased for another company:

Subject : [ipcheck] Problems with dns setup on server.domainname.com

IMPORTANT: Do not ignore this email.
The hostname (server.domainname.com) resolves to . It should resolve to
64.79.215.25. Please be sure to correct /etc/hosts as well as the 'A' entry in
zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if you
believe everything else is correct.

You may be able to automaticly correct this problem by using the ' Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager
For the same reason the domain name itself doesn't work - only if you type in the IP address of the site does. Unfortunately I cannot release the domain name for confidential purposes.

Fact is, I am loggin in the root panel, but getting lost. If anyone knows what this can be about, if there is any kind of easy to follow tutorial anywhere that I can follow to make that "A entry" effective, I'd appreciate that. Because of this, the server fails almost daily and restarts itself causing the testing process in the company to restart as well.

Thank you!
 
Have you checked the DNS settings in WHM Art?
If the account was transferred via cPanel/whm there is a good chance the DNS settings are still from the host the domain was transferred from.
You can edit the DNS zone in WHM to reflect the new server.
 
Is the DNS for that domain being run off that VPS? If not, you will need to add an A-entry for server.domainname.com wherever the DNS is being hosted. If it is, you should just be able to go to "Add an A Entry for your Hostname" under "DNS Functions" in WHM and then click on "Add the Entry".
 
Zac, this is exactly the problem.
But what is the "A Entry"? And what should I add precisely? Is it an IP address? Some special line of code? A domain name? This is the most confusing part for me. :(
 
An "A Entry" is a line in a DNS zone file which points a hostname to an IP address. This allows you to point www.dominame.com to IP 1.2.3.4 for example.

cPanel is giving you the error because it is doing a lookup for server.domainname.com and it isn't finding an IP.

Where is the DNS for that domain being hosted right now? If you have the domain set up to use nameservers on the VPS, the "Add an A Entry for your Hostname" in WHM should fix it. If you are using nameservers on a different server/host/etc, or using your registrar's nameservers, you will need to set up an A entry there.
 
Well, its a late reply but anyone who needs help may be interested in this

Go to your WHm by logging in as root.
Now on the left panel, you will see WHM setup, click and scroll down for the values of nameservers. Alogn with the text area, you will find a button for"Add an A entry for this hostname". CLick on it. Now everything will be done automatically. Reapeat the process for all the nameserver values you put in.

Now, again on the left panel on WHM root, scroll down to DNS Functions, you will see "Add an A entry for hostname". Click on it and its done.

Now the resolver part-
In the root WHM, you may see Network Configuration Part, now open the Resolver Configuration and enter the Resolver IPs provided to you by the datacenter.
Please do REMEMBER that the resolver Ips are DIFFERENT than your server's IP addresses. Wrong entry in any of the values may not resolve your site in DNS.

If you have any questions or need ny help, please do ask...:)
 
While ago I had the same problem I think is related with the http.conf you need to edit it I think. Just go to Cpanel website and go to the forums, maybe there you can find your answer.
 
httpd.conf has no contribution to the problem

The main problem is about the resolver IPs which can be given by the vendor for free(as you need them to resolve the server to be accessible through internet)
 
Back
Top