This API is currently in BETA. If you find any issues, please report them to our technical support
data[])
data[]is Google Cloud DNSrrdatas. Each item is a string in the format required by the record type.
| Type | What to put in data[] | Example |
|---|---|---|
| A | IPv4 address | ["203.0.113.10"] |
| AAAA | IPv6 address | ["2001:db8::10"] |
| CAA | flags tag "value" | ["0 issue \"letsencrypt.org\""] |
| CNAME | target hostname | ["target.example.com."] |
| DS | keytag algorithm digestType digest | ["2371 13 2 9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08"] |
| MX | priority host. | ["10 mx1.example.com.","20 mx2.example.com."] |
| NAPTR | order preference flags service regexp replacement | ["100 10 \"U\" \"E2U+sip\" \"!^.*$!sip:info@example.com!\" ."] |
| PTR | pointer target hostname | ["ptr-target.example.com."] |
| SPF | (legacy) SPF string | ["v=spf1 include:_spf.google.com ~all"] |
| SRV | priority weight port target. | ["10 5 5060 sip.example.com."] |
| SSHFP | algorithm fptype fingerprint | ["2 1 1234567890abcdef1234567890abcdef12345678"] |
| TLSA | usage selector matchingType certificateAssociationData | ["3 1 1 9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08"] |
| TXT | any text string | ["google-site-verification=xxxxxxxxxxxxxxxxxxxx"] |
Hostnames (CNAME/MX/SRV/NS/PTR): use a trailing dot (example.com.).
SPF: prefer TXT for SPF in modern setups.