Marcio, Just so you know what was wrong.> listen-on port 53 { 192.168.1.20; 127.0.01; };The Bin9 "not starting problem " wrong was.. 127.0.01 should be ... Ah you know.. Your missing a "dot".. But good you made it. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Marcio Demetrio Bacci via samba > Verzonden: maandag 2 september 2019 15:21 > Aan: Rowland penny > CC: sambalist > Onderwerp: Re: [Samba] Problems with Internal DNS Samba 4 > > Hi, > > >If you are running Bind9 on the other DC, then yes. > Is there any problem running bind9 on both DCs? > > Regards, > > M?rcio Bacci > > Em seg, 2 de set de 2019 ?s 10:16, Rowland penny via samba < > samba at lists.samba.org> escreveu: > > > On 02/09/2019 14:09, Marcio Demetrio Bacci wrote: > > > Hi, > > > > > > I have solved. > > > > > > I change parameter "listen-on port 53", as follows: > > > From: > > > listen-on port 53 { 192.168.1.20; 127.0.01; }; > > > > > > To: > > > listen-on port 53 { any; }; > > > > > > netstat -lntup | grep 53 > > > tcp 0 0 0.0.0.0:81 <http://0.0.0.0:81> > > > 0.0.0.0:* OU?A 534/lighttpd > > > tcp 0 0 192.168.1.20:53 <http://192.168.1.20:53> > > > 0.0.0.0:* OU?A 1930/named > > > tcp 0 0 127.0.0.1:53 <http://127.0.0.1:53> > > > 0.0.0.0:* OU?A 1930/named > > > tcp 0 0 127.0.0.1:953 <http://127.0.0.1:953> > > > 0.0.0.0:* OU?A 1930/named > > > tcp 0 0 0.0.0.0:49153 <http://0.0.0.0:49153> > > > 0.0.0.0:* OU?A 662/samba: task[dce > > > tcp6 0 0 :::81 :::* OU?A > > > 534/lighttpd > > > tcp6 0 0 :::49153 :::* OU?A > > > 662/samba: task[dce > > > udp 0 0 192.168. 1.20:53 0.0.0.0:* 1930/named > > > udp 0 0 127.0.0.1:53 <http://127.0.0.1:53> > > > 0.0.0.0:* 1930/named > > > > > > > > > Should I perform the same procedures on DC 2 or is there > any difference? > > > > > If you are running Bind9 on the other DC, then yes. > > > > Rowland > > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Hi,> 127.0.01 should be ... Ah you know.. Your missing a "dot"..Sorry, it was lack of attention. I'm tired! I will join the domain a third DC (samba4-dc3). So just install bind9, configure bind9_dlz and join with the command " samba-tool domain join empresa.com.br DC -k yes --serversamba4-dc1.empresa.com.br --dns-backend=BIND9_DLZ" ? Regards, M?rcio Bacci Em seg, 2 de set de 2019 ?s 10:30, L.P.H. van Belle via samba < samba at lists.samba.org> escreveu:> Marcio, > > Just so you know what was wrong. > > > listen-on port 53 { 192.168.1.20; 127.0.01; }; > > The Bin9 "not starting problem " wrong was.. > > 127.0.01 should be ... Ah you know.. Your missing a "dot".. > > But good you made it. > > > Greetz, > > Louis > > > > > > -----Oorspronkelijk bericht----- > > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > > Marcio Demetrio Bacci via samba > > Verzonden: maandag 2 september 2019 15:21 > > Aan: Rowland penny > > CC: sambalist > > Onderwerp: Re: [Samba] Problems with Internal DNS Samba 4 > > > > Hi, > > > > >If you are running Bind9 on the other DC, then yes. > > Is there any problem running bind9 on both DCs? > > > > Regards, > > > > M?rcio Bacci > > > > Em seg, 2 de set de 2019 ?s 10:16, Rowland penny via samba < > > samba at lists.samba.org> escreveu: > > > > > On 02/09/2019 14:09, Marcio Demetrio Bacci wrote: > > > > Hi, > > > > > > > > I have solved. > > > > > > > > I change parameter "listen-on port 53", as follows: > > > > From: > > > > listen-on port 53 { 192.168.1.20; 127.0.01; }; > > > > > > > > To: > > > > listen-on port 53 { any; }; > > > > > > > > netstat -lntup | grep 53 > > > > tcp 0 0 0.0.0.0:81 <http://0.0.0.0:81> > > > > 0.0.0.0:* OU?A 534/lighttpd > > > > tcp 0 0 192.168.1.20:53 <http://192.168.1.20:53> > > > > 0.0.0.0:* OU?A 1930/named > > > > tcp 0 0 127.0.0.1:53 <http://127.0.0.1:53> > > > > 0.0.0.0:* OU?A 1930/named > > > > tcp 0 0 127.0.0.1:953 <http://127.0.0.1:953> > > > > 0.0.0.0:* OU?A 1930/named > > > > tcp 0 0 0.0.0.0:49153 <http://0.0.0.0:49153> > > > > 0.0.0.0:* OU?A 662/samba: task[dce > > > > tcp6 0 0 :::81 :::* OU?A > > > > 534/lighttpd > > > > tcp6 0 0 :::49153 :::* OU?A > > > > 662/samba: task[dce > > > > udp 0 0 192.168. 1.20:53 0.0.0.0:* 1930/named > > > > udp 0 0 127.0.0.1:53 <http://127.0.0.1:53> > > > > 0.0.0.0:* 1930/named > > > > > > > > > > > > Should I perform the same procedures on DC 2 or is there > > any difference? > > > > > > > If you are running Bind9 on the other DC, then yes. > > > > > > Rowland > > > > > > > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: https://lists.samba.org/mailman/options/samba > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Hai Marcio, ? oeps..? i hitted ALT-s ..??@marcio, the complete message. ;-)??is.. ? yes, i see you working at some late hours.. ? So setup the bind9, keep the 2 lines disabled, join samba then enable the 2 lines, start bind, start samba. ? i added the lines with >> ? in name.conf.options.. // https://wiki.samba.org/index.php/Dns-backend_bind // DNS dynamic updates via Kerberos (optional, but recommended) >> // ONE of the following lines should be enabled AFTER you provision or join a DC with bind9_dlz >> // or AFTER upgrading your dns from internal to bind9_dlz // Before Samba 4.9.0 // tkey-gssapi-keytab "/var/lib/samba/private/dns.keytab"; // From Samba 4.9.0 ( You will need to run samba_dnsupgrade if upgrading your Samba version. ) //tkey-gssapi-keytab "/var/lib/samba/bind-dns/dns.keytab"; ? ? and ..>>? And this next one is done also AFTER you provisioned/joined or upgrade from samba internal dns to bind9_dlz.The fourth file?/etc/bind/named.conf.local, just needs the addition of one line, to link in another file provided by Samba: //include "/var/lib/samba/bind-dns/named.conf"; Greetz, ? Louis ? Van: L.P.H. van Belle Verzonden: maandag 2 september 2019 16:27 Aan: 'Marcio Demetrio Bacci' Onderwerp: RE: [Samba] Problems with Internal DNS Samba 4 Hai Marcio, ? Ive updated the wiki a bit?so that part should be a bit more clear. If DC3 is a new server, then yes. ? Just a side note i added on the wiki. ? ( named.conf.options ) ? ? ? Van: Marcio Demetrio Bacci [mailto:marciobacci at gmail.com] Verzonden: maandag 2 september 2019 16:11 Aan: L.P.H. van Belle CC: samba at lists.samba.org Onderwerp: Re: [Samba] Problems with Internal DNS Samba 4 Hi,> 127.0.01 should be ... Ah you know.. Your missing a "dot"..Sorry, it was lack of attention. I'm tired! I will join the domain a third DC (samba4-dc3). So just install bind9, configure bind9_dlz and join with the command " samba-tool domain join empresa.com.br DC -k yes --server=samba4-dc1.empresa.com.br --dns-backend=BIND9_DLZ" ? Regards, M?rcio Bacci?? Em seg, 2 de set de 2019 ?s 10:30, L.P.H. van Belle via samba <samba at lists.samba.org> escreveu: Marcio, Just so you know what was wrong.> listen-on port 53 { 192.168.1.20; 127.0.01; };The Bin9 "not starting problem " wrong was..? 127.0.01 should be ... Ah you know.. Your missing a "dot".. But good you made it. Greetz, Louis
Thank you very much! Regards, M?rcio Bacci Em seg, 2 de set de 2019 ?s 11:32, L.P.H. van Belle <belle at bazuin.nl> escreveu:> Hai Marcio, > > oeps.. i hitted ALT-s .. @marcio, the complete message. ;-) is.. > > yes, i see you working at some late hours.. > > So setup the bind9, keep the 2 lines disabled, > join samba then enable the 2 lines, start bind, start samba. > > i added the lines with >> > > in name.conf.options.. > > // https://wiki.samba.org/index.php/Dns-backend_bind > // DNS dynamic updates via Kerberos (optional, but recommended) > >> // ONE of the following lines should be enabled AFTER you provision or join a DC with bind9_dlz > >> // or AFTER upgrading your dns from internal to bind9_dlz > // Before Samba 4.9.0 > // tkey-gssapi-keytab "/var/lib/samba/private/dns.keytab"; > // From Samba 4.9.0 ( You will need to run samba_dnsupgrade if upgrading your Samba version. ) > //tkey-gssapi-keytab "/var/lib/samba/bind-dns/dns.keytab"; > > > > and .. > > >> And this next one is done also AFTER you provisioned/joined or > upgrade from samba internal dns to bind9_dlz. > The fourth file /etc/bind/named.conf.local, just needs the addition of > one line, to link in another file provided by Samba: > > //include "/var/lib/samba/bind-dns/named.conf"; > > Greetz, > > Louis > > > ------------------------------ > *Van:* L.P.H. van Belle > *Verzonden:* maandag 2 september 2019 16:27 > *Aan:* 'Marcio Demetrio Bacci' > *Onderwerp:* RE: [Samba] Problems with Internal DNS Samba 4 > > Hai Marcio, > > Ive updated the wiki a bit so that part should be a bit more clear. > If DC3 is a new server, then yes. > > Just a side note i added on the wiki. > > ( named.conf.options ) > > > > > ------------------------------ > *Van:* Marcio Demetrio Bacci [mailto:marciobacci at gmail.com] > *Verzonden:* maandag 2 september 2019 16:11 > *Aan:* L.P.H. van Belle > *CC:* samba at lists.samba.org > *Onderwerp:* Re: [Samba] Problems with Internal DNS Samba 4 > > Hi, > > > 127.0.01 should be ... Ah you know.. Your missing a "dot".. > Sorry, it was lack of attention. I'm tired! > > I will join the domain a third DC (samba4-dc3). So just install bind9, > configure bind9_dlz and join with the command " > samba-tool domain join empresa.com.br DC -k yes --server> samba4-dc1.empresa.com.br --dns-backend=BIND9_DLZ" ? > > Regards, > > M?rcio Bacci > > > Em seg, 2 de set de 2019 ?s 10:30, L.P.H. van Belle via samba < > samba at lists.samba.org> escreveu: > >> Marcio, >> >> Just so you know what was wrong. >> >> > listen-on port 53 { 192.168.1.20; 127.0.01; }; >> >> The Bin9 "not starting problem " wrong was.. >> >> 127.0.01 should be ... Ah you know.. Your missing a "dot".. >> >> But good you made it. >> >> >> Greetz, >> >> Louis >> >>