Wiki

Register Domain Zone

Description

Register a new domain zone. Works with reverse dns zones too.


Parameters

Name Data Type Status Description
auth-id or sub-auth-id or sub-auth-user Integer Required Authentication parameter
auth-password String Required Authentication parameter
domain-name String Required Domain name or reverse zone name that you want to Register
zone-type String Required Zone type - master/slave/parked
ns Array Optional Array with name servers, which will be used for starting NS records. If parameter ns is added, default NS records will be not added. For master zones only.
master-ip String Optional Master server IP address. For slave zones only. It can be IPv4 or IPv6

Return: Array with status and status description.


Example for master zone

URL JSON: https://api.cloudns.net/dns/register.json
Domain POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&zone-type=master
sub-auth-id=0&auth-password=password&domain-name=domain.com&zone-type=master

URL XML: https://api.cloudns.net/dns/register.xml
Domain POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&zone-type=master
sub-auth-id=0&auth-password=password&domain-name=domain.com&zone-type=master

URL JSON: https://api.cloudns.net/dns/register.json
Domain POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&zone-type=master&ns[]=pns1.cloudns.net&ns[]=pns2.cloudns.net
sub-auth-id=0&auth-password=password&domain-name=domain.com&zone-type=master&ns[]=pns1.cloudns.net&ns[]=pns2.cloudns.net

Reverse IPv4 POST/GET:
auth-id=0&auth-password=password&domain-name=1.0.0.127.in-addr.arpa&zone-type=master
sub-auth-id=0&auth-password=password&domain-name=1.0.0.127.in-addr.arpa&zone-type=master

Reverse IPv6 POST/GET:
auth-id=0&auth-password=password&domain-name=1.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.1.2.ip6.arpa&zone-type=master
sub-auth-id=0&auth-password=password&domain-name=1.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.1.2.ip6.arpa&zone-type=master

URL XML: https://api.cloudns.net/dns/register.xml
Domain POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&zone-type=master&ns[]=pns1.cloudns.net&ns[]=pns2.cloudns.net
sub-auth-id=0&auth-password=password&domain-name=domain.com&zone-type=master&ns[]=pns1.cloudns.net&ns[]=pns2.cloudns.net

Reverse IPv4 POST/GET:
auth-id=0&auth-password=password&domain-name=1.0.0.127.in-addr.arpa&zone-type=master
sub-auth-id=0&auth-password=password&domain-name=1.0.0.127.in-addr.arpa&zone-type=master

Reverse IPv6 POST/GET:
auth-id=0&auth-password=password&domain-name=1.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.1.2.ip6.arpa&zone-type=master
sub-auth-id=0&auth-password=password&domain-name=1.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.1.2.ip6.arpa&zone-type=master

Example for Parked zone

URL JSON: https://api.cloudns.net/dns/register.json
Domain POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&zone-type=parked
sub-auth-id=0&auth-password=password&domain-name=domain.com&zone-type=parked

URL XML: https://api.cloudns.net/dns/register.xml
Domain POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&zone-type=parked
sub-auth-id=0&auth-password=password&domain-name=domain.com&zone-type=parked

URL JSON: https://api.cloudns.net/dns/register.json
Domain POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&zone-type=parked&ns[]=pns1.cloudns.net&ns[]=pns2.cloudns.net
sub-auth-id=0&auth-password=password&domain-name=domain.com&zone-type=parked&ns[]=pns1.cloudns.net&ns[]=pns2.cloudns.net

URL XML: https://api.cloudns.net/dns/register.xml
Domain POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&zone-type=parked
sub-auth-id=0&auth-password=password&domain-name=domain.com&zone-type=parked&ns[]=pns1.cloudns.net&ns[]=pns2.cloudns.net

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more