[Samba] 2 AD DNS questions

Rowland penny rpenny at samba.org
Sat Feb 20 18:30:45 UTC 2021


On 20/02/2021 17:40, Dale via samba wrote:
>
> After running the commands above, the extra records are now in the 
> output of the ldbsearch command; however, I see in the output from dc2 
> that the mname value is still dc1, unlike the output from your dc4.  
> Is this critical or does it need to be changed, too?
>

That will probably be the DC that was provisioned. If I run an ldbsearch 
on each DC, I get the same output on each (snipped for brevity):

dc4:

dn: 
DC=@,DC=samdom.example.com,CN=MicrosoftDNS,DC=DomainDnsZones,DC=samdom,DC=example,DC=com
dnsRecord:     NDR: struct dnsp_DnssrvRpcRecord
         wType                    : DNS_TYPE_SOA (6)
         soa: struct dnsp_soa
             mname                    : dc4.samdom.example.com

dc01:

dn: 
DC=@,DC=samdom.example.com,CN=MicrosoftDNS,DC=DomainDnsZones,DC=samdom,DC=example,DC=com
dnsRecord:     NDR: struct dnsp_DnssrvRpcRecord
         wType                    : DNS_TYPE_SOA (6)
         soa: struct dnsp_soa
             mname                    : dc4.samdom.example.com

As you can see, the 'mname' is the same, which isn't surprising, as the 
output comes from AD.

What matters is, if you run 'host -t soa <dns.domain.tld>' on each DC, 
is that DC's FQDN amongst the output.

Rowland





More information about the samba mailing list