Web lists-archives.com

Re: [Samba] Recurrent DNS issues after DC loss

On 6/6/2018 10:48 AM, Rowland Penny via samba wrote:
On Wed, 6 Jun 2018 10:25:43 -0400
lingpanda101 <lingpanda101@xxxxxxxxx> wrote:

On 6/6/2018 10:02 AM, Rowland Penny via samba wrote:
On Wed, 6 Jun 2018 15:40:48 +0200
Ole Traupe via samba <samba@xxxxxxxxxxxxxxx> wrote:

On 06.06.2018 14:44, lingpanda101 wrote:
** SNIP **

Actually, the DCs (resolv.conf) were pointing to each other
initially, and I think that was at least one root of the evil. I
think this advice in the Samba wiki actually is rather bad (and
unnecessary with Samba, as has been pointed out, before?).
Using Bind I find it's necessary to point the DC to itself. I had
no issues pointing to another DC with the internal DNS. The Wiki
actually mentions best practice for a multi DC environment as it
relates to a Windows setup. I do think it's unnecessary with Samba
Just where does it say this ?
I will fix it
Hi Rowland,

      I'm referencing here under ' DNS Configuration on Domain


"The following is a best practice for DNS configuration on domain
controllers (DC):
Set the local IP of a DC as secondary or tertiary|nameserver|entry in
its|/etc/resolv.conf|file and use a different Active Directory (AD)
DNS server IP from the forest as primary name server"

It's saying to point to each other as primary. Which is best practice
to avoid a island issue. I don't think it's really an issue with
Samba though.

It doesn't say that any more ;-)

This is from my DCs

root@dc4:~# cat /etc/resolv.conf
search samdom.example.com
root@dc4:~# hostname -i

root@dc3:~# cat /etc/resolv.conf
search samdom.example.com
root@dc3:~# hostname -i

And everything works!

domain samdom.example.com
Er no, 'domain' should be 'search'


Looks good to me. Easy to understand!

Your setup is exactly how I run today in a multi DC environment.



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