Name | Type | Description |
---|---|---|
search | string | wildcard search in name and the records entity |
name | string | search for a domain name (exact search) |
account | string | search for an account name (exact match) |
type | string | search for records of the given type (MASTER, SLAVE, NATIVE, SUPERSLAVE) |
master | string | searches within the contents of the master field |
offset | integer | Offset to start |
limit | integer | Limit result |
Searches within the domains and records entities
Name | Type | Description |
---|---|---|
id | integer | ID or list of ids of a record |
search | string | Search string |
name | string | searches in content of name field |
content | string | searches in then content field |
type | enum | record type |
domain | integer | domain id or list of domain ids |
Searches within the domains and records entities
Name | Type | Description |
---|---|---|
search | string | Search string |
domain_id | integer | ID of a domain |
user | string | username |
record_type | string | type of the record |
from | date | Date to start iso date |
to | date | Date to end |
action | string | one of CREATE, UPDATE, DELETE |
Returns a list of domains, the list can optionally be filtered by the following parameters
Name | Type | Description |
---|---|---|
search | string | wildcard search in name and the records entity |
name | string | search for a domain name (exact search) |
account | string | search for an account name (exact match) |
type | string | search for records of the given type (MASTER, SLAVE, NATIVE, SUPERSLAVE) |
master | string | searches within the contents of the master field |
Creates a new domain with the given parameters. Note: when you create a domain a SOA record will be automatically created.
Name | Type | Description |
---|---|---|
name | string | The name of the domain |
type | enum | One of [MASTER, SLAVE, NATIVE, SUPERSLAVE] |
master | string | Name of the master server only applies to SLAVE or SUPERSLAVE |
account | string | Name of the account to use to login to the master |
Retrieves the details of the given domain. {id} die must be a positive number.
Updates the domain given by {id} with the given parameters.
Name | Type | Description |
---|---|---|
name | string | The name of the domain |
type | enum | One of [MASTER, SLAVE, NATIVE, SUPERSLAVE] |
master | string | Name of the master server, applies only to SLAVE or SUPERSLAVE |
account | string | Name of the account to use to login to the master |
Deletes the domain given by {id} and all records of the domain.
Displays the history of the domain given by {id}.
Retrieves the SOA record of the given domain.
Creates a new SOA record for the given domain.
Name | Type | Description |
---|---|---|
primary | string | Name of the primary nameserver |
hostmaster | string | email of the hostmaster |
serial | string | serial number |
refresh | integer | Refresh in seconds |
expire | integer | expire in seconds |
default_ttl | integer | default ttl in seconds |
Updates the SOA record of the given domain.
Name | Type | Description |
---|---|---|
primary | string | Name of the primary nameserver |
hostmaster | string | email of the hostmaster |
serial | string | serial number |
refresh | integer | Refresh in seconds |
expire | integer | expire in seconds |
default_ttl | integer | default ttl in seconds |
Deletes the SOA record of the given domain.
Retrieves a list of records for the given domain, the list can optionally filtered.
Name | Type | Description |
---|---|---|
id | integer | ID or list of ids of a record |
search | string | Search string |
name | string | searches in content of name field |
content | string | searches in then content field |
type | enum | record type |
domain | integer | domain id or list of domain ids |
Creates a new records within the domain given by {domain}.
Name | Type | Description |
---|---|---|
name | string | name |
type | string | record type |
prio | integer | priority |
ttl | integer | ttl in seconds |
content | string | content field |
force | integer | if 1 validation is completely skipped |
loose_check | integer | if 1 loose validation is enabled on record. |
Retrieves the details of the record specified by {domain} and {record}
Updates the record specified by {domain} and {record}. Note: you can only update records of domain with type [MASTER, NATIVE].
Name | Type | Description |
---|---|---|
name | string | name |
type | string | record type |
prio | integer | priority |
ttl | integer | ttl in seconds |
content | string | content field |
force | integer | if 1 validation is completely skipped |
loose_check | integer | if 1 loose validation is enabled on record. |
Deletes the record specified by {domain} and {record}.
Shows the history of the record specified by {domain} and {record}.