Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

In Progress [CPANEL-20864] Addon domain DNS Zone not removed

Discussion in 'General Discussion' started by rinkleton, May 31, 2018.

  1. rinkleton

    rinkleton Well-Known Member

    Joined:
    Jul 16, 2015
    Messages:
    93
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Cleveland
    cPanel Access Level:
    Root Administrator
    This issue reported on SOLVED - [CPANEL-20535] Adding MX records to subdomains is fixed in 70.0.47.

    However there are still issues when entering a domain that is a subdomain of the primary domain as an addon in the domain field.
    Example:
    Primary Domain: example.com
    Addon Domain: subdom.example.com
    Addon Subdomain: sub-subdom.example.com
    Addon Directory: any

    If you terminate the account it doesn't clean up the subdom.example.com DNS zone. This presents issues trying to use that domain in other ways. Removing the Addon, does properly remove the zone.
     
    #1 rinkleton, May 31, 2018
    Last edited by a moderator: May 31, 2018
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @rinkleton,

    I've moved this post to a new thread since it's associated to a new issue.

    Can you let me know the full steps you are taking to reproduce this issue? For instance, if you try to create an addon domain name that's a subdomain of the primary domain name of the account, it should present you with the following error message:

    Code:
    You cannot park a domain on top of itself. 
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rinkleton

    rinkleton Well-Known Member

    Joined:
    Jul 16, 2015
    Messages:
    93
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Cleveland
    cPanel Access Level:
    Root Administrator
    I don't get that error. I vaguely remember getting it in the past, but I feel like there was a need for it so cpanel made changes to allow for it. But I could be confusing that with trying to park a subdomain of the root account on an account. I know there is a setting for this.

    To reproduce:
    - Create an account with primary domain: example.com

    - Create an addon domain with
    domain: subdom.example.com
    subdomain: sub-subdom
    directory: public_html

    - Terminate account

    This should leave a DNS zone for subdom.example.com still existing.

    Being able to create an addon domain on itself is pretty important and powerful. It solves a lot of issues relating to sharing of VHOSTs and DNS Zones. As far as I can tell it works perfectly other than leaving the DNS zone after termination.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @rinkleton,

    I've reproduced the issue and opened internal case CPANEL-20864 to report this behavior. I'll monitor this case and update this thread with more information as it becomes available.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    rinkleton likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice