GET account/domains/{domain}/hostrecords/all

Returns all host records for a given domain. The url path "all" is optional.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
domain

a domain name

string

Required

Body Parameters

None.

Response Information

Resource Description

A DNSHostRecords wrapper object with all host records for this domain name.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "DomainName": null,
  "ARecords": [
    {
      "Subdomain": "*",
      "IPV4Address": "192.0.43.10",
      "RecordId": 1112
    }
  ],
  "AAAARecords": [
    {
      "Subdomain": "www",
      "IPV6Address": "2001:500:88:200::10",
      "RecordId": 1111
    }
  ],
  "CNAMERecords": [
    {
      "Subdomain": "www",
      "RedirectDomain": "myloadbalancer.example.com",
      "RecordId": 1221
    }
  ],
  "MXRecords": [
    {
      "Subdomain": "@",
      "MailServer": "email.example.com",
      "Priority": 10,
      "RecordId": 2221
    }
  ],
  "TXTRecords": [
    {
      "Subdomain": "www",
      "TextRecord": "Test text record",
      "RecordId": 78121
    }
  ],
  "SRVRecords": [
    {
      "Service": "_http",
      "Protocol": "_tcp",
      "Priority": 10,
      "Weight": 1,
      "Port": 9213,
      "Target": "http.example.com",
      "RecordId": 4009
    }
  ]
}