On 03/06/2020 15:31, James B. Byrne wrote:>
> On Tue, June 2, 2020 11:13, Rowland penny wrote:
>> On 02/06/2020 16:03, James B. Byrne via samba wrote:
>>> Samba-4.11.8 on FreeBSd-12.1p5
>>>
>>> How does one list all of the actual DNS records for Samba
administered zones,
>>> forward and reverse?
>>>
>> Try:
>>
>> samba-tool dns query localhost brockley.harte-lyne.ca
>> brockley.harte-lyne.ca ALL -U administrator
>>
> I get the same result:
>
> samba-tool dns query localhost brockley.harte-lyne.ca
brockley.harte-lyne.ca
> ALL -U administrator
> Password for [BROCKLEY\administrator]:
> Name=, Records=3, Children=0
> SOA: serial=1, refresh=900, retry=600, expire=86400, minttl=3600,
> ns=smb4-1.brockley.brockley.harte-lyne.ca.,
> email=hostmaster.brockley.harte-lyne.ca. (flags=600000f0, serial=1,
> ttl=3600)
> NS: smb4-1.brockley.brockley.harte-lyne.ca. (flags=600000f0, serial=1,
> ttl=900)
> A: 192.168.216.166 (flags=600000f0, serial=1, ttl=900)
> Name=_msdcs, Records=0, Children=0
> Name=_sites, Records=0, Children=1
> Name=_tcp, Records=0, Children=4
> Name=_udp, Records=0, Children=2
> Name=brockley, Records=0, Children=1
> Name=DomainDnsZones, Records=0, Children=2
> Name=ForestDnsZones, Records=0, Children=2
I get something similar, except I also get a list of computers in this
format:
? Name=<short hostname>, Records=1, Children=0
??? A: <ipaddress> (flags=f0, serial=229300, ttl=900)
One per computer. I also do not get anything like these:
Name=_msdcs, Records=0, Children=0
Name=brockley, Records=0, Children=1
Was the domain provisioned from new as a Samba domain, or did it start
out as a Windows domain. If it was a Windows domain, what was the lowest
version ?
Rowland