samba-tool dns: use DnsConnWrapper widely
commite931104d1d9476c63b32dea58e45889b1af642e6
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 12 Aug 2022 04:40:03 +0000 (12 16:40 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 6 Sep 2022 21:12:36 +0000 (6 21:12 +0000)
treece10560287db54a4f44e6989ecec1f5f9f661bea
parent26b86bc57e85280a9fc9aba26a49a16859c91b78
samba-tool dns: use DnsConnWrapper widely

This covers all the cases where there are no existing CommandError
messages, and no other uses of the dns_conn (i.e., not cmd_update).

Forthcoming commits will introduce default messages for these.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/dns.py