<div dir="ltr">Sorry the confusion.... the 'module-config' was commented out....<br>Uncommented unbound dont starts with that config<br>but it was my understanding of the link above with the unbound.conf on git<div><br></div><div>best regards </div><div>marko</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Fr., 12. Nov. 2021 um 10:45 Uhr schrieb George Thessalonikefs via Unbound-users <<a href="mailto:unbound-users@lists.nlnetlabs.nl">unbound-users@lists.nlnetlabs.nl</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Johannes,<br>
<br>
I see a lot of configuration errors WRT redis in your unbound.conf.<br>
Instead of me going over everything I would suggest to read the "Cache <br>
DB Module Options" section in the unbound.conf man page (Also online for <br>
the latest version: <br>
<a href="https://www.nlnetlabs.nl/documentation/unbound/unbound.conf/" rel="noreferrer" target="_blank">https://www.nlnetlabs.nl/documentation/unbound/unbound.conf/</a>) as I <br>
believe it covers all the steps and configuration you need to make.<br>
<br>
If you still have questions feel free to ask them here again.<br>
<br>
Best regards,<br>
-- George<br>
<br>
On 11/11/2021 17:42, Johannes B. Kernel via Unbound-users wrote:<br>
> @hauke , damn  ps aux showed me 2 running daemons.....<br>
> and i found out, i "missed" to copy over the access.conf in  <br>
> unbound.conf.d/  :-)<br>
> <br>
> now nearlyall is running fine..<br>
> only redis seems not to cache.....<br>
> <br>
> my unbound.conf.<br>
> <br>
> server:<br>
> <br>
> statistics-cumulative: yes<br>
> extended-statistics: yes<br>
> log-queries: yes<br>
> log-servfail: yes<br>
> verbosity: 3<br>
> val-log-level: 2<br>
> auto-trust-anchor-file: /etc/unbound/var/root-anchors.txt<br>
> <br>
> interface: 127.0.0.1<br>
> interface: 192.168.100.250<br>
> interface: 192.168.120.251<br>
> interface: 192.168.110.250<br>
> <br>
> outgoing-interface: 192.168.100.250<br>
> outgoing-interface: 192.168.110.250<br>
> outgoing-interface: 192.168.120.251<br>
> outgoing-interface: 116.202.87.165<br>
> <br>
> num-threads: 8<br>
> <br>
> include: /etc/unbound/unbound.conf.d/access_options.conf<br>
> include: /etc/unbound/unbound.conf.d/name_solving.conf<br>
> include: /etc/unbound/unbound.conf.d/privacy_options.conf<br>
> include: /etc/unbound/unbound.conf.d/cache_options.conf<br>
> include: /etc/unbound/unbound.conf.d/dnssec_options.conf<br>
> include: /etc/unbound/unbound.conf.d/blacklist.conf<br>
> include: /etc/unbound/unbound.conf.d/local_names.conf<br>
> include: /etc/unbound/unbound.conf.d/opennic_names.conf<br>
> include: /etc/unbound/unbound.conf.d/forwarders.conf<br>
> <br>
> remote-control:<br>
>        control-enable: yes<br>
> <br>
> cachedb:<br>
>    backend: "testframe"<br>
>    secret-seed: "default"<br>
>    redis-server-host: 127.0.0.1<br>
>    redis-server-port: 6379<br>
>    redis-timeout: 100<br>
>    redis-expire-records: no<br>
> <br>
> <br>
> <br>
> when i connect my redis server via "redis-cli" .....<br>
> <br>
> supabunka/etc/unbound #redis-cli<br>
> <a href="http://127.0.0.1:6379" rel="noreferrer" target="_blank">127.0.0.1:6379</a> <<a href="http://127.0.0.1:6379" rel="noreferrer" target="_blank">http://127.0.0.1:6379</a>>> keys *<br>
> (empty array)<br>
> <a href="http://127.0.0.1:6379" rel="noreferrer" target="_blank">127.0.0.1:6379</a> <<a href="http://127.0.0.1:6379" rel="noreferrer" target="_blank">http://127.0.0.1:6379</a>>><br>
> <br>
> <br>
> seems nothing get cached......<br>
> <br>
> any idea?<br>
> <br>
> <br>
> Am Mi., 10. Nov. 2021 um 18:29 Uhr schrieb Hauke Lampe via Unbound-users <br>
> <<a href="mailto:unbound-users@lists.nlnetlabs.nl" target="_blank">unbound-users@lists.nlnetlabs.nl</a> <br>
> <mailto:<a href="mailto:unbound-users@lists.nlnetlabs.nl" target="_blank">unbound-users@lists.nlnetlabs.nl</a>>>:<br>
> <br>
> <br>
>     On 10.11.21 17:50, Johannes B. Kernel via Unbound-users wrote:<br>
> <br>
>      > and now it works, for 3-5 requests, the all gets refused for 2-5<br>
>     time, then<br>
>      > again it works .............<br>
>      ><br>
>      > Nov 10 17:45:40 supabunka unbound: [25308:1] debug: refused query<br>
>     from ip4<br>
>      > Nov 10 17:45:43 supabunka unbound: [15016:0] info:<br>
>     192.168.100.250 <a href="http://heise.de" rel="noreferrer" target="_blank">heise.de</a> <<a href="http://heise.de" rel="noreferrer" target="_blank">http://heise.de</a>>.<br>
> <br>
>     The refusals come from PID 25308 while PID 15016 processes the requests.<br>
> <br>
>     Do you have multiple daemons with different configurations and/or a DNS<br>
>     balancer?<br>
> <br>
> <br>
>     Hauke.<br>
> <br>
</blockquote></div>