DomainsChild nameservers

List a domain's hosts

GET
/v1/domains/{id}/hosts

The child nameservers (glue records) registered at the registrar under this domain, such as ns1.acme.com for acme.com, each with the addresses it answers on. Hosts live at the registrar, not on this record, so this always reads them fresh.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Path Parameters

id*string

Response Body

A domain's hosts

application/json
  1. response

A domain's hosts

hosts*array<>

Every host registered under this domain

curl -X GET "https://example.com/v1/domains/dom_01K6XJ4Q8ZT3M9R5V2B7WDHNCA/hosts"
{  "hosts": [    {      "host": "ns1.example-dns.com",      "addresses": [        "203.0.113.10"      ]    }  ]}