<div dir="ltr">Yeah it is indeed a odd issue, I'm reporting it to the dev see if its a bug.<br><br>I tried to set cache-min-ttl to 1 but I still don't get an ip using host or drill, and see this in the log:<div><br>

</div><div><div>;; ANSWER SECTION:</div><div>yoda.geek.local.        1       IN      A       10.10.50.50</div><div><br></div><div>;; AUTHORITY SECTION:</div><div><br></div><div>;; ADDITIONAL SECTION:</div><div><br></div>
<div>
;; Query time: 0 msec</div><div>;; WHEN: Thu Jan  1 01:00:00 1970</div><div>;; MSG SIZE  rcvd: 49</div><div><br></div><div>[1394727382] unbound[10696:0] debug: iter_handle processing q with state QUERY RESPONSE STATE</div>

<div>[1394727382] unbound[10696:0] info: query response was ANSWER</div><div>[1394727382] unbound[10696:0] debug: iter_handle processing q with state FINISHED RESPONSE STATE</div><div>[1394727382] unbound[10696:0] info: finishing processing for yoda.geek.local. A IN</div>

<div>[1394727382] unbound[10696:0] debug: mesh_run: iterator module exit state is module_finished</div><div>[1394727382] unbound[10696:0] debug: validator[module 0] operate: extstate:module_wait_module event:module_event_moddone</div>

<div>[1394727382] unbound[10696:0] info: validator operate: query yoda.geek.local. A IN</div><div>[1394727382] unbound[10696:0] debug: validator: nextmodule returned</div><div>[1394727382] unbound[10696:0] debug: val handle processing q with state VAL_INIT_STATE</div>

<div>[1394727382] unbound[10696:0] debug: validator classification positive</div><div>[1394727382] unbound[10696:0] info: no signer, using yoda.geek.local. TYPE0 CLASS0</div><div>[1394727382] unbound[10696:0] debug: val handle processing q with state VAL_FINISHED_STATE</div>

<div>[1394727382] unbound[10696:0] debug: mesh_run: validator module exit state is module_finished</div><div>[1394727382] unbound[10696:0] debug: query took 0.002806 sec</div><div>[1394727382] unbound[10696:0] info: mesh_run: end 0 recursion states (0 with reply, 0 detached), 0 waiting replies, 190 recursion replies sent, 0 replies dropped, 0 states jostled out</div>

<div>[1394727382] unbound[10696:0] info: average recursion processing time 0.159627 sec</div><div>[1394727382] unbound[10696:0] info: histogram of recursion processing times</div><div>[1394727382] unbound[10696:0] info: [25%]=0.0868352 median[50%]=0.117965 [75%]=0.214897</div>

<div>[1394727382] unbound[10696:0] info: lower(secs) upper(secs) recursions</div><div>[1394727382] unbound[10696:0] info:    0.001024    0.002048 8</div><div>[1394727382] unbound[10696:0] info:    0.002048    0.004096 7</div>

<div>[1394727382] unbound[10696:0] info:    0.065536    0.131072 100</div><div>[1394727382] unbound[10696:0] info:    0.131072    0.262144 43</div><div>[1394727382] unbound[10696:0] info:    0.262144    0.524288 27</div>
<div>
[1394727382] unbound[10696:0] info:    0.524288    1.000000 4</div><div>[1394727382] unbound[10696:0] info:    1.000000    2.000000 1</div><div>[1394727382] unbound[10696:0] debug: cache memory msg=143211 rrset=189624 infra=3093 val=86798</div>

<div>[1394727382] unbound[10696:0] debug: svcd callbacks end</div><div>[1394727382] unbound[10696:0] debug: close of port 21439</div><div>[1394727382] unbound[10696:0] debug: close fd 10</div></div><div><br></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Thu, Mar 13, 2014 at 3:03 PM, Leen Besselink <span dir="ltr"><<a href="mailto:leen@consolejunkie.net" target="_blank">leen@consolejunkie.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On Wed, Mar 12, 2014 at 10:14:41PM +0000, Miguel Clara wrote:<br>
> I'm using "local_unbound" on FreeBSD 10.<br>
><br>
> I have dnscrypt running on 127.0.0.2, and this seems to work fine, but I<br>
> noticed my local queries which are forwarded to the local router running<br>
> Asus Merlin firmware are getting giving me no answer and with verbose 5 I<br>
> was able to see this error:<br>
><br>
> "TTL 0: dropped msg from cache"<br>
><br>
> Querying the server (router) directly gives a proper answer, and it is true<br>
> that the TTL is "0", is this the expected behavior?<br>
<br>
</div>I've personally never seen a router do that (by default), but if it really<br>
does that than could explains why Unbound might have a problem with it.<br>
<br>
Because 0 is an extremely low value.<br>
<div class=""><br>
> I don't think I have a way to change the TTL for local domain under Asus<br>
> Merlin, but I could look into it, still even if this is the expected<br>
> behavior is this, is there anything I can change in the config to<br>
> workaround it?<br>
><br>
<br>
</div>Have you tried setting cache-min-ttl in Unbound to something higher than the<br>
default 0 ? Maybe that resolves the problem.<br>
<br>
> thanks<br>
><br>
> Mike<br>
_______________________________________________<br>
Unbound-users mailing list<br>
<a href="mailto:Unbound-users@unbound.net">Unbound-users@unbound.net</a><br>
<a href="http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users" target="_blank">http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users</a><br>
</blockquote></div><br></div>