Caching DNS server

Byron Clark byron at
Mon Jun 7 14:14:05 MDT 2010

On Mon, Jun 7, 2010 at 2:07 PM, Joe C <v2joecr at> wrote:
> I need to do this for a company that moves websites from one host to
> another. They normally would edit the hosts file on the computer, but
> that isn't compatible with installing squid on to their pfSense box.
> The only solution I could think of was to make a caching DNS server &
> make a web interface to allow them to change records, but since we
> want to block access to certain domains, AKA porn we will need a way
> to prevent people from using it to bypass security to browse porn. I
> would also like to be able to undo the changes either after a period
> of time or by clicking on a hyperlink. I will also want the system to
> record who made the change(s) & when they made the change(s) to DNS
> for a domain.

You may want to take a look at dnsmasq
(, specifically the
--addn-hosts option.

Byron Clark

More information about the PLUG mailing list