DNSMint
v1.0.1Mint a secure HTTPS endpoint for your agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_hostnames List hostnames
Every hostname this key can see, with how many are active and the plan's cap. Check the cap before minting: a hostname is the unit the plan counts.
get_hostname Get a hostname
One hostname's status and certificate mode. Does not say where it points: DNS is the authoritative answer for that, so use diagnose_hostname or resolve the name.
| Parameter | Type | Description |
|---|---|---|
id * | string | The hostname's id, from list_hostnames. |
mint_hostname Mint a hostname
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.
| Parameter | Type | Description |
|---|---|---|
certificate | string | 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. |
domain | string | Which of the account's domains to mint on. Omitted, DNSMint picks when the account holds one. |
ip | string | IPv4 or IPv6, public or private. One of ip or target is required. |
subdomain | string | The label to use. Omitted, DNSMint picks an opaque one. |
target | string | 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. |
repoint_hostname Repoint a hostname
Point an existing hostname at a new address. This is what makes the name worth having: the machine moves, the name does not, and everything holding the URL keeps working. Repointing within an address class is free, including between IPv4 and IPv6. Crossing between public and private is refused, because one name resolving public then private is how DNS rebinding works.
| Parameter | Type | Description |
|---|---|---|
id * | string | The hostname's id, from list_hostnames. |
ip | string | The new address. |
target | string | A platform endpoint to follow instead. |
diagnose_hostname Diagnose a hostname
Why a hostname is or is not working: what the nameservers answer, what public resolvers see, and whether a certificate has been issued. Use this before assuming something is broken; a name minted moments ago may simply not have propagated.
| Parameter | Type | Description |
|---|---|---|
id * | string | The hostname's id, from list_hostnames. |