Set the hostname IP
Puts an IP on the hostname. If the address is unchanged, DNS is not rewritten. If it changed, the record is replaced and the name comes back live. Request bodies are capped at 4KB. A hostname keeps the address class it was minted with. Repointing within a class is free, including between A and AAAA; crossing from public to private or private to public returns 409. This blocks DNS rebinding, where one origin is public first, to deliver a payload under a trusted certificate, and private second, to read a response from inside the visitor's network. Release the hostname and mint a new one for the other class.
Send target instead of ip to follow a platform endpoint that publishes no address of its own. We resolve it and serve A or AAAA, so the hostname keeps its certificates, its CAA and every child record.
Request
- Base URL: https://dnsmint.com/api
- URL: https://dnsmint.com/api/v1/hostnames/{id}
- Auth: HTTP bearer
Request body
Response
The updated hostname.
Changes
No recorded changes to this operation across all 1 revision of this API.