Skip to main content
POST
Creates the record both in PanelDNS and on the DNS provider immediately.
integer
required
Zone ID.
string
required
Record name relative to the zone apex. Use @ for the apex itself. E.g. www, mail, @. Automatically lowercased.
string
required
Record type. Supported: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR, NAPTR, SSHFP, TLSA, HTTPS, DS, DNAME, HINFO, LOC, SPF, SOA.
string
required
Record value. Format depends on type:
  • A — IPv4 address, e.g. 192.0.2.10
  • AAAA — IPv6 address, e.g. 2001:db8::1
  • CNAME / NS / PTR — fully qualified target with trailing dot, e.g. target.example.com.
  • MX — mail host with trailing dot, e.g. mail.example.com.
  • TXT — quoted string, e.g. "v=spf1 include:example.com ~all"
  • SRV — weight port target, e.g. 10 443 sip.example.com.
  • CAA — flags tag value, e.g. 0 issue "letsencrypt.org"
integer
required
Time-to-live in seconds. Minimum 60, maximum 86400.
integer
Required for MX and SRV records. Ignored for all other types.