[Samba] Delete or repair corrupt records in zone data?
abartlet at samba.org
Fri Mar 20 19:23:27 UTC 2020
On Fri, 2020-03-20 at 19:15 +0100, Hans Hermann Meyer via samba wrote:
> 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
> 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 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.
What makes you say these are corrupt, rather than just empty?
That said, perhaps add a PTR record and delete it again?
Andrew Bartlett https://samba.org/~abartlet/
Authentication Developer, Samba Team https://samba.org
Samba Developer, Catalyst IT
More information about the samba