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:
dhcp-host=XX:XX:XX:XX:XX:XX,YY:YY:YY:YY:YY:YY,192.168.3.200
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
:
conf-file=/path-to-your/blocklist
That blocklist file should contain a list of addresses in this format:
address=/domain-name/127.0.0.1
address=/another-domain-name/127.0.0.1
...
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.