DNS methods.
| Service.DNS | DNS methods. |
| Functions | |
| createDomain | Create a new domain name. |
| listDomains | List domains that match optional criteria. |
| destroyDomain | Destory a domain and all its related records. |
| createRecord | Create a domain record on a previously existing domain. |
| updateRecord | Update a domain record by its id. |
| listRecords | List all records matching optional criteria. |
| destroyRecord | Delete a single domain record by id. |
| destroyRecordsByName | Delete all records by DomainName and DomainRecordName |
Create a new domain name. Necessary before creating records. The ‘name’ must be globally unique, so only use fully qualified domain names. If the domain already exists (created by you or someone else), an InvalidArguments exception will be raised on the ‘name’ argument.
| customerId | no docs (idx: 1, type: Types.CustomerId, optional) |
| name | no docs (idx: 2, type: Types.DomainName) |
Exceptions.InvalidArguments (idx: 1)
List domains that match optional criteria.
| customerId | no docs (idx: 1, type: Types.CustomerId, optional) |
| name | no docs (idx: 2, type: Types.DomainName, optional) |
| domainId | no docs (idx: 3, type: Types.DomainId, optional) |
Thrift.list (Types.DomainDetails)
Exceptions.InvalidArguments (idx: 1)
Destory a domain and all its related records. Provide ‘id’ or ‘name’ to refer to the domain, but not both.
| id | no docs (idx: 1, type: Types.DomainId, optional) |
| name | no docs (idx: 2, type: Types.DomainName, optional) |
Exceptions.InvalidArguments (idx: 1)
Create a domain record on a previously existing domain. If the record already exists, no error will be thrown. Provide ‘domainId’ or ‘domainName’ to refer to the domain, but not both.
| domainId | no docs (idx: 1, type: Types.DomainId, optional) |
| domainName | no docs (idx: 2, type: Types.DomainName, optional) |
| name | no docs (idx: 3, type: Types.DomainRecordName) |
| type | no docs (idx: 4, type: Types.DomainRecordType) |
| content | no docs (idx: 5, type: Types.DomainRecordContent) |
| ttl | no docs (idx: 6, type: Types.DomainRecordTTL, optional) |
| priority | no docs (idx: 7, type: Types.DomainRecordPriority, optional) |
Exceptions.InvalidArguments (idx: 1)
Update a domain record by its id.
| id | no docs (idx: 1, type: Types.DomainRecordId) |
| name | no docs (idx: 2, type: Types.DomainRecordName, optional) |
| type | no docs (idx: 3, type: Types.DomainRecordType, optional) |
| content | no docs (idx: 4, type: Types.DomainRecordContent, optional) |
| ttl | no docs (idx: 5, type: Types.DomainRecordTTL, optional) |
| priority | no docs (idx: 6, type: Types.DomainRecordPriority, optional) |
Exceptions.InvalidArguments (idx: 1)
List all records matching optional criteria. Must provide a domain. Provide ‘domainId’ or ‘domainName’ to refer to the domain, but not both.
| domainId | no docs (idx: 1, type: Types.DomainId, optional) |
| domainName | no docs (idx: 2, type: Types.DomainName, optional) |
| name | no docs (idx: 3, type: Types.DomainRecordName, optional) |
| type | no docs (idx: 4, type: Types.DomainRecordType, optional) |
| content | no docs (idx: 5, type: Types.DomainRecordContent, optional) |
| ttl | no docs (idx: 6, type: Types.DomainRecordTTL, optional) |
| priority | no docs (idx: 7, type: Types.DomainRecordPriority, optional) |
Thrift.list (Types.DomainRecordDetails)
Exceptions.InvalidArguments (idx: 1)
Delete a single domain record by id.
| id | no docs (idx: 1, type: Types.DomainRecordId) |
Exceptions.InvalidArguments (idx: 1)
Delete all records by DomainName and DomainRecordName
| domain | no docs (idx: 1, type: Types.DomainName) |
| name | no docs (idx: 2, type: Types.DomainRecordName) |
Exceptions.InvalidArguments (idx: 1)