New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding command to pdns_control #608
Comments
Author: anon This comment is added by Mark Scholten
Adding an additional option to get information regarding the last check for slave domains would be great. This way it is possible to create a script that checks to see if this value is at least a week old and after that orders the delete command. Something like this is already (easily, automated) done by a PHP script provided on Pdns-users. |
Author: anon |
Author: anon Picking up on this older message, because this relates to the ticket #608. I've created a patch as a fix for #608. The patch can be found here: At the moment, this simply includes a list-all-zones and delete-zone command for pdnssec and pdns_control has gotten a list-zones and delete-zone command. The interesting part is that this patch would resolve 608 quite nicely, but would not help to find out which zone must be deleted. I would like some feedback on this, as there are a number of options:
My preference would be to move to the 2nd option, but i'm not a big DNS operator so i have no clue if this is useful for you guys. Any feedback is welcome! Regards, |
The branch has moved to https://github.com/cyclops1982/pdns/tree/608 |
If this is still wanted, please turn it into a pull. If silence is all you got on the list, closing the ticket is fine with me as well. |
All i got was silence. Closing #608 |
Hi, I have only one question: for obtain a working system I need to add domainmetadata to my mysql schema, until I'm not using DNSSEC, it's the intended behaviour? |
+1 for this request |
Any sample scripts available? Comment here (#467) says they should, but don't see them at first sight |
Please ask support questions on IRC or the mailing list: https://www.powerdns.com/opensource.html |
Add the following commands to pdns_control:
pdns_control list_zone --type $type, where $type can be all (default), master or slave; this command return all zones managed by pdns of type $type
pdns_control delete $zone; this command will remove a zone (and all related records) from the backend
These commands can be used to create scripts for zone managing, for example for removing zone from superslaves
The text was updated successfully, but these errors were encountered: