Allow registration before first IP update

This commit is contained in:
StasonJatham committed 2026-05-22 16:14:59 +02:00
1 parent 9f5cee8a0e
commit c19e5170a0
5 files changed
+29 -20

No files matched your search

+1 -1
View File
@@ -335,7 +335,7 @@ Example:
curl -sS -X POST https://karldns.de/api/v1/hostnames
```
The create response includes `registration_url`, `update_url`, and `dashboard_url`. Save the returned secrets, then `POST` the registration URL before using the update URL. Registration publishes the initial DNS record from the request IP; scripts may also pass `myip` or `myipv6` on the registration URL. Pending hostnames that are never registered are cleaned up automatically.
The create response includes `registration_url`, `update_url`, and `dashboard_url`. Save the returned secrets, then `POST` the registration URL before using the update URL. Registration publishes an initial DNS record when a public request IP or explicit `myip`/`myipv6` value is available; otherwise the first router update publishes the record. Pending hostnames that are never registered are cleaned up automatically.
Use the dashboard secret to rotate the update URL: