Question
How do you set the ownership of an unowned DNS Zone?
Answer
Note: There is currently no functionality built into the cPanel & WHM product that allows you to assign ownership of an unowned DNS zone. As such, the following procedure is for informational purposes only.
- Log in to the server via SSH or WHM's Terminal as the
rootuser - Back up the account data
-
Open
/var/cpanel/users/$cpuserin your preferred text editor.Note: "$cpuser" must be replaced with the cPanel username to which the domain will be assigned.
- Locate the
DNS#lines (i.e., "DNS1," "DNS2," etc.). -
Add a new
DNS#line below the last one.CONFIG_TEXT: DNS#=domain.tld
Note: "#" must replaced with a number one greater than the last DNS# line and that "domain.tld" must be replaced with the domain to add to the account.
- Save the changes and exit the text editor
-
Run the
updateuserdomainsscript:# /usr/local/cpanel/scripts/updateuserdomains --force
Comments
0 comments
Article is closed for comments.