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!

Change DNS zone ownership

Discussion in 'Bind/DNS/Nameserver' started by pabloafain, Sep 27, 2015.

  1. pabloafain

    pabloafain Member

    Joined:
    Nov 20, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi!

    Is there any way to change the owner of a DNS zone? I have two zones manually created and asigned to "root" that I want to change to a cPanel account user.

    Thanks in advance,

    Pablo
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Pablo,

    You will need to go into SSH and modify the file:

    /var/cpanel/users/CPUSER
    Replace CPUSER with the cPanel user you want to add the DNS Zone to.

    Example:

    Code:
    BACKUP=1
    BWLIMIT=78643200000
    CONTACTEMAIL=email@domain.com
    CONTACTEMAIL2=
    DEMO=0
    DNS=domain1.com
    DNS1=domain2.com
    DNS2=replaceme.com
    FEATURELIST=default
    HASCGI=1
    HASDKIM=1
    
    DNS2=replaceme.com
    You would add that line with whatever the domain is. Once done, make sure to run this:
    Code:
    /usr/local/cpanel/scripts/updateuserdomains
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    pabloafain likes this.
  3. pabloafain

    pabloafain Member

    Joined:
    Nov 20, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks! It worked.
     
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Awesome :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    I'm happy to see the solution was helpful. Thank you for updating this thread with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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