Mint a hostname
mint_hostnameRegister an IP address or platform endpoint to get a stable hostname that remains valid even if the address changes. Ideal for naming machines or agents.
Instructions
Register an address and get back a stable hostname that survives the address changing. This is the tool to use when a machine or agent needs a name.
The address class is fixed for the life of the name: mint with a public address and it stays public, mint with a private one and it stays private. Crossing later is refused, so pass the address the machine will actually serve on.
A hostname is one label above a domain. Names below a hostname are not hostnames and cannot be minted.
Newly minted names report status 'pending' and go 'live' within about a minute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | IPv4 or IPv6, public or private. One of ip or target is required. | |
| domain | No | Which of the account's domains to mint on. Omitted, DNSMint picks when the account holds one. | |
| target | No | A platform endpoint to follow instead of a fixed address, when the platform gave you a URL and no IP. DNSMint resolves it and serves ordinary A and AAAA records. | |
| subdomain | No | The label to use. Omitted, DNSMint picks an opaque one. | |
| certificate | No | Who holds the private key. 'self' (default) means you run an ACME client. 'managed' means DNSMint gets and renews the certificate and you fetch it. |