[Samba] samba-tool dns query

mathias dufresne infractory at gmail.com
Thu Jun 4 13:43:05 UTC 2020


Hi James,

You missing details would not be there:
A: 192.168.216.166 (flags=600000f0, serial=1, ttl=900)
?

Here a request against some host on my own AD domain:
samba-tool dns query localhost  ad.domain.tld win10c01.ad.domain.tld ALL -U
username
Password for [AD\username]:
  Name=, Records=1, Children=0
    A: 10.11.12.13 (flags=f0, serial=5440, ttl=1200)

This line appears also in your request. There is only one A record (most
certainly because you did not joined any computer or DC into your domain)
but still, there is one.

Testing your request on my own domain lists all computers and their
addresses.

Regarding reverse DNS records, I don't know how to get them yet.


Le mar. 2 juin 2020 à 17:03, James B. Byrne via samba <samba at lists.samba.org>
a écrit :

> 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?
>
> When I use the dns query option of samba-tool I get a summary but no
> detail:
>
> samba-tool dns query localhost 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
>
>
>
>
>
> --
> ***          e-Mail is NOT a SECURE channel          ***
>         Do NOT transmit sensitive data via e-Mail
>  Do NOT open attachments nor follow links sent by e-Mail
>
> James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
> Harte & Lyne Limited          http://www.harte-lyne.ca
> 9 Brockley Drive              vox: +1 905 561 1241
> Hamilton, Ontario             fax: +1 905 561 0757
> Canada  L8E 3C3
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list