Hello, I have try to add a new DNS Server to a existing Samba AD with bind DLZ. I have try https://wiki.samba.org/index.php/DNS_Administration#Adding_new_records A New NS Record is add, on the old DNS dig show the new NS entry but that is not shown on the backup dns. The backup DNS is youn to domain. samba-tool drs showrepl looks good Is there a command to join a new dns server to the samba ad?
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
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 On 10.06.20 16:52, Rowland penny via samba wrote:> 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 > > >
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 > > >