<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[DNS Resolver starts rejecting requests over IPv6 after a couple of weeks]]></title><description><![CDATA[<p dir="auto">Re: https://forum.netgate.com/topic/196876</p>
<p dir="auto">The problem in the above referenced post went away as soon as I restarted the resolver.  It started happening again yesterday.</p>
<p dir="auto">In summary, if the resolver receives a request from the LAN side, and the request arrives on the IPv6 interface, the request is rejected with</p>
<pre><code>WARNING: recursion requested but not available
</code></pre>
<p dir="auto">I just now restarted the resolver and the error went away.</p>
<p dir="auto">Below is a log of a terminal session on a LAN host. In this case it was Cygwin on Windows 11 but I've seen the same behavior in Debian 12.</p>
<p dir="auto">The first <code>dig</code> command was issued while lookups were failing. The second <code>dig</code> about 23 seconds later, after having restarted the resolver.</p>
<p dir="auto">Note, it's not the type of request (<code>A</code> vs <code>AAAA</code> for example), but the IP version interface over which pfSense <em>receives</em> the request.  Windows defaults to using IPv6 if it's available.</p>
<p dir="auto">What logging should I be gathering in order to help Netgate troubleshoot the issue?</p>
<pre><code>jim@HOME11 ~
$ dig sqlite.org

; &lt;&lt;&gt;&gt; DiG 9.11.9 &lt;&lt;&gt;&gt; sqlite.org
;; global options: +cmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: REFUSED, id: 58298
;; flags: qr rd ad; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; Query time: 0 msec
;; SERVER: 2601:1c0:5600:c367:eaff:1eff:fed2:b036#53(2601:1c0:5600:c367:eaff:1eff:fed2:b036)
;; WHEN: Mon Apr 14 15:09:54 PDT 2025
;; MSG SIZE  rcvd: 12


jim@HOME11 ~
$ dig sqlite.org

; &lt;&lt;&gt;&gt; DiG 9.11.9 &lt;&lt;&gt;&gt; sqlite.org
;; global options: +cmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 48986
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1432
;; QUESTION SECTION:
;sqlite.org.                    IN      A

;; ANSWER SECTION:
sqlite.org.             300     IN      A       194.195.208.62

;; Query time: 206 msec
;; SERVER: 2601:1c0:5600:c367:eaff:1eff:fed2:b036#53(2601:1c0:5600:c367:eaff:1eff:fed2:b036)
;; WHEN: Mon Apr 14 15:10:17 PDT 2025
;; MSG SIZE  rcvd: 55
</code></pre>
]]></description><link>https://forum.netgate.com/topic/197145/dns-resolver-starts-rejecting-requests-over-ipv6-after-a-couple-of-weeks</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 05:02:50 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/197145.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Apr 2025 22:25:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DNS Resolver starts rejecting requests over IPv6 after a couple of weeks on Wed, 04 Jun 2025 21:48:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a> said in <a href="/post/1214982">DNS Resolver starts rejecting requests over IPv6 after a couple of weeks</a>:</p>
<blockquote>
<p dir="auto">What version ?</p>
</blockquote>
<p dir="auto">2.7.2</p>
<blockquote>
<p dir="auto">When the issue happens, was unbound listening on IPv6 LAN interfaces ?</p>
</blockquote>
<p dir="auto">Yes, I can confirm it was listening because the query is explicitly rejected, not timed-out.</p>
<blockquote>
<p dir="auto">[25.03-BETA][root@pfSense.bhf.tld]/root: sockstat -6 | grep ":53"<br />
unbound  unbound    53479 3   udp6   *:53                  <em>:</em><br />
unbound  unbound    53479 4   tcp6   *:53                  <em>:</em></p>
<p dir="auto">means "all exiting interfaces", for TCP and UDP.</p>
</blockquote>
<p dir="auto">I recently restarted it because the problem recurred, next time it happens I will run tcpdump and upload a capture of the transaction(s).</p>
<blockquote>
<p dir="auto">When you raise the resolver (unbound) log setting to 'very verbose', can you see the IPv6 request arriving @unbound ?<br />
Don't forget to set the log setting back, as it produces a lot of info.</p>
</blockquote>
<p dir="auto">Next time it happens I'll also do this.</p>
]]></description><link>https://forum.netgate.com/post/1216756</link><guid isPermaLink="true">https://forum.netgate.com/post/1216756</guid><dc:creator><![CDATA[jhg]]></dc:creator><pubDate>Wed, 04 Jun 2025 21:48:34 GMT</pubDate></item><item><title><![CDATA[Reply to DNS Resolver starts rejecting requests over IPv6 after a couple of weeks on Mon, 19 May 2025 08:12:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jhg">@<bdi>jhg</bdi></a></p>
<blockquote>
<p dir="auto">pfSense CE on ...</p>
</blockquote>
<p dir="auto">What version ?<br />
When the issue happens, was unbound listening on IPv6 LAN interfaces ?</p>
<p dir="auto">[25.03-BETA][root@pfSense.bhf.tld]/root: sockstat -6 | grep ":53"<br />
unbound  unbound    53479 3   udp6   *:53                  <em>:</em><br />
unbound  unbound    53479 4   tcp6   *:53                  <em>:</em></p>
<p dir="auto">means "all exiting interfaces", for TCP and UDP.</p>
<p dir="auto">When you raise the resolver (unbound) log setting to 'very verbose', can you see the IPv6 request arriving @unbound ?<br />
Don't forget to set the log setting back, as it produces a lot of info.</p>
]]></description><link>https://forum.netgate.com/post/1214982</link><guid isPermaLink="true">https://forum.netgate.com/post/1214982</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Mon, 19 May 2025 08:12:00 GMT</pubDate></item><item><title><![CDATA[Reply to DNS Resolver starts rejecting requests over IPv6 after a couple of weeks on Mon, 19 May 2025 02:25:34 GMT]]></title><description><![CDATA[<p dir="auto">Never got any response to this, and it keeps happening.</p>
<p dir="auto">After some period of time, DNS resolution requests received over IPv6 from LAN clients are rejected.  The type of query doesn't matter, only the interface over which the request is received.  For example</p>
<pre><code>dig any.host.tld
or
dig aaaa any.host.tld
...
;; WARNING: recursion requested but not available
</code></pre>
<p dir="auto">while</p>
<pre><code>dig -4 any.host.tld
or
dig -4 aaaa any.host.tld
</code></pre>
<p dir="auto">succeeds</p>
<p dir="auto">When this starts happening all I need to do is restart the DNS Resolver and it goes back to working until the next time it decides to quit working.</p>
<p dir="auto">Any chance of getting someone to look at this?</p>
]]></description><link>https://forum.netgate.com/post/1214965</link><guid isPermaLink="true">https://forum.netgate.com/post/1214965</guid><dc:creator><![CDATA[jhg]]></dc:creator><pubDate>Mon, 19 May 2025 02:25:34 GMT</pubDate></item></channel></rss>