[Samba] Add New DNS Server

basti
Wed, 10 Jun 2020 16:54:54 -0000

joined another DC running Bind9. but dns is not in sync.

dig ns samdom.example.com @dc1.samdom.example.com

; <<>> DiG 9.11.5-P4-5.1-Debian <<>> ns
samdom.example.com
@dc1.samdom.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34734
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 0956fcb0ae9a2c4c596e5db15ee103e0e65e55009edb1864 (good)
;; QUESTION SECTION:
;samdom.example.com.		IN	NS

;; ANSWER SECTION:
samdom.example.com.	900	IN	NS	dc2.samdom.example.com.
samdom.example.com.	900	IN	NS	dc1.samdom.example.com.

vs

root at dc1:~# dig ns samdom.example.com @dc2.samdom.example.com

; <<>> DiG 9.11.5-P4-5.1-Debian <<>> ns
samdom.example.com
@dc2.samdom.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35143
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 0d9b337c611dc699c08d706f5ee10401f444f5b8219c4b56 (good)
;; QUESTION SECTION:
;samdom.example.com.		IN	NS

;; ANSWER SECTION:
samdom.example.com.	900	IN	NS	dc1.samdom.example.com.

;; ADDITIONAL SECTION:
dc1.samdom.example.com. 900	IN	A	192.168.1.133



Am 10.06.20 um 16:52 schrieb Rowland penny via samba:
> On 10/06/2020 15:30, basti via samba wrote:
>> Hello,
>> I have try to add a new DNS Server to a existing Samba AD with bind
DLZ.
>
> Can you expand on that ?
>
> Do you mean that you have joined another DC running Bind9, or do you
> mean a Unix domain member with Bind9 running on it ?
>
> Rowland
>
>
>