As well as caching DNS information from the Internet, the DNS proxy on IPCop allows you to manually enter hosts whose address you want to maintain locally. These could be addresses of local machines or machines on the Internet whose address you might want to override.
Add IP addresses and hostnames in the first section.
Host IP Address. Enter the IP address here.
Hostname. Enter the host name here.
Domain name (optional). If the host is in another domain then enter it here.
Enabled. Check this box to enable the entry.
Add. When you press thebutton the details are saved.
This section shows the local DNS entries you have currently configured.
You can re-sort the display by clicking on any of the three underlined column headings. A further click will reverse the sort order.
To enable or disable an entry - click on the checkbox in the Action column for the particular host you want to enable or disable. The icon changes to an empty box when the entry is disabled. Click on the checkbox to enable it again.
To edit an entry click on its Yellow Pencil icon. The entry's data will be displayed in the form above. Make your changes and click the button on the form.
To delete an entry click on its Trash Can icon.
Say you have a long list of hosts you'd like to add, such
as a block list of ad servers' hostnames and addresses.
Rather than type them in one by one, consider copying a file
of names onto IPCop, and linking it to dnsmasq through the
Refer to the section on customizing dnsmasq.local for an example.