SOLVED Stop extra DNS records being created for addon domains

Aidan Brookes

Member
Sep 4, 2018
5
1
1
United Kingdom
cPanel Access Level
Reseller Owner
Hi,

I need to add domains to my cPanel account with the main domain example.com. To do this I create an addon domain example2.com as a subdomain of example.com e.g. example2.example.com.

When I check example2.com in the Zone editor it has created multiple DNS records that I don't want e.g. mail.example2.com, cpanel.example2.com and ftp.example2.com.

Is there any way that I can prevent these extra DNS records being created when adding addon domains?

Regards,
Aidan Brookes
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,262
313
Houston

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,262
313
Houston
Hi @brt

If you don't want them on specific domains you'd have to manually remove them. There's no way to enable proxysubdomains for specific domains. To remove them you'd just run:

Code:
/scripts/proxydomains remove --domain=sub.domain.tld