I hope your day is going good. I've been trying to fix a problem I had all week. I receive daily email notification that "example.mydomainname.com" does not resolve to any IP. However, when in WHM, it already contains Server Main Ip: 220.127.116.11. I've tried a few solutions from the web, but to no avail:
IMPORTANT: Do not ignore this email.
The hostname (example.mydomainname.com) resolves to . It should resolve to 18.104.22.168. 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
1) Within WHM, I have the following:
-Add an A entry for your hostname (I only have one listed)
Server Main Ip: 22.214.171.124
Primary Nameserver: ns1.mydomainname.com (A entry = 126.96.36.199)
Secondary Nameserver: ns2.mydomainname.com (A entry = 188.8.131.52)
-Additional IP my webhost gave me to use:
184.108.40.206 (used in primary name server)
220.127.116.11 (used in secondary name server)
-Current DNS Zone listing:
example.com (my website URL that is currently working)
example.mydomainname.com (hostname I made myself that contains the server main IP)
ns1.mydomainname.com (A entry = 18.104.22.168)
ns2.mydomainname.com (A entry = 22.214.171.124)
2) My edit "edit /etc/resolv.conf" contains the following:
Issue: I receive daily email notification that "example.mydomainname.com" does not resolve to any IP. However, when in WHM, it already contains Server Main Ip: 126.96.36.199. Does anyone know what I am doing wrong?
Thanks a million in advance,
PS: I am not able to register my two nameserver at GoDaddy.com since it does not recognize my host name "example.mydomainname.com".