Setup: pfSense and DNS over TLS

pfSense is an open-source firewall, used in both consumer and commercial environments.

pfSense has dedicated documentation for DNS over TLS, which we recommend reviewing in addition to this article.

pfSense utilizes Unbound, which has built-in DNS over TLS support, with the configuration being accessible in the GUI.

Before making changes to a production environment, we recommend taking a backup of the existing configuration.

Step 1

Navigate to System -> Generate Setup on the top menu.

pfsense_1.png

If your network does not have IPv6, which you can test here, then IPv6 addresses should not be added, as it may result in a percentage of your DNS requests failing.

Step 2

Step 3

Step 4

You can confirm that pfSense is now sending your queries via DNS over TLS using the built-in Packet Capture Tool.

You can also run a test from a macOSLinux, or Windows system on the network.

Original Article


Revision #1
Created 2023-11-10 05:36:24 UTC by Ryan
Updated 2025-02-12 01:12:38 UTC by Ryan