Workflow steps

domain.records

type: "domain.records"

Writes in a domain's DNS zone. It requires a human step upstream, and an NS record is refused outright.

needs approval upstreamset or removeNS refused
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

A human step is required upstream

This acts outside the account, and a run has nobody to ask. The definition is refused when you save it unless a human step sits on the path that reaches this one.

domainstringrequired

Which domain.

actionstringrequired

set or remove.

typestring

Required by set. NS is refused.

namestring

Required by set. Relative to the zone.

contentstring

Required by set.

recordstring

Required by remove.

{ id: "point", type: "domain.records", config: {
    domain: "example.com", action: "set",
    type: "CNAME", name: "docs", content: "{{steps.host.output.url}}" } }
{"id": "point", "type": "domain.records", "config": {
    "domain": "example.com", "action": "set",
    "type": "CNAME", "name": "docs", "content": "{{steps.host.output.url}}"}}

NS is refused

A record delegating a name away is a subdomain takeover

The type is not accepted at all, on save. There is no legitimate use of it from a workflow that outweighs what the illegitimate one does.

Why one wrong record is two outages

A mail record pointed at the wrong host stops mail arriving with nothing appearing broken; an address record moved stops a site. Neither has a previous version to restore — which is why no mode and no trigger opens this without a person.

Output

{{steps.point.output.id}}       // the record
{{steps.point.output.type}}
{{steps.point.output.content}}
"{{steps.point.output.id}}"       # the record
"{{steps.point.output.type}}"
"{{steps.point.output.content}}"

A record does not make a name serve

The platform that serves must also accept the name, or its edge refuses the connection. For a host on IaGenify, attach the domain to the host rather than writing a record by hand.