Wiki

Home

Import via transfer

Description

Imports records from another server via zone transfer. Deletes all existing records


 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 you want to transfer the records to. It must be the same at the other server as it is in our system.
server String Required Hostname or IP address of the server the records will be transferred from.

Return: Array with status and status description.


 Example for master zone

URL JSON: https://api.cloudns.net/dns/axfr-import.json
POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&server=ext-ns1.server.com
sub-auth-id=0&auth-password=password&domain-name=domain.com&server=ext-ns1.server.com


URL XML: https://api.cloudns.net/dns/axfr-import.xml
POST/GET:
auth-id=0&auth-password=password&domain-name=domain.com&server=ext-ns1.server.com
sub-auth-id=0&auth-password=password&domain-name=domain.com&server=ext-ns1.server.com

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