Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

karasz/gnocco

Repository files navigation

Gnocco

a small cache of goodness

Go Report Card Unlicensed

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.

Quick start

Since commit 09908c2 Gnocco removed the code for running under a certain user.
For now the propper way of running Gnocco is:

  1. Keep in mind that Gnocco is NOT production state
  2. Create an user and group (gnocco user and group are advised but not mandatory)
  3. Create a configuration space (directory) for gnocco (ie. /etc/gnocco)
  4. Move gnocco.conf and roots files in the configuration space
  5. Review and modify gnocco.conf to suit your needs
  6. Create a directory to hold logs (ie. /var/log/gnocco)
  7. Move the gnocco binary to /usr/bin
  8. Run sudo setcap cap_net_bind_service=+ep /usr/bin/gnocco in order to enable Gnocco to listen on ports < 1024 (ie. 53)
  9. Itegrate Gnocco with your init system

About

Gnocco is a DNS cache.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published