Add a record under a hostname
Adds one TXT, TLSA, CAA, MX, SRV, SSHFP, HTTPS or SVCB record. Up to 10 records per hostname, on every plan - a ceiling against a hostname becoming a zone, since DNS egress follows hostnames. To change a value, PUT the record's id - one call, and the id survives. Deleting and re-adding costs two writes and leaves a window where the name resolves wrong. TTL is fixed at 300s. A TXT value longer than 255 bytes is split into several character-strings, which is what the wire format requires and what every client concatenates back.
TLSA returns 409 until the domain is signed and its DS is live. A TLSA record says which certificate to trust, and in an unsigned zone anything that can spoof the answer can substitute its own binding - so publishing one would point clients at a certificate nobody vouched for.
CAA replaces the domain's policy for that hostname rather than adding to it. A CA reads the nearest ancestor with a CAA record set and ignores the rest, so publishing one here takes over which CAs may issue for your name - including excluding ours. Delete it and the domain's policy applies again. That is how CAA works and we serve what you write; we do not merge it with ours.
A SRV record's name must be _<service>._<proto>, the way a TLSA record's must be _<port>._<proto> - RFC 2782 puts them in the owner name and a client only looks there.
Request
- Base URL: https://dnsmint.com/api
- URL: https://dnsmint.com/api/v1/hostnames/{id}/records
- Auth: HTTP bearer
Path parameters
Request body
Example request
{
"name": "_443._tcp"
}Response
Created
Example response
{
"name": "_443._tcp.q7k4m2ab.pool-1.dnsmint.com",
"ttl": 300
}Changes
No recorded changes to this operation across all 1 revision of this API.