Change a DNS record
domain_dns_updateChange a DNS record on a Lizard domain: set replaces matching name/type records, add keeps others, and remove deletes matches. Supports A, AAAA, CNAME, ALIAS, MX, TXT, and redirect types.
Instructions
Change one DNS record of a domain bought on Lizard. set replaces every record with that name and type; add keeps the others (several MX or TXT); remove deletes the records that match name, and type and value when given. Types: A, AAAA, CNAME, ALIAS, MX, TXT, URL301 (redirect), URL (302 redirect), FRAME (masked redirect). To point a name at a Lizard app, use domain_attach instead. Needs a signed-in user: an API key can read records but not change them. Changes reach most resolvers within minutes. Get the user's approval before remove.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Seconds, default 1800 | |
| name | Yes | @ for the domain itself, a label like api, or a full name like api.example.com | |
| type | No | Required for set and add | |
| value | No | Required for set and add | |
| action | Yes | ||
| domain | Yes | A domain from domain_owned_list | |
| confirm | No | Required for remove | |
| priority | No | MX only, default 10 |