Introduction
Sometimes you need to add a missing DNS zone file. You can use the adddns script to accomplish this goal.
Procedure
An example of the adddns script would look like this:
/scripts/adddns --domain domain.tld --ip 0.0.0.0 --owner $user
If the zone already exists in the configuration, but the zone file itself is missing, you may need to add the --overwrite flag listed below.
Control Flags:
--domain (required)
Domain for zone creation
--ip (optional)
IP for zone creation. Defaults to server's main shared IP
--reseller (optional)
Set reseller (zone administrator) to utilize name server IPs assigned via WHM to the reseller.
Defaults to using main server name server IPs
--owner (optional)
Account who will own the domain
Defaults to root
--overwrite (optional)
Allow overwriting of existing zones
Comments
0 comments
Article is closed for comments.