[Samba] How to get a list of all PTR records?

Patrick Goetz pgoetz at math.utexas.edu
Tue Dec 14 01:49:33 UTC 2021


I asked this in another thread, but is there any way to get a list of 
all the PTR records managed by the Samba internal DNS server?

I can get them one at a time like this:

root at data2:/home# samba-tool dns query samba-dc 90.18.172.in-addr.arpa 
121 PTR -U Administrator
Password for [EA\Administrator]:
   Name=, Records=1, Children=0
     PTR: EA121.ea.earchives.org (flags=f0, serial=4, ttl=900)


But would really like to list them all to see if there's one I forgot to 
add by hand.





More information about the samba mailing list