[Samba] samba-tool dns query

Rowland penny rpenny at samba.org
Thu Jun 4 13:17:06 UTC 2020

On 04/06/2020 14:02, James B. Byrne wrote:
> On Wed, June 3, 2020 10:52, Rowland penny wrote:
>> On 03/06/2020 15:31, James B. Byrne wrote:
>>> 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: (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
> This is a freshly provisioned Samba-4.11 AD-DC (FreeBSD quarterly pkg) with
> exactly one other computer workstation (MS-Win7pro) joined to the domain.
> I have gone through the console history and samba-tool has only been used to
> initially provision and query. There have been no subsequent modifications made
> whatsoever by samba-tool.

OK, strike that idea then ;-)

Do you have a computer called 'brockley' ?

Also where is '_msdcs' coming from ?

How many computers in the domain ?


More information about the samba mailing list