Wrong nameservers for addon and parked domains

Noldar

Well-Known Member
Jun 26, 2002
64
0
156
Ponchatoula, LA
I've noticed that when a customer of a reseller creates an Addon domain or a Parked domain Cpanel uses the nameservers listed for the server when it creates the DNS zone instead of the nameservers listed for the reseller.

Has anyone else seen this? Do I have something configured wrong or is this a bug?

Thanks,
Richard
 

Esr Tek

Active Member
Aug 5, 2002
44
0
156
Seen it happen a few times... WHM takes the nameservers for master account and resellers have to go in and edit each DNS zone.

In fact resellers should make it a point to edit the DNS zone per domain anytime custom nameservers are involved as the root.domainname.com in it will need to be edited to thier url
(ie.. ur domain is 123webhost. it should read root.123webhost.com.) (make sure to get the . at end in it)
by default this will read root.yourhost.com.

We are hopeing Cpanel ppl fix this in a future release ;)
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
I corrected this problem by making sure the Reseller NS have A records. Either through the Reseller Center or manually editting their DNS zone.
 

Noldar

Well-Known Member
Jun 26, 2002
64
0
156
Ponchatoula, LA
Originally posted by Website Rob
I corrected this problem by making sure the Reseller NS have A records. Either through the Reseller Center or manually editting their DNS zone.
I checked and there are A records for the resellers ns1 and ns2. I would assume they would have to exist or domains pointed at the reseller's nameservers wouldn't resolve.
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
No, they will still resolve but be lame.

Have you also checked in /etc/nameserverips to verify NS and that they match what shows in the Reseller DNS zone? Something else I didn't mention about manually editting their DNS zone is to make sure SOA shows "their" NS1 NS.

Usually, because of the various ways Reseller accounts are setup, the SOA will be a Server Shared IP address and must be manually changed.
 

Noldar

Well-Known Member
Jun 26, 2002
64
0
156
Ponchatoula, LA
The SOA for the reseller's domain is the ns1 nameserver that is assigned to that reseller and /etc/nameserverips has the correct ip=nameserver entry.

Do you know which script is called to create the DNS zone when an addon domain or parked domain is created? Maybe I can see something in there that might give me a clue.

Thanks,
Richard