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              0.0.0.0:*               OU?A
    534/lighttpd
tcp        0      0 192.168.1.20:53          0.0.0.0:*               OU?A
    1930/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               OU?A
    1930/named
tcp        0      0 127.0.0.1:953           0.0.0.0:*               OU?A
    1930/named
tcp        0      0 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            0.0.0.0:*
    1930/named
Should I perform the same procedures on DC 2 or is there any difference?
Regards,
M?rcio Bacci
Em seg, 2 de set de 2019 ?s 09:27, Rowland penny via samba <
samba at lists.samba.org> escreveu:
> On 02/09/2019 13:19, Marcio Demetrio Bacci wrote:
> > Hi,
> >
> >
> >
> > >is Bind9 running ?
> > Yes
> > netstat -lntup | grep 53
> > tcp        0      0 127.0.0.1:953 <http://127.0.0.1:953>
> > 0.0.0.0:*               OU?A       13296/named
> > tcp        0      0 0.0.0.0:49153 <http://0.0.0.0:49153>
> > 0.0.0.0:*               OU?A       15105/samba: task[d
> > tcp6       0      0 :::49153                :::*      OU?A
> > 15105/samba: task[d
>
> That will be a NO then.
>
> On my DC:
>
> netstat -lntup | grep 53
> tcp        0      0 192.168.0.6:53 0.0.0.0:*               LISTEN
> 30254/named
> tcp        0      0 127.0.0.1:53 0.0.0.0:*               LISTEN
> 30254/named
> tcp        0      0 127.0.0.1:953 0.0.0.0:*               LISTEN
> 30254/named
> tcp        0      0 0.0.0.0:49153 0.0.0.0:*               LISTEN
> 4324/samba: task[dc
> tcp6       0      0 ::1:953 :::*                    LISTEN      30254/named
> tcp6       0      0 :::49153 :::*                    LISTEN
> 4324/samba: task[dc
> udp        0      0 192.168.0.6:53 0.0.0.0:*
> 30254/named
> udp        0      0 127.0.0.1:53 0.0.0.0:*
> 30254/named
>
> >
> >  /etc/init.d/bind9 status
> > ? bind9.service - BIND Domain Name Server
> >    Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor
> > preset: enabled)
> >    Active: active (running) since Mon 2019-09-02 08:28:13 -03; 3s ago
> >      Docs: man:named(8)
> >  Main PID: 13296 (named)
> >     Tasks: 7 (limit: 4720)
> >    CGroup: /system.slice/bind9.service
> >            ??13296 /usr/sbin/named -f -u bind -4
> >
> > set 02 08:28:13 samba4-dc1 named[13296]: set up managed keys zone for
> > view _default, file 'managed-keys.bind'
> > set 02 08:28:13 samba4-dc1 named[13296]: configuring command channel
> > from '/etc/bind/rndc.key'
> > set 02 08:28:13 samba4-dc1 named[13296]: command channel listening on
> > 127.0.0.1#953
> > set 02 08:28:13 samba4-dc1 named[13296]: managed-keys-zone: loaded
> > serial 0
> > set 02 08:28:13 samba4-dc1 named[13296]: zone 0.in-addr.arpa/IN:
> > loaded serial 1
> > set 02 08:28:13 samba4-dc1 named[13296]: zone localhost/IN: loaded
> > serial 2
> > set 02 08:28:13 samba4-dc1 named[13296]: zone 255.in-addr.arpa/IN:
> > loaded serial 1
> > set 02 08:28:13 samba4-dc1 named[13296]: zone 127.in-addr.arpa/IN:
> > loaded serial 1
> > set 02 08:28:13 samba4-dc1 named[13296]: all zones loaded
> > set 02 08:28:13 samba4-dc1 named[13296]: running
>
> No AD domains !
>
> Double check all the Bind9 named.conf files.
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
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
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 >
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 > >