[PATCH] samba-tool/dns: Fix a typo in ttl variable name

David Mansfield samba at dm.cobite.com
Fri Apr 19 13:20:37 MDT 2013

On 04/19/2013 11:01 AM, Amitay Isaacs wrote:
> Hi,
> This patch fixes the issue of ttl=0 when adding PTR records via samba-tool
> dns add.
> Please review and push.
> Amitay.

Thanks, Amitay.

Tested/confirmed by hand-patching my installation.  I removed a record 
then re-added and indeed the TTL is now 900.

Do you know a convenient way other than scripting a "remove" / "add" for 
every PTR in every reverse zone to update the TTL from 0 to 900?  (e.g. 
a batch import into samba internal DNS, so that I could dump, edit and 

I see the objects under  "DC=DomainDnsZones,DC=cobite,DC=com" and I see 
that the dnsRecord is a binary blob...

David Mansfield

More information about the samba-technical mailing list