Function   /domain/dns/list

Function invocation

https://json.aftermarket.pl/domain/dns/list

Function description

Returns the list of domain DNS entries.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
domain string "" Domain name (deprecated, please use 'name' parameter)
name string YES Domain name

Return value

List of domain DNS entries (list of structures with the following fields):

Field nameTypeDescription
zone string Domain name (in Punycode) (deprecated, value is given in 'name' field)
name string Domain name
data string DNS entry value (deprecated, value is given in 'value' field)
flag integer Flag - required for CAA entry
value string Entry value
dnsId integer DNS Entry identifier (deprecated, value is given in 'entryId' field)
entryId integer Entry identifier
host string Entry host name
mxpriority integer DNS entry MX priority (deprecated, MX priority is given in 'priority' field)
priority integer Entry priority
type string Entry type (one of A, AAAA, CNAME, MX, TXT, NS, CAA, SRV, TLSA, SPF, DKIM, DMARC, BIMI)
tag string Tag - required for CAA entry (one of issue, issuewild, iodef)
port integer Port - required for SRV entry
weight integer Weight - required for SRV entry
algorithm integer DNS entry DNSSEC algorithm (deprecated and unused)
tlsaUsage integer TLSA Usage - required for TLSA entry
tlsaSelector integer TLSA Selector - required for TLSA entry
tlsaMatchingType integer TLSA Matching Type - required for TLSA entry