Domains

The DNS records of a bought name at the registrar: the team's own ones, the project's web records (managed, read-only), and the version to base a change on. A name on other nameservers or not in our registrar account says so (editable false)

get/domain-registrations/domains/{domainId}/dns

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/domain-registrations/domains/{domainId}/dns
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

domainIdstring uuid required

Response

The records

domainIdstring uuid required
domainstring required
projectIdstring uuid nullable required
projectNamestring nullable required
kind'dynadot_dns' | 'parking' | 'external' | 'unreadable' | 'not_in_account' required

dynadot_dns: Dynadot's DNS serves the name (the records below); parking: Dynadot's parking page (adding a record switches it to Dynadot's DNS); external: other nameservers serve it (manage its DNS there); unreadable: Dynadot's answer could not be read completely (nothing is changed unseen); not_in_account: the name is not in our registrar account (manage its DNS where it is registered)

editableboolean required

records can be changed here (Dynadot's DNS or its parking page, read completely)

messagestring nullable required

why they cannot, in plain words

nameserversstring[] required

external: the nameservers that serve the name, when Dynadot lists them

versionstring nullable required

the zone as read; send it with a change

ttlinteger nullable required

Dynadot keeps one TTL (seconds) for all of a name's records; null when its answer does not say

typesstring[] required

the types that can be added

Changes

No recorded changes to this operation across all 1 revision of this API.