<?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[getting DNS leaks]]></title><description><![CDATA[<p dir="auto">i have set up pfsense with proton vpn.  i have set the DNS resolver outgoing network interface to the vpn.</p>
<p dir="auto">when i reboot pfsense and go to dnsleaktest.com, the dns resolver is my ISP.  if i go into pfsense and look at the settings, the dns resolver is still set to the vpn.  i press save, and then test again and the dns resolver is the VPN</p>
<p dir="auto">if i reboot, the dns resolver goes back to the ISP, even though going back into the pfsense settings, it still says the dns resolver is the VPN</p>
<p dir="auto">why is this happening and how do i prevent it?</p>
]]></description><link>https://forum.netgate.com/topic/195318/getting-dns-leaks</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Nov 2026 19:25:03 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/195318.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Nov 2024 06:12:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to getting DNS leaks on Thu, 28 Nov 2024 17:52:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bluecovenant" aria-label="Profile: bluecovenant">@<bdi>bluecovenant</bdi></a> said in <a href="/post/1197511">getting DNS leaks</a>:</p>
<blockquote>
<p dir="auto">hmmm i just rebooted with the "dns server override" unchecked, and got a leak again.  any other suggestions?  could this be a problem with how the vpn interface is set up?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bluecovenant" aria-label="Profile: bluecovenant">@<bdi>bluecovenant</bdi></a> said in <a href="/post/1197455">getting DNS leaks</a>:</p>
<blockquote>
<p dir="auto">"dns server override"</p>
</blockquote>
</blockquote>
<p dir="auto">I had same issue as you, and i resolved it by using DoT. See my thread <a href="https://forum.netgate.com/topic/195316/solved-dns-issue-with-mullvad-wireguard-clients">here</a>. The other not so elegant solution is to configure your DHCP server so it hands out proton DNS IP`s to your clients directly.</p>
]]></description><link>https://forum.netgate.com/post/1197526</link><guid isPermaLink="true">https://forum.netgate.com/post/1197526</guid><dc:creator><![CDATA[nimrod]]></dc:creator><pubDate>Thu, 28 Nov 2024 17:52:18 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Thu, 28 Nov 2024 16:43:32 GMT]]></title><description><![CDATA[<p dir="auto">hmmm i just rebooted with the "dns server override" unchecked, and got a leak again.  any other suggestions?  could this be a problem with how the vpn interface is set up?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bluecovenant" aria-label="Profile: bluecovenant">@<bdi>bluecovenant</bdi></a> said in <a href="/post/1197455">getting DNS leaks</a>:</p>
<blockquote>
<p dir="auto">"dns server override"</p>
</blockquote>
]]></description><link>https://forum.netgate.com/post/1197511</link><guid isPermaLink="true">https://forum.netgate.com/post/1197511</guid><dc:creator><![CDATA[bluecovenant]]></dc:creator><pubDate>Thu, 28 Nov 2024 16:43:32 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Thu, 28 Nov 2024 14:02:42 GMT]]></title><description><![CDATA[<p dir="auto">Or use some blocking outbound rules on WAN. But things start to get dicey pretty quick!</p>
]]></description><link>https://forum.netgate.com/post/1197494</link><guid isPermaLink="true">https://forum.netgate.com/post/1197494</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Thu, 28 Nov 2024 14:02:42 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Thu, 28 Nov 2024 13:48:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bluecovenant" aria-label="Profile: bluecovenant">@<bdi>bluecovenant</bdi></a> well if the interface is not up when unbound starts it can't bind to it.  You could try setting your outgoing interface to just localhost.. Now it should use whatever the default route is on pfsense, if the default route for pfsense is vpn, it should use your vpn once it comes up and is the default route.</p>
<p dir="auto">If your not pulling routes and your vpn is not actually the default route yeah you would have to make sure that the vpn is up before unbound starts, or would have to say put in a cron or something that restarts unbound say 5 minutes after boot or something.</p>
]]></description><link>https://forum.netgate.com/post/1197490</link><guid isPermaLink="true">https://forum.netgate.com/post/1197490</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Thu, 28 Nov 2024 13:48:04 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Thu, 28 Nov 2024 13:47:12 GMT]]></title><description><![CDATA[<p dir="auto">More likely Unbound is using the VPN since you have set it to use only the VPN interface. But pfSense uses the servers passed by the ISP if Unbound cannot respond before the VPN comes up.</p>
]]></description><link>https://forum.netgate.com/post/1197489</link><guid isPermaLink="true">https://forum.netgate.com/post/1197489</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Thu, 28 Nov 2024 13:47:12 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Thu, 28 Nov 2024 06:40:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> so far, as far as i can tell, by unchecking "dns server override", the leaks don't seem to occur after rebooting.</p>
<p dir="auto">one think i'm not understanding: when "dns server override" is allowed, if the reason leaks occur after reboot is because the VPN hasn't connect yet, why doesn't unbound start using the VPN for DNS queries after a period of time, which doesn't occur as far as i can tell.  the DNS queries only go to the VPN if i login to pfsense and go to services &gt; dns resolver &gt; outgoing network interfaces and click vpn, then save?</p>
]]></description><link>https://forum.netgate.com/post/1197455</link><guid isPermaLink="true">https://forum.netgate.com/post/1197455</guid><dc:creator><![CDATA[bluecovenant]]></dc:creator><pubDate>Thu, 28 Nov 2024 06:40:07 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Wed, 27 Nov 2024 18:05:47 GMT]]></title><description><![CDATA[<p dir="auto">Unbound is the DNS Resolver service running in pfSense.</p>
<p dir="auto">I assume you don't get the public IP address passed directly to your pfSense WAN interface then? Otherwise you could just check that.</p>
<p dir="auto">If your WAN is behind some other NATing router then you can check that device or visit a site that reports you IP like:<a href="https://www.ipchicken.com/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.ipchicken.com/</a> from a client that isn't using the VPN.</p>
]]></description><link>https://forum.netgate.com/post/1197320</link><guid isPermaLink="true">https://forum.netgate.com/post/1197320</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Wed, 27 Nov 2024 18:05:47 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Wed, 27 Nov 2024 16:17:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> said in <a href="/post/1197145">getting DNS leaks</a>:</p>
<blockquote>
<p dir="auto">What I mean by that question is is the IP shown the address the ISP is giving to you or their remote address?</p>
</blockquote>
<p dir="auto">i haven't been able to reproduce the issue the last several times i've rebooted...but if i see it again how can i tell whether it is the address the IP assigned me vs. their remote address?</p>
<p dir="auto">depending on whether it is the address the IP assigned me vs. their remote address, does that affect whether it is an actual dns leak/the ISP can see my queries?</p>
<blockquote>
<p dir="auto">There are two possibilities:</p>
<p dir="auto">You have allow DNS Server Override set so the ISP is probably passing DNS servers to pfSense when it connects. If it starts using those servers because Unbound cannot connect over the VPN yet then the leak test would return the IP address of the remote server.</p>
<p dir="auto">Unbound cannot use the VPN before it comes up and sends queries directly out of the WAN. In that case the leak test would show your local public IP address because Unbound is still resolving there.</p>
<p dir="auto">Try unchecking 'DNS Server Override' so the ISP cannot pass servers.</p>
</blockquote>
<p dir="auto">what is "unbound"?</p>
]]></description><link>https://forum.netgate.com/post/1197287</link><guid isPermaLink="true">https://forum.netgate.com/post/1197287</guid><dc:creator><![CDATA[bluecovenant]]></dc:creator><pubDate>Wed, 27 Nov 2024 16:17:55 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Wed, 27 Nov 2024 00:17:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bluecovenant" aria-label="Profile: bluecovenant">@<bdi>bluecovenant</bdi></a> said in <a href="/post/1197092">getting DNS leaks</a>:</p>
<blockquote>
<p dir="auto">the results show IP address of my ISP</p>
</blockquote>
<p dir="auto">What I mean by that question is is the IP shown the address the ISP is giving to you or their remote address?</p>
<p dir="auto">There are two possibilities:</p>
<p dir="auto">You have allow DNS Server Override set so the ISP is probably passing DNS servers to pfSense when it connects. If it starts using those servers because Unbound cannot connect over the VPN yet then the leak test would return the IP address of the remote server.</p>
<p dir="auto">Unbound cannot use the VPN before it comes up and sends queries directly out of the WAN. In that case the leak test would show your local public IP address because Unbound is still resolving there.</p>
<p dir="auto">Try unchecking 'DNS Server Override' so the ISP cannot pass servers.</p>
]]></description><link>https://forum.netgate.com/post/1197145</link><guid isPermaLink="true">https://forum.netgate.com/post/1197145</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Wed, 27 Nov 2024 00:17:35 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Tue, 26 Nov 2024 20:23:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> said in <a href="/post/1197014">getting DNS leaks</a>:</p>
<blockquote>
<p dir="auto">Not really because both the ISPs DNS servers and your WAN IP may show as their domain. Is the IP address shown your local WAN IP?</p>
</blockquote>
<p dir="auto">Sorry don't fully understand all the terms. When I run dnsleaktest the results show IP address of my ISP, hostname of my ISP, ISP of the actual name of my ISP, and country with my actual physical location (and not the location of my VPN server)</p>
<blockquote>
<p dir="auto">In general setup do you have 'DNS Server Override' set?</p>
</blockquote>
<p dir="auto">Yes</p>
<blockquote>
<p dir="auto">And what is 'DNS Resolution Behavior' set to?<br />
Use local DNS, ignore remote DNS servers</p>
</blockquote>
<p dir="auto">Again just now, after logging in to my pfsense dashboard and checking the settings to reply to your question, I clicked save then ran DNS leak test again. Now the result shows the IP of the VPN server, hostname none, ISP protonvpn, and country the location of the VPN server I'm connected to. If I reboot pfsense, the DNS leak will occur again until I login to pfsense and "save" the settings without having changed any of the settings</p>
]]></description><link>https://forum.netgate.com/post/1197092</link><guid isPermaLink="true">https://forum.netgate.com/post/1197092</guid><dc:creator><![CDATA[bluecovenant]]></dc:creator><pubDate>Tue, 26 Nov 2024 20:23:21 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Tue, 26 Nov 2024 15:44:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bluecovenant" aria-label="Profile: bluecovenant">@<bdi>bluecovenant</bdi></a> said in <a href="/post/1197011">getting DNS leaks</a>:</p>
<blockquote>
<p dir="auto">when i do the test on dnsleaktest.com, the hostname is my ISP. not sure if this answers your question?</p>
</blockquote>
<p dir="auto">Not really because both the ISPs DNS servers and your WAN IP may show as their domain. Is the IP address shown your local WAN IP?</p>
<p dir="auto">In general setup do you have 'DNS Server Override' set?</p>
<p dir="auto">And what is 'DNS Resolution Behavior' set to?</p>
]]></description><link>https://forum.netgate.com/post/1197014</link><guid isPermaLink="true">https://forum.netgate.com/post/1197014</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Tue, 26 Nov 2024 15:44:49 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Tue, 26 Nov 2024 15:33:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> said in <a href="/post/1196974">getting DNS leaks</a>:</p>
<blockquote>
<p dir="auto">Like the resolver is your ISPs DNS servers or it's resolving locally but using your WAN IP?</p>
</blockquote>
<p dir="auto">when i check my ip address, it shows the ip of my vpn.  when i do the test on dnsleaktest.com, the hostname is my ISP.  not sure if this answers your question?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> said in <a href="/post/1196974">getting DNS leaks</a>:</p>
<blockquote>
<p dir="auto">What do you have set in System &gt; General Setup?</p>
</blockquote>
<p dir="auto">haven't added any changes here, so just the default</p>
<p dir="auto">i specified in services &gt; dns resolver &gt; outgoing network interfaces to use the vpn</p>
]]></description><link>https://forum.netgate.com/post/1197011</link><guid isPermaLink="true">https://forum.netgate.com/post/1197011</guid><dc:creator><![CDATA[bluecovenant]]></dc:creator><pubDate>Tue, 26 Nov 2024 15:33:39 GMT</pubDate></item><item><title><![CDATA[Reply to getting DNS leaks on Tue, 26 Nov 2024 13:38:01 GMT]]></title><description><![CDATA[<p dir="auto">Like the resolver is your ISPs DNS servers or it's resolving locally but using your WAN IP?</p>
<p dir="auto">What do you have set in System &gt; General Setup?</p>
]]></description><link>https://forum.netgate.com/post/1196974</link><guid isPermaLink="true">https://forum.netgate.com/post/1196974</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Tue, 26 Nov 2024 13:38:01 GMT</pubDate></item></channel></rss>