The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change DNS zone ownership

Discussion in 'Bind / DNS / Nameserver Issues' 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:
    275
    Likes Received:
    31
    Trophy Points:
    28
    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
     
    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:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Awesome :)
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page