Wiki

Home

Import records

Description

Import records, defined in parameter.


 Parameters

Name Data Type Status Description
auth-id or sub-auth-id Integer Required Authentication parameter
auth-password String Required Authentication parameter
domain-name String Required the name of the zone
format String Required bind or tinydns
content String Required
        list of the records in the chosen format; one per row
        @ 3600 IN TXT "v=spf1 a mx include:aspmx.googlemail.com include:_spf.google.com ~all"
        @ 3600 IN MX  ASPMX.L.GOOGLE.COM.

Return: Array with status and status description.


Example:

URL JSON: https://api.cloudns.net/dns/records-import.json
POST/GET: auth-id=0&auth-password=password&domain-name=domain.com&format=bind&content=records
POST/GET: sub-auth-id=0&auth-password=password&domain-name=domain.com&format=bind&content=records

URL XML: https://api.cloudns.net/dns/records-import.xml
POST/GET: auth-id=0&auth-password=password&domain-name=domain.com&format=bind&content=records
POST/GET: sub-auth-id=0&auth-password=password&domain-name=domain.com&format=bind&content=records

 

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