[PATCH] samba-tool: the soa.dwMinimumTtl is not initialized when a soa record is created (DNS)
Amitay Isaacs
amitay at gmail.com
Mon May 27 22:37:49 MDT 2013
Hi,
On Tue, May 28, 2013 at 9:39 AM, Günter Kukkukk <linux at kukkukk.com> wrote:
> when using my (atm local) output format "flat" option with
> samba-tool dns query linux300 intranet01.hom @ ALL --outformat=flat
>
> intranet01.hom. 3600 IN SOA linux300.intranet01.hom.
> hostmaster.intranet01.hom. (
> 100 ; serial number of this zone file
> 900 ; slave refresh
> 600 ; slave retry time in case of a
> problem
> 86400 ; slave expiration time
> 0 ; negative caching time (former
> "minimum")
> )
> intranet01.hom. 3600 NS linux300.intranet01.hom.
> .... snip ...
>
> i noticed, that the negative caching time (former "minimum") is always
> zero.
> This patch should fix it.
> Please review and possibly push.
>
> Cheers, Günter
>
Yes, I had the patch for that sitting in my dns-wip branch. :-)
It also displays TTL value when you print SOA record. I have attached the
patch.
Amitay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-dns-Print-Set-minimumTTL-value-in-SOA-record.patch
Type: application/octet-stream
Size: 1605 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130528/9c87a1bc/attachment.obj>
More information about the samba-technical
mailing list