Use the memstick img for flashing a usb to install on hardware
Pfsense works well in a vm or on x86 hardware. On hardware you will need at least two NICs, unless you are using going to use vlans to setup a
router on a stick
. I don’t have a guide for that yet, it it looks like there is one here: https://blog.spirotot.com/posts/pfsense-vlans-with-one-nic-nuc-a-tp-link-tl-sg108e/
home.arpa
rfc
homelab.local
You can also use the name of a domain that you own, but I often use both and you will often run into scenarios in the lab where you need split dns.
I would not recommend using simply
.local
as it’s overused by iot and other devices
System>General Setup
server:qname-minimisation: yes
MX records first need an A record. This can be done using
Host Overrides
local-data: "mail.example.com. IN MX 10 mail.example.com."
## Add Host overrides (And static mappings)
Often you will need to add static mappings and host overrides together
truenas
truenas
home.arpa
## Active Directory
ad-home.arpa
## Add Packages
To avoid having to fill in these forms all the time, a Rest api can be added to pfsense
pkg add https://github.com/jaredhendrickson13/pfsense-api/releases/latest/download/pfSense-2.6-pkg-API.txz && /etc/rc.restart_webgui
Add host override
curl -u "admin:${PASSWORD}" -X POST http://pfsense.home.arpa/api/v1/services/unbound/host_override \
-H 'Content-Type: application/json' \
-d '{"domain":"example.com","host":"speedtest", "ip":"192.168.1.99"}'
Reload DNS resolver to apply changes
curl -u "admin:${PASSWORD}" -X POST http://pfsense.home.arpa/api/v1/services/unbound/apply \
-H 'Content-Type: application/json' \
-d '{"async":"false"}'