<?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 queries from VMware subnet refused.]]></title><description><![CDATA[<p dir="auto">Dear Forum,</p>
<p dir="auto">We run pfsense with DNS resolver for local DNS for all LAN subnets. All previous LAN subnets were OK.<br />
Now, we just added a new LAN subnet with a VMware server on it.</p>
<p dir="auto">Problem: local pfsense DNS server 10.20.40.1 refuses:</p>
<pre><code>[root@bikery:~] nslookup -debug apple.com
Server:		10.20.40.1
Address:	10.20.40.1:53

Query #0 completed in 1ms:
** server can't find apple.com: REFUSED

Query #1 completed in 1ms:
** server can't find apple.com: REFUSED
</code></pre>
<p dir="auto">Tests done:</p>
<pre><code>ping 8.8.8.8 [and] ping 10.20.40.1 [work]
wget -qO- --no-check-certificate 10.20.40.1 [works]
nc -z 10.20.40.1 53 [works]
nslookup -debug apple.com 8.8.8.8 [works]
nslookup -debug apple.com [refused]
</code></pre>
<p dir="auto">What am I missing here?<br />
Thanks,<br />
Alfredo</p>
]]></description><link>https://forum.netgate.com/topic/172862/dns-queries-from-vmware-subnet-refused</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 01:10:55 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/172862.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Jun 2022 12:00:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DNS queries from VMware subnet refused. on Fri, 17 Jun 2022 16:52:28 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! That worked. Awesome!</p>
]]></description><link>https://forum.netgate.com/post/1047153</link><guid isPermaLink="true">https://forum.netgate.com/post/1047153</guid><dc:creator><![CDATA[alfredo]]></dc:creator><pubDate>Fri, 17 Jun 2022 16:52:28 GMT</pubDate></item><item><title><![CDATA[Reply to DNS queries from VMware subnet refused. on Fri, 17 Jun 2022 16:37:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alfredo">@<bdi>alfredo</bdi></a> said in <a href="/post/1047147">DNS queries from VMware subnet refused.</a>:</p>
<blockquote>
<p dir="auto">Thanks so kindly for your replies.</p>
<p dir="auto">Indeed, cat cat /var/unbound/access_lists.conf , shows a whole bunch of subnets:</p>
<pre><code>access-control: 127.0.0.1/32 allow_snoop
access-control: ::1 allow_snoop
access-control: 10.20.2.0/24 allow 
access-control: 10.20.10.0/24 allow 
access-control: 10.20.20.0/24 allow 
access-control: 10.20.30.0/24 allow 
access-control: 10.20.110.0/24 allow 
access-control: 127.0.0.0/8 allow 
access-control: ::1/128 allow
</code></pre>
<p dir="auto">but not 10.20.40.0/24 which we need...</p>
<p dir="auto">The subnet is internal on an interface. It does have a gateway set.<br />
So what to do? Just edit that file?</p>
</blockquote>
<p dir="auto">No, don't edit the file. It is recreated by the pfSense code each time the Resolver service is stopped/started. So any change you make would get overwritten.</p>
<p dir="auto">Put the needed subnet on the ACCESS LISTS tab in the DNS Resolver settings. That should do it. You may need to restart the Resolver after making the change unless the GUI does it for you. I suspect the GUI will restart it when saving the list update.</p>
]]></description><link>https://forum.netgate.com/post/1047149</link><guid isPermaLink="true">https://forum.netgate.com/post/1047149</guid><dc:creator><![CDATA[bmeeks]]></dc:creator><pubDate>Fri, 17 Jun 2022 16:37:13 GMT</pubDate></item><item><title><![CDATA[Reply to DNS queries from VMware subnet refused. on Fri, 17 Jun 2022 16:32:58 GMT]]></title><description><![CDATA[<p dir="auto">Thanks so kindly for your replies.</p>
<p dir="auto">Indeed, cat cat /var/unbound/access_lists.conf , shows a whole bunch of subnets:</p>
<pre><code>access-control: 127.0.0.1/32 allow_snoop
access-control: ::1 allow_snoop
access-control: 10.20.2.0/24 allow 
access-control: 10.20.10.0/24 allow 
access-control: 10.20.20.0/24 allow 
access-control: 10.20.30.0/24 allow 
access-control: 10.20.110.0/24 allow 
access-control: 127.0.0.0/8 allow 
access-control: ::1/128 allow
</code></pre>
<p dir="auto">but not 10.20.40.0/24 which we need...</p>
<p dir="auto">The subnet is internal on an interface. It does have a gateway set.<br />
So what to do? Just edit that file?</p>
]]></description><link>https://forum.netgate.com/post/1047147</link><guid isPermaLink="true">https://forum.netgate.com/post/1047147</guid><dc:creator><![CDATA[alfredo]]></dc:creator><pubDate>Fri, 17 Jun 2022 16:32:58 GMT</pubDate></item><item><title><![CDATA[Reply to DNS queries from VMware subnet refused. on Fri, 17 Jun 2022 15:44:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alfredo">@<bdi>alfredo</bdi></a> said in <a href="/post/1047115">DNS queries from VMware subnet refused.</a>:</p>
<blockquote>
<p dir="auto">Services / DNS Resolver / Access Lists has always been empty - not used.</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steveits">@<bdi>SteveITS</bdi></a> beat me to the reply. The "default" values that pfSense itself creates when you create interfaces on pfSense won't be shown on that tab. That tab comes into play when you create other subnets not defined on a firewall interface.</p>
<p dir="auto">We are just wondering how (and where) you created that new subnet. If not on pfSense itself as a new physical interface or VLAN, then you will need to add that subnet to the ACL for DNS Resolver manually. Usually the error you are seeing happens when the requesting IP is not on a "permitted" ACL.</p>
]]></description><link>https://forum.netgate.com/post/1047146</link><guid isPermaLink="true">https://forum.netgate.com/post/1047146</guid><dc:creator><![CDATA[bmeeks]]></dc:creator><pubDate>Fri, 17 Jun 2022 15:44:34 GMT</pubDate></item><item><title><![CDATA[Reply to DNS queries from VMware subnet refused. on Fri, 17 Jun 2022 15:37:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alfredo">@<bdi>alfredo</bdi></a> Is it set to listen on All interfaces?</p>
<p dir="auto">https://docs.netgate.com/pfsense/en/latest/services/dns/resolver-acls.html<br />
"The automatic ACLs may be disabled using the Disable Auto-added Access Control option on the Advanced Settings tab."</p>
<p dir="auto">That page also says "networks residing on internal interfaces of this firewall are permitted"...does your new subnet have a gateway configured?  If so maybe it thinks it's not internal?</p>
<p dir="auto">That access list file is /var/unbound/access_lists.conf.</p>
]]></description><link>https://forum.netgate.com/post/1047145</link><guid isPermaLink="true">https://forum.netgate.com/post/1047145</guid><dc:creator><![CDATA[SteveITS]]></dc:creator><pubDate>Fri, 17 Jun 2022 15:37:56 GMT</pubDate></item><item><title><![CDATA[Reply to DNS queries from VMware subnet refused. on Fri, 17 Jun 2022 12:53:30 GMT]]></title><description><![CDATA[<p dir="auto">Services / DNS Resolver / Access Lists has always been empty - not used.</p>
]]></description><link>https://forum.netgate.com/post/1047115</link><guid isPermaLink="true">https://forum.netgate.com/post/1047115</guid><dc:creator><![CDATA[alfredo]]></dc:creator><pubDate>Fri, 17 Jun 2022 12:53:30 GMT</pubDate></item><item><title><![CDATA[Reply to DNS queries from VMware subnet refused. on Fri, 17 Jun 2022 12:37:31 GMT]]></title><description><![CDATA[<p dir="auto">Check that your new subnet actually has an entry in the ACL (Access Control List) for the DNS Resolver on pfSense. That should be automatically added if you created the new network on pfSense. But if you are simply routing that new subnet through pfSense, then the automatic <code>unbound</code> permission would not be there and thus DNS queries from the subnet would be rejected.</p>
]]></description><link>https://forum.netgate.com/post/1047109</link><guid isPermaLink="true">https://forum.netgate.com/post/1047109</guid><dc:creator><![CDATA[bmeeks]]></dc:creator><pubDate>Fri, 17 Jun 2022 12:37:31 GMT</pubDate></item></channel></rss>