[Pdns-users] Automatically delete zones that are deleted on Supermaster
Ruben d'Arco
cyclops at prof-x.net
Sat Nov 10 10:00:53 UTC 2012
Hi,
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:
https://github.com/cyclops1982/powerdns/compare/master...608.diff
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.
I've discussed pdns_control and pdnssec with Peter van Dijk and we're not planning on keeping the pdnssec implementation and dropping the pdns_control implementation.
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 understand people look at the last_check field, but that is (at the moment) not outputted by list-all-zones (or any other commands).
I would like some feedback on this, as there are a number of options:
- Change list-all-zones to also show last_check (how would we format?)
- Change show-zone to output more information about the zone (this was also suggested in ticket #608)
- Create a delete-old-zones command which receives a last_check parameter and automatically deletes al zones that have a last_check field lower than the given command.
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,
Ruben d'Arco
On Thu, Nov 01, 2012 at 01:12:49AM +0100, Andrea Cappelli wrote:
> Il 31/10/2012 21:17, Peter van Dijk ha scritto:
> >This idea pushes all my buttons with regards to having PowerDNS
> >provide the right infrastructure and leaving the glue to the user.
> >Would you write a ticket at wiki.powerdns.com about it so we can
> >have a more targeted discussion there? Tickets tend to lead to
> >code! Kind regards,
>
> Hello,
> ticket created (#608)
>
> Best regards
>
> --
> Ing. Andrea Cappelli
> Asidev s.r.l.
> Viale Rinaldo Piaggio, 32 - 56025 Pontedera (Pisa) @CERFITT
> Tel. (+39) 333 60 18 258 Fax. (+39) 0587 97 01 20
> E-mail: a.cappelli at asidev.com Web: http://www.asidev.com
> Skype: a.cappelli
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list