From MattWiki
Jump to navigation Jump to search

Installing DNSMasq on FreeNAS

  • 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

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