[Samba] Problems with Internal DNS Samba 4

Marcio Demetrio Bacci marciobacci at gmail.com
Mon Sep 2 13:09:13 UTC 2019


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
>


More information about the samba mailing list