Passa al contenuto principale

HostingDnsRecordListResponse

Successful response with a list of HostingDnsRecord

errorintegerrequired

Always 0 in a successful response

Constant value: 0
messagestring | nullnullablerequired

Always null in a successful response

data object[]required

Items returned by the operation

  • Array [
  • dns_record_idintegerrequired
    typestringrequired

    Type of the record, for example A, CNAME, MX, TXT or SRV

    hoststringrequired

    Name of the record relative to the domain: @ for the domain itself, otherwise for example www or mail

    destinationstringrequired

    Value of the record: the IP address of A records, the target host of CNAME, MX and SRV records, the text of TXT records

    priorityinteger | nullnullablerequired

    Priority of MX and SRV records

    weightinteger | nullnullablerequired

    Weight of SRV records

    portinteger | nullnullablerequired

    Port of SRV records

    servicestring | nullnullablerequired

    Service of SRV records (for example _autodiscover) and port of TLSA records

    protocolstring | nullnullablerequired

    Protocol of SRV and TLSA records: _tcp, _udp or _tls

    caa_flaginteger | nullnullablerequired

    Flag of CAA records

    caa_tagstring | nullnullablerequired

    Tag of CAA records: issue, issuewild, iodef-http or iodef-mail

    caa_can_sign_http_exchangesboolean | nullnullablerequired

    Whether the CAA record allows certificates for signed HTTP exchanges (cansignhttpexchanges=yes)

    tlsa_usageinteger | nullnullablerequired

    Certificate usage of TLSA records: 0 PKIX-TA, 1 PKIX-EE, 2 DANE-TA, 3 DANE-EE

    tlsa_selectorinteger | nullnullablerequired

    Selector of TLSA records: 0 for the full certificate, 1 for the public key

    tlsa_matching_typeinteger | nullnullablerequired

    Matching type of TLSA records: 0 for the exact data, 1 for SHA-256, 2 for SHA-512

  • ]
  • metarequired

    Always null: only the paginated lists have a meta

    Constant value: null
    HostingDnsRecordListResponse
    {
    "error": 0,
    "message": "string",
    "data": [
    {
    "dns_record_id": 0,
    "type": "string",
    "host": "string",
    "destination": "string",
    "priority": 0,
    "weight": 0,
    "port": 0,
    "service": "string",
    "protocol": "string",
    "caa_flag": 0,
    "caa_tag": "string",
    "caa_can_sign_http_exchanges": true,
    "tlsa_usage": 0,
    "tlsa_selector": 0,
    "tlsa_matching_type": 0
    }
    ]
    }