[Samba] Delete or repair corrupt records in zone data?

Rowland penny rpenny at samba.org
Fri Mar 20 18:44:22 UTC 2020

On 20/03/2020 18:15, 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 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)

That looks like the reverse zone, if so, why not tells us ?

If it is, then your problem is easily repaired, delete the reverse zone 
and then recreate it. You will probably have to also recreate any fixed 
ip's , but the dhcp machines should recreate their own PTR records.


More information about the samba mailing list