[Samba] FW: How to determine DNS anomaly

L. van Belle belle at samba.org
Fri May 6 10:25:53 UTC 2022


Aah... stupid email client and borking the html layout. 
a resend but in plain text. 

Hai,

Ah.. sorry direct mail and not the list..  
Yes, thats one i missed, your : search MY.. I assumed.. (yeah that’s wrong
assumptions..).. 

but now I know you use netplan.. 
Add in the netplan config the following so you are always sure your
resolv.conf is right. 

DC1 
Network
network:
    version: 2
    renderer: networkd
    ethernets:
        eno1:
            addresses:
                - 192.168.50.11/24
            nameservers:
                  search [my.domain]
                addresses: [192.168.50.11]
            routes:
                - to: default
                  via: 192.168.50.1


and DC2. 
Network
network:
    version: 2
    renderer: networkd
    ethernets:
        eno1:
            addresses:
                - 10.0.1.9/24
            nameservers:
                  search [my.domain]
                addresses: [192.168.50.11]
            routes:
                - to: default
                  via: 192.168.50.1


so, with that. 

first do DC2. So you have 2 DC online again. 
change netplan  config apply it, check resolv.conf and reboot. 
Then check again if replication is up again. 
If not report back. 


on this : 
>>  DC02 (Clients on this site will still use dc01 as NS / for gpos etc)

if above works correctly, then do setup sysvol replication, windows „should“
go to the closed AD-DC.. 
But, first things first. 

And why not upgrading you 21.10 to 22.04. 


Greetz, 

Louis






More information about the samba mailing list