<div dir="ltr">Thanks for finding that Tom! </div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 13, 2017 at 1:49 PM, Tom Samplonius <span dir="ltr"><<a href="mailto:tom@samplonius.org" target="_blank">tom@samplonius.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>dnscache is a pretty weird. From the webpage at <a href="http://cr.yp.to/djbdns/dnscache.html" target="_blank">http://cr.yp.to/djbdns/<wbr>dnscache.html</a> ...</div><div><br></div><div><br></div><div>“<tt>dnscache</tt> handles dotted-decimal domain names internally,
giving (e.g.) the domain name <tt>192.48.96.2</tt>
an A record of <tt>192.48.96.2</tt>."</div><div><br></div><div><br></div><div>So it looks like dnscache will return a the IP address back for any A queries for a IP address. And it looks like it returns a basically infinite ttl.</div><div><br></div><div>Why do you need this behaviour? I used to use dnscache many years ago, but dropped it when powerdns-recursor became available. I never noticed this “feature”, and never had anything break when it went away.</div><div><div class="h5"><div><br></div><div><br></div><div><br></div><br><div><blockquote type="cite"><div>On Sep 13, 2017, at 1:17 PM, Joe Williams <<a href="mailto:williams.joe@gmail.com" target="_blank">williams.joe@gmail.com</a>> wrote:</div><br class="m_1739616544222483879Apple-interchange-newline"><div><div dir="ltr">Thanks for the reply Tom, I wish I knew why as well. Right now I am just trying to make my unbound config backwards compatible to not break code that expects an answer for an IP address.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 13, 2017 at 1:05 PM, Tom Samplonius <span dir="ltr"><<a href="mailto:tom@samplonius.org" target="_blank">tom@samplonius.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
> ;; ANSWER SECTION:<br>
> 10.36.129.10. 655360 IN A 10.36.129.10<br>
<br>
<br>
</span> Looking at this answer, I’m not sure why anyone would want this behaviour?<br>
<br>
Is dnscache trying to dampen RFC1918 A queries by doing this?<br>
<span class="m_1739616544222483879HOEnZb"><font color="#888888"><br>
<br>
Tom</font></span></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></blockquote></div><br></div>