[Samba] Temporary Failure in Name Resolution for local names

Rowland penny rpenny at samba.org
Thu Apr 15 17:20:16 UTC 2021

On 15/04/2021 18:03, Peter Pollock via samba wrote:
> Hi All,
> Our Samba DC setup has been running well for several months now (thanks to
> many of you, especially Rowland and Louis) but we recently had a power
> outage and one of our DC's will now not resolve local names.
> The DC's were built using Louis' repo and instructions I got from Rowland.
> I can ping external names and I can ping internally by IP but I cannot ping
> by name.
> We have three DC's and two of them are fine, it's just the third that is
> having the problem.
> It means it cannot replicate.
> I have compared resolv.conf, named.conf, named.conf.options,
> named.conf.local and the interface file in /etc/netplan and they all seem
> fairly identical.
> DC01 and DC02 can resolve each other's names and also the DC11 but DC11
> will not resolve either DC01 or DC02.
> I've been at this for hours and have no idea where to go from here. Can
> anyone suggest anything to try?
> I'm happy to post outputs of commands, but I don't know what you will need
> to see.

Have you run these three commands:

samba-tool ldapcmp

samba-tool drs showrepl

samba-tool drs replicate

Add '--help' to the above to get further info on how to use them.

There is always the other option of demoting the bad DC and joining it 
again, if all else fails.


More information about the samba mailing list