FreeNAS/dnsmasq
Appearance
Installing DNSMasq on FreeNAS[edit | edit source]
- Create a new Jail, name it something like DNSMasq
- This jail will require a static IP address.
- Download the DNSMasq packet
pkg search dnsmasq
- Install the DNSMasq packet
pkg install dnsmasq
Configuring DNSMasq[edit | edit source]
An example configuration file is found in /usr/local/etc/dnsmasq.conf.example
. I find this is useful to keep as a master copy as it’s well commented, so the main configuration file can be tidied up.
cd /usr/local/etc cp dnsmasq.conf.example dnsmasq.conf ls dns* dnsmasq.conf dnsmasq.conf.example