DNS

Get nameservers for a domain

Returns the authoritative nameservers configured for a domain you own. If empty, DNS operations (parking, email, connect) will fail until nameservers are assigned.

get/api/domains/{domain}/nameservers

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/domains/{domain}/nameservers
  • Auth: HTTP bearer

Path parameters

domainstring required
Example:mysite.com

Domain name you own

Response

Nameservers for the domain

domainstring
nameserversstring[]
default_nameserversstring[] nullable

The nameservers the domain's zone is served from: the zone host when Domani hosts the zone there, otherwise the registrar's defaults (null if unknown)

dns_provider'registrar' | 'cloudflare' | 'external'

Who answers for the domain's zone: the registrar's own DNS, a zone Domani hosts on Cloudflare, or an external provider for an imported domain

hintstring

Changes

No recorded changes to this operation across all 2 revisions of this API.