createDnsRecord
createDnsRecord: Create a new DNS record for a domain. Requires authentication. For newly registered domains the zone is initialized automatically if missing. Returns the created record including its id for later updates or deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Time to live in seconds; defaults to 3600 when omitted. | |
| name | Yes | Record name relative to the zone, e.g. 'www', 'mail', or '@' for the apex. | |
| type | Yes | Record type: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA. | |
| domain | Yes | Fully qualified domain name the record belongs to, e.g. 'example.com'. | |
| content | Yes | Record value, e.g. an IPv4 dotted-quad or IPv6 address for A/AAAA, a hostname for CNAME/MX/NS, or text for TXT. | |
| priority | No | Priority for MX/SRV records only; defaults to 0 when omitted. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |