DNS Issue- Nameserver Issue

Posted by Master-Man on Server Fault See other posts from Server Fault or by Master-Man
Published on 2012-09-09T07:50:26Z Indexed on 2012/09/09 9:39 UTC
Read the original article Hit count: 263

Filed under:
|
|
|
|

I setup new server on centos 5.3 and configure dns and hostnam using WHM.

I also register my new nameservers with my domain registrar with ns1.example.com and ns2.example.com.

But i am unable to ping hostname and NS. ping pc2.example.com or ping ns1.example.com

I received the below email from server.

IMPORTANT: Do not ignore this email.

Your hostname (pc2.example.com) could not be resolved to an IP
address. This means that /etc/hosts is not set up correctly, and/or
there is no dns entry for pc2.example.com. Please be sure that the
contents of /etc/hosts are configured correctly, and also that
there is a correct 'A' entry for the domain in the zone file.

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

You may be able to automatically correct this problem by using the
'Add an A entry for your hostname' option under 'Dns Functions' in
your Web Host Manager.

When I issue the command

root@pc[~]# host pc2.example.com

I receive the below error that

Host pc2.example.com not found: 3(NXDOMAIN)

I added A entries for hostname and Nameservers but nothing replies.

Its almost more than 72 hours for setting & registering nameservers and dns configurations.

thanks,

© Server Fault or respective owner

Related posts about apache2

Related posts about centos