Plugins: dnsdist as a plugin

Created on 14 Jan 2020  路  5Comments  路  Source: opnsense/plugins

dnsdist is a fantastic dns loadbalancing tool, capable of serving requests as DNScrypt or dns-tls, or dns over https.

It's got some significant anti-abuse configuration, as well as the ability to healthcheck and verify upstream dns.

Configuration is kinda advanced tho, so it might just be exposed as a simple text editor for the LUA configuration. Not sure if it's best to just opt for a package by itself, instead of integrated with the UI.

Alternatives

dnscrypt-proxy, ha-proxy for balancing DNS servers, but neither alone, nor combined, offer the same functionality that dnsdist does, as they're more general.

Thanks!

help wanted

Most helpful comment

I added my vote for this, and would encourage considering it in place of the listed alternatives - dnsdist is fairly unique and powerful compared to dnscrypt-proxy and haproxy.

All 5 comments

I added my vote for this, and would encourage considering it in place of the listed alternatives - dnsdist is fairly unique and powerful compared to dnscrypt-proxy and haproxy.

+1 for dnsdist

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.

What does one need to do to make this a plugin?

There's a BSD package already: https://dnsdist.org/install.html

The Contributing document doesn't tell me much about making the plugin. Is there something I could look at? I might have some time coming up.

First you need to build a pkg for it:

opnsense-code ports
cd /usr/ports/dns/dnsdist/ && make install clean

When you successfully build and installed it you can follow the public guides here:
https://docs.opnsense.org/develop.html

Easiest would be to clone an existing plugin and do search+replace:
https://www.routerperformance.net/opnsense/plugin-development/

Was this page helpful?
0 / 5 - 0 ratings