[Samba] New PTR records not visible

Christian chanlists at googlemail.com
Wed Feb 26 12:30:56 UTC 2020


Dear all,

somehow, new PTR records are not visible. This is on 4.11.6 DC with
BIND9 ... Here is what happens:

root at dc1:~# cat /etc/samba/smb.conf
# Global parameters
[global]
        bind interfaces only = Yes
        interfaces = 127.0.0.1 XXX.YYY.103.1
        netbios name = DC1
        realm = SAMDOM.REST_OF_FQDN
        server role = active directory domain controller
        server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc,
drepl, winbindd, ntp_signd, kcc, dnsupdate
        workgroup = SAMDOM
        idmap_ldb:use rfc2307 = yes
        winbind expand groups = 2
        wins support = yes
        template shell = /bin/bash
        winbind enum users = yes
        winbind enum groups = yes
        ntlm auth = yes
        allow dns updates = disabled
        kdc:service ticket lifetime = 24
        kdc:user ticket lifetime = 24
        kdc:renewal lifetime = 168

[netlogon]
        path = /var/lib/samba/sysvol/fqdn/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No
root at dc1:~# host XXX.YYY.103.216
Host 216.103.YYY.XXX.in-addr.arpa. not found: 3(NXDOMAIN)
root at dc1:~# samba-tool dns add dc1 103.YYY.XXX.in-addr.arpa 216 PTR \
afs3.rest_of_fqdn -k yes
Record added successfully
root at dc1:~# host XXX.YYY.103.216
Host 216.103.YYY.XXX.in-addr.arpa. not found: 3(NXDOMAIN)
root at dc1:~# samba-tool dns delete dc1 103.YYY.XXX.in-addr.arpa 216 PTR \
afs3.rest_of_fqdn -k yes
Record deleted successfully

What is happening here?

We also use a script to set DNS records from ISC DHCP using calls to
samba-tool. Until recently, we also used that to create reverse records.
However, with the change from 4.10 to 4.11, it started to create some
records in the wrong reverse zones, so I have disabled the part of the
script that creates reverse records...

Could this be related to this thread here?

https://www.spinics.net/lists/samba/msg162253.html

Thanks for any insights,

Christian



More information about the samba mailing list