Open JanKoppe opened 1 year ago
Hey there, sorry the syntax for adding records to the root of the zone is quite confusing, you essentially repeat the full dns path of the zone (including the .)
pdns -c conf.toml edit-rrset example.org --add --ttl 60 example.org. NS ns1.bogus.com.
edit: note it can also be of the form
pdns -c conf.toml edit-rrset --add --ttl 60 example.org. example.org. NS ns1.bogus.com.
I'll add something to the documentation about this, but a future improvement could be to use the zone for both arguments if only one was provided instead of just complaining about missing the other argument.
Ha! That worked. I was indeed holding it wrong. Thank you very much. :) Feel free to close this issue, unless you want to keep it to track the mentioned documentation change.
Hi,
giving this CLI a spin right now.
It seems that I'm unable to edit/add a rrset on the apex of a zone.
Am I just holding it wrong? Is this maybe not yet implemented?
Setup is PowerDNS-Admin 0.4.0 in front of PowerDNS 4.7, but PDA should be effectively passthrough to the PowerDNS server on the /api/v1 prefix.