<?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[Aliases stopped working]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have two pfsense firewalls in a high availability configuration using CARP failover. Both are running 2.6.0-RELEASE (amd64). All package are up to date. A list of the installed packages will be provided at the bottom of this post for completeness, but I don't think it's relevant to my issue.</p>
<p dir="auto">On Monday evening I reboot the primary firewall (the one that holds CARP Master) as a diagnostic step when trying to resolve an odd issue regarding DNS resolution (DNS clients where unable to resolve DNS against using the CARP Master, but could via the CARP Backup; restarting <code>DNS Resolver</code> service didn't help, but rebooting the whole firewall did. The firewall had been up 462 days until then... probably when it was patched to 2.6.0).</p>
<p dir="auto">After the reboot things seemed to be back to normal; DNS clients could resolve DNS via both CARP Master and CARP Backup.</p>
<p dir="auto">However, today I noticed a server which communicates to a endpoint on the internet was reporting as offline from the internet console perspective. When I checked, the server was up and running, but was unable to communicate with it's internet based console.</p>
<p dir="auto">A rule exists which uses an alias of type <code>host(s)</code> which contains a list of FQDN that server needs to access.</p>
<p dir="auto"><img src="https://files.stephen-scotter.net/public/pfsense-tables-issue/2023-06-07--eboyn3iRaH.png" alt="alias of type host(s)" class=" img-fluid img-markdown" /></p>
<p dir="auto">As you can see this table was setup in 2018 and has been working well for us until the reboot.</p>
<p dir="auto">When I checked the firewall logs I could see the traffic is being blocked. This lead me to check the contents of the Table via <code>Diagnostic &gt; Tables</code> and discovered that it was empty.</p>
<p dir="auto"><img src="https://files.stephen-scotter.net/public/pfsense-tables-issue/2023-06-07--vLwTzVzLw1.png" alt="alias table" class=" img-fluid img-markdown" /></p>
<p dir="auto">On closer inspection ALL tables of type <code>Host(s)</code> which have a FQDN  are empty on the CARP Master, but correctly populated on the CARP Backup.</p>
<p dir="auto">I've tried the following things to try and cajole the firewall to repopulate the alias tables.</p>
<ul>
<li>Edit an existing / Create a new firewall rule</li>
<li>Edit an existing / Create a new alias of type <code>Host(s)</code></li>
<li>Status -&gt; Filter reload</li>
<li>Set <code>Aliases Hostnames Resolve Interval</code> to 60 within <code>System &gt; Advanced &gt; Firewall &amp; NAT</code></li>
</ul>
<p dir="auto">None of those actions have prompted the tables to be refresh on the CARP Master. The CARP Backup seems unaffected by those actions.</p>
<p dir="auto">I've also just discovered that emptying (via <code>Diagnostics &gt; Tables &gt; %tablename%</code> and pressing <code>Empty Table</code>) on CARP Backup, that table does not seem to be repopulated either, suggesting a larger issue.</p>
<p dir="auto">Any help gratefully received!</p>
<p dir="auto">Regards</p>
<p dir="auto">Steve</p>
<p dir="auto"><strong>Installed packages</strong></p>
<pre><code>arpwatch	        0.2.0_6
Filer	                0.60.6_5
mailreport              3.6.3_3
nmap	                1.4.4_5
Notes	                0.2.9_3
openvpn-client-export	1.6_9
zabbix-agent6	        1.0.5
zabbix-proxy6	        1.0.5	
</code></pre>
]]></description><link>https://forum.netgate.com/topic/180681/aliases-stopped-working</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 08:14:31 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/180681.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Jun 2023 15:49:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Aliases stopped working on Thu, 27 Mar 2025 18:36:36 GMT]]></title><description><![CDATA[<p dir="auto">I know this is an old thread but since I happened across it searching for solutions to <a href="https://forum.netgate.com/topic/196927/filterdns-has-stopped-resolving-hostnames">my issue</a> I thought I'd link this for anyone else happening by:</p>
<p dir="auto"><a href="https://docs.netgate.com/pfsense/en/latest/troubleshooting/filterdns-thread-errors.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.netgate.com/pfsense/en/latest/troubleshooting/filterdns-thread-errors.html</a></p>
]]></description><link>https://forum.netgate.com/post/1210496</link><guid isPermaLink="true">https://forum.netgate.com/post/1210496</guid><dc:creator><![CDATA[SteveITS]]></dc:creator><pubDate>Thu, 27 Mar 2025 18:36:36 GMT</pubDate></item><item><title><![CDATA[Reply to Aliases stopped working on Mon, 12 Jun 2023 13:50:32 GMT]]></title><description><![CDATA[<p dir="auto">After several days of tinkering, looking at source code via https://github.com/pfsense/pfsense and comparing this broken instances with a working one I discovered that the broken instances didn't have <code>/usr/local/sbin/filterdns</code> running.</p>
<p dir="auto">The broken instances</p>
<pre><code>ps aux | grep filter
root    80996    0.3  0.0   12240   3432  -  Ss   Fri20      11:12.36 /usr/local/sbin/filterlog -i pflog0 -p /var/run/filterlog.pid
root    44845    0.0  0.0   11240   2516  4  S+   14:38       0:00.00 grep filter
</code></pre>
<p dir="auto">A working instances elsewhere within my company</p>
<pre><code>ps aux | grep filter
root    34312   0.0  0.0  23924   3472  -  Is   08:42        0:00.28 /usr/local/sbin/filterdns -p /var/run/filterdns.pid -i 60 -c /var/etc/filterdns.conf -d 1
root    50337   0.0  0.0  12244   3432  -  Ss   14Mar23    293:36.93 /usr/local/sbin/filterlog -i pflog0 -p /var/run/filterlog.pid
root    75276   0.0  0.0  11244   2516  0  S+   14:10        0:00.00 grep filter
</code></pre>
<p dir="auto">Running <code>filterdns</code> manually didn't seem to generate any useful information (even when changing -d from 1 to 3) either on the console or the <code>/var/log/resolver.log</code> log file.</p>
<p dir="auto">When I looked in <code>/var/etc/filterdns.conf</code> there were 2002 lines. 1778 of them where part of seven /24s which had been expanded out into individual IP addresses.</p>
<p dir="auto">Changing that entry to have a type of Network(s), removing all the expanded individual IPs and adding the seven /24s back in has brought the number of lines in /var/etc/filterdns.conf to <strong>53</strong> and running <code>/usr/local/sbin/filterdns -p /var/run/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1</code> now works (still silently, but hey its working).</p>
<p dir="auto">Interestingly that alias with the seven /24's had been in there years. I suspect one or more another aliases had grown over some unknown threshold and that's why it broke.</p>
<p dir="auto">Would be VERY helpful if <code>filterdns</code> would generate some logging when it fails to start!</p>
]]></description><link>https://forum.netgate.com/post/1110083</link><guid isPermaLink="true">https://forum.netgate.com/post/1110083</guid><dc:creator><![CDATA[steve.scotter]]></dc:creator><pubDate>Mon, 12 Jun 2023 13:50:32 GMT</pubDate></item><item><title><![CDATA[Reply to Aliases stopped working on Wed, 07 Jun 2023 16:19:55 GMT]]></title><description><![CDATA[<p dir="auto">As a sanity check I have just created a alias of type <code>Host(s)</code> on a completely seperate and fully function pfsense firewall. It worked as expected and I saw the following in the logs</p>
<p dir="auto"><img src="https://files.stephen-scotter.net/public/pfsense-tables-issue/2023-06-07--171820--bldx4n4qYp.png" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto">When I repeated my experiment on the CARP Master I got the following in the logs...</p>
<p dir="auto"><img src="https://files.stephen-scotter.net/public/pfsense-tables-issue/2023-06-07--nFNmLM7d1R.png" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto">As you can see the <code>/firewall_aliases_edit.php: Configuration Change: admin@a.b.c.d (Local Database): Edited a firewall alias.</code> is missing from the CARP Master logs.</p>
<p dir="auto">Very strange... chasing that down now!</p>
]]></description><link>https://forum.netgate.com/post/1109345</link><guid isPermaLink="true">https://forum.netgate.com/post/1109345</guid><dc:creator><![CDATA[steve.scotter]]></dc:creator><pubDate>Wed, 07 Jun 2023 16:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to Aliases stopped working on Wed, 07 Jun 2023 15:52:48 GMT]]></title><description><![CDATA[<p dir="auto">I forgot to mention that DNS seems fine on the firewall.</p>
<p dir="auto">If I try and resolve any of the FQDN's via <code>Diagnostics &gt; DNS Lookup</code> or via <code>SSH &gt; 8. Shell</code> and using dig or host commands they resolve fine.</p>
]]></description><link>https://forum.netgate.com/post/1109342</link><guid isPermaLink="true">https://forum.netgate.com/post/1109342</guid><dc:creator><![CDATA[steve.scotter]]></dc:creator><pubDate>Wed, 07 Jun 2023 15:52:48 GMT</pubDate></item></channel></rss>