Web lists-archives.com

Re: [Samba] Demoted dc not completely demoted, maybe?




On Fri, 9 Mar 2018 08:06:46 -0600
Robert Wooden <bob@xxxxxxxxxxxxxxxxxx> wrote:

> Replaced as instructed and ran the command. It claimed "success",
> however (RSAT) DNS Manager still shows demoted DC as SOA record.
> 
> BTW, this demoted DC is now shut off.
> 
> Suggestions?
> 

Try this:

ldbsearch -H /usr/local/samba/private/sam.ldb --cross-ncs --show-binary
-b
'DC=samdom.example.com,CN=MicrosoftDNS,DC=DomainDnsZones,DC=samdom,DC=example,DC=com'
-s sub '(&(objectClass=dnsNode)(DC=@))'

NOTE: it should all be on one line.

It should produce the SOA record (after you make the obvious changes),
what 'dnsRecord' objects does it show ? There should a 'DNS_TYPE_NS'
and a 'DNS_TYPE_A' record for each DC. Is the dead DC amongst them ?

Rowland


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba