WHM Initial Setup - Hostname and Nameservers zone creation

sonijay

Member
PartnerNOC
Jan 17, 2013
11
0
1
cPanel Access Level
Root Administrator
Hi,

I've got a doubt and haven't found any solution for it. I've read several cPanel forum threads as well.

I will explain this with an example. During WHM Initial Setup, I mentioned the details as:
Hostname: vps.myserver.com (Step 2)
Add "A Entries" for all Nameservers: ns1.myserver.com and ns2.myserver.com with single IP bound to my server. (Step 4)

Upon completion of this configuration, I checked the "DNS Functions" and found that WHM has created zones for -
-vps.myserver.com
-ns1.myserver.com
-ns2.myserver.com

Acc. to me, the zone should been added only for the primary domain name of these FQDN (sub-domains) and these hosts should have gone as 'A records' in that dns zone. In this case, it should have added the zone only for myserver.com. Please correct me, if I'm wrong. Thanks.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,894
464
438
Finland
cPanel Access Level
Root Administrator
If there was the zone file for the domain myserver.com when you added the A records in WHM, they should have been added to that zone file. But because I always add the records manually I am not 100% sure of that...

If there was not the zone file for the domain myserver.com then what you explained is exactly what WHM does.
 

sonijay

Member
PartnerNOC
Jan 17, 2013
11
0
1
cPanel Access Level
Root Administrator
Hey Infopro, I didn't get you?

Should WHM create a zone only for the Primary Domain Name? and add records for the sub-domain within that zone. is this correct?
-OR-
It creates zones of the complete Hostnames (Server Hostname and Nameservers), even if its a sub-domain? That's correct?

Thanks