<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04/30/2013 03:45 PM, Petr Spacek
wrote:<br>
</div>
<blockquote cite="mid:517FCAF5.70103@redhat.com" type="cite">Hello,
<br>
<br>
Replace TTL values > 2^31-1 with 0.
<br>
<br>
The rule comes from RFC 2181 section 8.
<br>
<br>
<a class="moz-txt-link-freetext" href="https://fedorahosted.org/bind-dyndb-ldap/ticket/117">https://fedorahosted.org/bind-dyndb-ldap/ticket/117</a>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
</blockquote>
<br>
ACK, works fine.<br>
<br>
Just one question though, the patch as it is leaves the invalid TTL
value in the tree,<br>
even though it is never interpreted as one (thanks to this patch).<br>
<br>
$ ipa dnsrecord-show ipa.example.com skuska --all<br>
dn:
idnsname=skuska,idnsname=ipa.example.com,cn=dns,dc=ipa,dc=example,dc=com<br>
Record name: skuska<br>
Time to live: 2147483648<br>
A record: 192.168.0.1<br>
objectclass: top, idnsrecord<br>
<br>
from /var/log/messages:<br>
named[18275]: entry
'idnsname=skuska,idnsname=ipa.example.com,cn=dns,dc=ipa,dc=example,dc=com':
entry TTL 2147483648 > MAXTTL, setting TTL to 0<br>
<br>
Wouldn't that be confusing to the user? Shouldn't we fix the TTL
value set in the entry as well?<br>
<br>
Tomas<br>
</body>
</html>