add note about correct server ID to use for API calls #13
Loading…
Reference in a new issue
No description provided.
Delete branch "tetov/servfail-docs:api_use_soa"
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?
Found out this will setting up caddy dns.providers.powerdns and thought it would be good to document :)
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
😸
2f2eed390bto208059aeff@ -50,0 +51,4 @@```shexport server=miyuki.sakamoto.pl.export zone=sdomi.pl.Please use example domains for documentation (for example
example.comor from the.exampleTLD).Again, thanks for the docs. I will resolve the merge conflict and merge this as-is to move to a separate page with has documentation for how to use software with servfail and the PowerDNS API.
208059aeffto5887c57b2cI hope that you don't mind that this commit is now signed with my key ^^'
Thanks! Sorry I left this one hanging so long!