Found out this will setting up caddy dns.providers.powerdns and thought it would be good to document :)
add note about correct server ID to use for API calls #13
tetov/servfail-docs:api_use_soa into meow
And my editor ate some trailing whitespace, sorry not sorry.
@ -28,3 +28,3 @@
- `/api/v1/servers/{server}/zones/{zone}/{action}`
`{server}` is one of our NSes (including the canonical trailing dot) and `{zone}` is your domain (also with the canonical dot). Some PowerDNS libraries strip the canonical dot from the URL, which is accepted by PowerDNS itself, but not by our API proxy; Work on creating a fix for this is already underway.
`{server}` should be your main nameserver (your [SOA](@/basics.md#SOA)) including the canonical trailing dot. `{zone}` is your domain (also with the canonical dot). Some PowerDNS libraries strip the canonical dot from the URL, which is accepted by PowerDNS itself, but not by our API proxy; Work on creating a fix for this is already underway.
I'd change this to say something along the lines of "the nameserver you choose as your primary while adding the domain". The SOA is a consequence of that, I guess that is a nice reference in case someone forgets.
I updated the text to
{server}should be the nameserver you chose as your primary when you added your domain (check your SOA), including the canonical trailing dot.
😸
2f2eed390b
to 208059aeff
@ -50,0 +51,4 @@
```sh
export server=miyuki.sakamoto.pl.
export zone=sdomi.pl.
Please use example domains for documentation (for example example.com or from the .example TLD).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?