Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.17 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.17 KB

dnsdist on Docker

This repository contains a Docker image of PowerDNS dnsdist, based on uniplug/dnsdist-docker.

dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its goal in life is to route traffic to the best server, delivering top performance to legitimate users while shunting or blocking abusive traffic.

Usage

Create a named container 'dnsdist'. dnsdist starts and listens on ports 53 for dns in the container. To map it to the host's ports, use the following command to create and start the container instead:

docker run -t --name dnsdist -p 53:53/tcp -p 53:53/udp -t sukiyaki/dnsdist

Additional settings

dnsdist stores its config /etc/dnsdist/ in the container. If you wish to configure it, it is a good idea to set up a volume mapping for these path. For example:

docker run -t \
 --name dnsdist \
 -v /data/dnsdist/:/etc/dnsdist/ \
 -p 53:53/udp \
 sukiyaki/dnsdist