[Samba] Is DNS Scavenging working?

Carlos Jesus camjesus2 at gmail.com
Tue Jul 25 21:31:18 UTC 2023

Hi all!
Has anyone implemented dns scavenging on samba? What is the status of this?
I know  that samba 4.9 and then 4.15 have introduced and enhanced this
feature and I know about bug12451.

samba-tool dns zoneoptions --aging=1

seems to work.

However RSAT shows all my records as static and they just keep piling
up. Am I missing something?

I have 2 DC's on 4.17.7 with bind 9.16.37 with dynamic updates. All
running on Bullseye

Best regards!

My sanitized smb.conf, Global Section, just in case, is rather
minimal. winbind enum are there for testing.

# Global parameters
        realm = SAMDOM
        workgroup = SAMDOM
        netbios name = DC1
        server role = active directory domain controller
        idmap_ldb:use rfc2307 = yes
        log level = 1  auth_json_audit:2@/var/log/samba/auth.log
        log file = /var/log/samba/samba.log

        server services = -dns
        template shell = /bin/bash
        template homedir = /home/%U
        winbind use default domain = yes
        winbind enum users = yes
        winbind enum groups = yes
        dns zone scavenging = yes

#Disable Printing
        load printers = no
        printing = bsd
        printcap name = /dev/null
        disable spoolss = yes

More information about the samba mailing list