instantlinux/udp-nginx-proxy
A load-balancer for UDP provided by nginx.
100K+
The missing feature of haproxy: UDP, provided by nginx. The main use-case for this is to make more than one DNS server available at a single IP address for high-availability. It can also remap specialized DNS services from one UDP port to another.
See the docker-compose.yml file provided here in the source directory; you will probably need to run it in network:host mode.
A customized configuration can be volume-mounted as /usr/local/lib/udp.conf.
Variable | Default | Description |
---|---|---|
BACKENDS | self | space-separated list of backend IP or hostnames |
INTERFACE | eth0 | interface to listen on |
IP_LISTEN | self | IP address to bind to |
PORT_BACKEND | 53 | UDP port number of backend servers |
PORT_LISTEN | 53 | port to listen on |
If you want to make improvements to this image, see CONTRIBUTING.
docker pull instantlinux/udp-nginx-proxy