[PATCH]add dns cleanup subcommand for samba-tools

Andrew Bartlett abartlet at samba.org
Tue Jan 16 00:54:55 UTC 2018


On Tue, 2018-01-16 at 13:37 +1300, joeg at catalyst.net.nz wrote:
> Hi all,
> I've add a subcommand for samba-tools to clean up DNS records for a DNS host.
> This will be helpful when a DNS host is gone while the related DNS records are still there.
> Can any one help to review this, please?

Thanks Joe. 

I think we should have the test prove that a CNAME pointing at this
name is also cleaned up, as well as a value in a multi-valued SRV
record.

A unit test (which I should have written in the first place) for
remove_dns_references covering all the things it cleans up would also
be very helpful.

Thanks!

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba-technical mailing list