dnsdist Overview

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.

dnsdist is dynamic, its configuration language is Lua and it can be changed at runtime, and its statistics can be queried from a console-like interface or an HTTP API.

A configuration to balance DNS queries to several backend servers:

newServer({address="2620:fe::fe", qps=1})
newServer({address="2620:fe::9", qps=1})
newServer({address="", qps=1})
newServer({address="2001:db8::1", qps=10})
newServer({address="[2001:db8::2]:5300", name="dns1", qps=10})
setServerPolicy(firstAvailable) -- first server within its QPS limit

Running dnsdist

If you have not worked with dnsdist before, here are some resources to get you going:

Questions, requests or comments?

There are several ways to reach us:

The Open-Xchange/PowerDNS company can provide help or support you in private as well. Please contact Open-Xchange.

This documentation is also available as a PDF document.