<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Unbound on Apuntes de root</title>
    <link>https://blog.099c.org/tags/unbound/</link>
    <description>Recent content in Unbound on Apuntes de root</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <managingEditor>jorti@pm.me (Juan Orti Alcaine)</managingEditor>
    <webMaster>jorti@pm.me (Juan Orti Alcaine)</webMaster>
    <lastBuildDate>Mon, 14 Jan 2013 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.099c.org/tags/unbound/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fix failed to prime trust anchor -- DNSKEY rrset is not secure . DNSKEY IN</title>
      <link>https://blog.099c.org/posts/fix-failed-to-prime-trust-anchor-dnsskey-rrset-is-not-secure-dnsskey-in/</link>
      <pubDate>Mon, 14 Jan 2013 00:00:00 +0000</pubDate><author>jorti@pm.me (Juan Orti Alcaine)</author>
      <guid>https://blog.099c.org/posts/fix-failed-to-prime-trust-anchor-dnsskey-rrset-is-not-secure-dnsskey-in/</guid>
      <description>&lt;p&gt;After &lt;a href=&#34;https://blog.099c.org/posts/configure-unbound-dnssec-resolver-in-openwrt/&#34;&gt;installing Unbound in a OpenWrt router&lt;/a&gt;, I noticed that afer a reboot, the DNS was not working. I saw many of these errors in the log:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;failed to prime trust anchor -- DNSKEY rrset is not secure . DNSKEY IN&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I have discovered that the system date was wrong. As this device lacks a hardware clock, when the machine boots, it cannot synchronize the time by NTP because there is no resolver (Unbound doesn&amp;rsquo;t start because the date validation of the ICANN certificate fails). It&amp;rsquo;s a chicken or the egg problem.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Configure Unbound DNSSEC resolver in OpenWrt</title>
      <link>https://blog.099c.org/posts/configure-unbound-dnssec-resolver-in-openwrt/</link>
      <pubDate>Thu, 20 Dec 2012 00:00:00 +0000</pubDate><author>jorti@pm.me (Juan Orti Alcaine)</author>
      <guid>https://blog.099c.org/posts/configure-unbound-dnssec-resolver-in-openwrt/</guid>
      <description>&lt;p&gt;After realizing that my ISP (ONO) was hijacking the NXDOMAIN DNS responses, I decided to improve the security of the DNS queries for my entire LAN using &lt;a href=&#34;https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions&#34; title=&#34;DNSSEC&#34;&gt;DNSSEC&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I choosed to replace &lt;a href=&#34;http://www.thekelleys.org.uk/dnsmasq/doc.html&#34; title=&#34;dnsmasq&#34;&gt;dnsmasq&lt;/a&gt; for &lt;a href=&#34;https://unbound.net/&#34; title=&#34;unbound&#34;&gt;unbound&lt;/a&gt; in my OpenWrt router. These are the steps I followed.&lt;/p&gt;&#xA;&lt;p&gt;First I installed the required packages:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;# opkg update # opkg install unbound unbound-anchor unbound-control unbound-control-setup unbound-host&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;As dnsmasq is also the DHCP server, I&amp;rsquo;m not going to disable it, only change the DNS port to 5353. In &lt;code&gt;/etc/config/dhcp&lt;/code&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
