DNS

Set nameservers for a domain

Replace the nameservers for a domain you own. Requires 2-13 valid hostnames. Common values: OpenSRS DNS (ns1.systemdns.com, ns2.systemdns.com, ns3.systemdns.com). Nameservers decide where all of the domain's mail goes, sign-in codes included: changing them needs the email:auth_secrets scope and a token not confined to mailboxes (403 INSUFFICIENT_SCOPE or 403 MAILBOX_CONFINED otherwise), and every change is recorded in the audit log.

put/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

Request body

nameserversstring[] required

Nameserver hostnames (2-13 required)

Response

Nameservers updated successfully

successboolean
domainstring
nameserversstring[]
hintstring

Changes

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