[Samba] Delete or repair corrupt records in zone data?
Hans Hermann Meyer
hhmeyer59 at gmail.com
Fri Mar 20 18:15:01 UTC 2020
Hello all,
I inherited a Samba4 domain controller also acting as DNS and unfortunately this is all new to me.
Asking the DNS for the content of a certain zone with
# samba-tool dns query ip_of_domain_controller name_of_zone @ ALL -U administrator
brings up two entries that look different.
A good and working entry looks like this:
Name=1, Records=1, Children=0
PTR: pcname.our_domain.local (flags=f0, serial=25, ttl=900)
But there are two incomplete entries with just one line like this:
Name=7, Records=0, Children=1
Name=44, Records=0, Children=1
Deleting a record needs the parameters[1] of the record to delete. But these records have none, so I'm lost how to get rid of the corrupt the records or how to repair them.
[1]from the samba wiki:
# samba-tool dns delete <Your-AD-DNS-Server-IP-or-hostname> samdom.example.com demo A 192.168.0.55
Any help appreciated,
Hans
More information about the samba
mailing list