Gnocco is a DNS cache with resolver, it is based on the wonderful DNS library from Miek Gieben dns and it is heavily inspired from the DNS cache implemented by Qiang Ke godns. The resolving part will be a correct resolver using a resolving algorithm similar with the one implemented in dnscache.
Gnocco is in very early stages of development with most of its features not implemented yet.
Since commit 09908c2 Gnocco removed the code for running under a certain user.
For now the propper way of running Gnocco is:
- Keep in mind that Gnocco is NOT production state
- Create an user and group (gnocco user and group are advised but not mandatory)
- Create a configuration space (directory) for gnocco (ie. /etc/gnocco)
- Move gnocco.conf and roots files in the configuration space
- Review and modify gnocco.conf to suit your needs
- Create a directory to hold logs (ie. /var/log/gnocco)
- Move the gnocco binary to /usr/bin
- Run
sudo setcap cap_net_bind_service=+ep /usr/bin/gnocco
in order to enable Gnocco to listen on ports < 1024 (ie. 53) - Itegrate Gnocco with your init system