[Samba] mark-records-dynamic-regex in Samba 4.15

Rowland Penny rpenny at samba.org
Mon Jan 10 09:29:36 UTC 2022


On Mon, 2022-01-10 at 09:56 +0100, Christian Naumer via samba wrote:
> Hello all,
> upgraded our DCs to 4.15 and so far everything is ok. Now I wanted
> to 
> try the new feature mark-records-dynamic-regex in samba-tool.
> I tried with a forward zone like this:
> 
> samba-tool dns zoneoptions dcname hq.domain.de 
> --mark-records-dynamic-regex='computername' -n -P
> would make 1/1 records dynamic on computername.hq.domain.de.
> 
> 
> samba-tool dns zoneoptions dcname hq.domain.de 
> --mark-records-dynamic-regex='computername' -P
> made 1/1 records dynamic on computername.hq.domain.de.
> 
> This works as expected.
> 
> Nor I wanted to do this with a reverse zone:
> 
> samba-tool dns zoneoptions dcname 8.0.10.in-addr.arpa 
> --mark-records-dynamic-regex='10.0.8.11' -n -P
> 
> this just returns nothing and does not change the record. I also
> tried 
> these:
> 
> --mark-records-dynamic-regex='11'
> --mark-records-dynamic-regex='/d+'
> --mark-records-dynamic-regex='/w+'
> --mark-records-dynamic-regex='10.0.8.\d+'
> --mark-records-dynamic-regex='10.0.8.\d{1,3}'
> 
> all of them did not work.

They wouldn't, '--mark-records-dynamic-regex' only works with 'A, AAAA
and TXT' records.

Rowland





More information about the samba mailing list