2.9.6. dnsmasq.local

The file /var/ipcop/dhcp/dnsmasq.local allows Administrators to add their own options to the DHCP server.

Refer to the dnsmasq manual for information.

For example, to provide a stable address to a machine with two interfaces (e.g. a laptop with both wired and wireless interfaces) add this line:


Or, to link to a file containing a list of domains you'd like to block, such as a collection of banner ad sites, add this line to dnsmasq.local:


That blocklist file should contain a list of addresses in this format:


Restart the DHCP server via the web interface or restartdhcp after you modify dnsmasq.local so your changes propagate to the network.

This file will not be overwritten by Official Updates, and is included in the set of files saved when you backup the system.