<div dir="ltr"><div dir="ltr">Hi Gil,<div><br></div><div><b>unbound-anchor -a -4 "root.key" </b>is not a configuration setting, it is a terminal command.</div><div><a href="https://www.nlnetlabs.nl/documentation/unbound/unbound-anchor/">https://www.nlnetlabs.nl/documentation/unbound/unbound-anchor/</a><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kind Regards,<div>Brendan J Konings, BEng(Electronics)(Hons), BCompSc</div><div><br></div><div><a href="https://keys.mailvelope.com/pks/lookup?op=get&search=0x9531F80123B4E094" target="_blank">https://keys.mailvelope.com/pks/lookup?op=get&search=0x9531F80123B4E094</a><br></div></div></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 3:18 PM Gil Levy via Unbound-users <<a href="mailto:unbound-users@lists.nlnetlabs.nl">unbound-users@lists.nlnetlabs.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Doing a bit more digging on why I'm getting<b>
libunbound[451:0] error: udp connect failed: Network is unreachable for 198.41.0.4 port 53 <br></b></div><div>I found this link: <a href="https://lists.nlnetlabs.nl/pipermail/unbound-users/2020-December/007128.html" target="_blank">https://lists.nlnetlabs.nl/pipermail/unbound-users/2020-December/007128.html</a> which described exactly what I'm experiencing.</div><div><br></div><div>However, I couldn't find where in my unbound.conf file I can use this <b>unbound-anchor -a -4 "root.key" </b>without having errors when running <b>unbount-checkconf</b></div><div>This is what I tried doing:</div><div>
<pre><code> chroot: "/etc/unbound"
username: "unbound"
directory: "/etc/unbound"
logfile: "/etc/unbound/unbound.log"
root-hints: "root.hints"
pidfile: "unbound.pid"
#auto-trust-anchor-file: "/etc/unbound/root.key"
unbound-anchor -a -4 "root.key"</code></pre>
</div><div>Can someone please inform me how can I incorporate <b>unbound-anchor -a -4 </b>in my unbound.conf file so I won't get these errors?</div><div>I'm running on RaspberryOS and I'm not using any firewall. No ufw, no iptables and no firewalld. I don't think I'm blocking port 53, so I'm assuming I'm experiencing the same issue Herbert experienced.</div><div><br></div><div>On a side note, wouldn't it be better if we have a subreddit r/UnboundDNS to use for support issues instead email chains? Just a suggestion.</div><div><br></div><div>Thanks,</div><div>Gil<br></div><div><br></div><div><b></b></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 29 Jan 2021 at 15:11, Gil Levy <<a href="mailto:just.gil@gmail.com" target="_blank">just.gil@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi.</div><div>I'm getting udp connection failed and I'm not sure if this is normal or not.</div><div>I pasted below a link to the entire output of the 'status' command.<br></div><div><br></div><div>#: sudo systemctl status unbound</div><div><a href="https://pastebin.com/5p9PvJj4" target="_blank">https://pastebin.com/5p9PvJj4</a></div><div><br></div><div><b>Example: </b>Jan 29 15:02:47 raspberrypi unbound-anchor[451]: [1611892967] libunbound[451:0] error: udp connect failed: Network is unreachable for 198.41.0.4 port 53</div><div><br></div><div><br></div><div>Thanks!<br></div></div>
</blockquote></div>
</blockquote></div>