Skip to content

DNSRecord.set

POST /{namespace}/dns-records/set

Set adds or changes a Startup-owned DNS Record through a Change, previewed against what the Domain answers today.

Mode
do
Event
DNSRecord.set

Inputs

InputTypeRequiredDescription
domainDomainrequiredThe Domain the record answers for.
typestringrequiredThe record type.
namestringrequiredThe label, such as @ or _dmarc.
valuestringrequiredThe answer.

Outputs

OutputTypeRequiredDescription
recordDNS RecordrequiredThe DNS Record, with its status.

Effects

  • Emits DNSRecord.set.
  • Performed by the Reliability Engineer.
  • Two-way: it runs at once, in the try, send and do modes.
  • Refuses a record the platform owns.
  • A revert of its Change restores the previous answer.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.DNSRecord.set
A record the platform ownsrefusedClear what the check names, then call it again.DNSRecord.set

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.