Skip to content

SeanBurford/dns-stats-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dns-stats-docker

DNS Stats Compactor configured to run on Docker and Kubernetes.

Compactor Usage

Mount /var/dnstap/ in both the dns-stats-compactor container and the name server container. This will contain the dnstap.sock Unix socket.

Mount /var/log/dnstap/ in the dns-stats-compactor container. This will contain the logs from compactor.

Optionally, mount a config map at /etc/dns-stats-compactor/ to provide compactor.conf.

Run dns-stats-compactor in the same Kubernetes pod as your name server. I found this blog post on multi container pods useful.

Configure your name server to send dnstap records to the dnstap Unix socket.

Inspector Usage

Download the MaxMind GeoIP Lite City and ASN databases and create a mount at /usr/share/GeoIP containing the uncompressed mmdb files.

Build

  • cd compactor
  • vi Makefile: Modify IMAGES_REPO to point to your repo.
  • make all: Build the image and push it to your repo.

Prebuilt Containers

About

Package dns-stats binaries to run on Kubernetes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published