dns/dnsdist 2.1.2_2 FreeBSD
Highly DNS-, DoS- and abuse-aware loadbalancer
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
85ba298b7e- License
- GPLv2, ISCL, MIT
- Categories
- dns, net
- Package size
- 3211.5 KiB, 12242.9 KiB installed
Description
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 can be changed at runtime, and its statistics can be queried from a console-like interface or an HTTP API.
dnsdist is used to protect and optimize the DNS traffic of hundreds of millions of internet subscribers.
* IPv4, UDP/TCP * IPv6, UDP/TCP, 100% compliant * Remotely pollable statistics for real time graphing * High performance * SNMP statistics bridge (read only) * Dynamically route queries to backend servers * Advanced anti-spoofing measures * Reconfiguration without downtime * Kernel based filtering of harmful traffic, rejecting packets at 'line speed' * Internal Lua-based scripted answer generation * Question interception, answer reconditioning, NXDOMAIN redirection
- Including 'block lists' and security measures * Built-in memory efficient cache for increased performance * Ability to continue serving data from cache for non-responsive backends * Smart rate limiting per user, per subnet, per domain * Capable of writing dynamic rules to block harmful traffic
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | dns/dnsdist | 2.1.2_2 |
| OpenBSD | net/dnsdist | 2.1.2p1 |
| NetBSD | net/dnsdist | 2.1.2 |
Install
Binary package:
pkg install dnsdist
From the ports tree:
cd /usr/ports/dns/dnsdist/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= dnsdist>0:dns/dnsdist
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.1.2 | 2.1.2_1 | - | - | - |
| FreeBSD:14:quarterly | 2.1.2 | 2.1.2 | n/a | 1.9.10 | - |
| FreeBSD:15:latest | 2.1.2_1 | 2.1.2_1 | n/a | - | - |
| FreeBSD:15:quarterly | 2.1.2 | 2.1.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.1.2 | 2.1.2_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${LOCALBASE}/lib/libatomic_ops.a: devel/libatomic_ops${PYTHON_PKGNAMEPREFIX}pyyaml>0: devel/py-pyyamlboost-libs>0: devel/boost-libs
Library 4
libnghttp2.so: www/libnghttp2libquiche.so: net/quichelibre2.so: devel/re2libsodium.so: security/libsodium
The full lists below include those, and their dependencies in turn.
Build dependencies 39
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- databases/lmdb0
- databases/tinycdb
- devel/abseil
- devel/boost-libs
- devel/gettext-runtime
- devel/icu
- devel/libatomic_ops
- devel/libedit
- devel/libffi
- devel/libunistring
- devel/llvm19
- devel/meson
- devel/ninja
- devel/pkgconf
- devel/py-pyyaml
- devel/re2
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/lua54
- lang/python312
- lang/rust
- math/gmp
- math/mpdecimal
- net/quiche
- print/indexinfo
- security/gnutls
- security/libsodium
- security/libssh2
- security/libtasn1
- security/nettle
- security/p11-kit
- textproc/expat2
- textproc/libyaml
- www/libnghttp2
Run dependencies 23
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- databases/lmdb0
- databases/tinycdb
- devel/abseil
- devel/gettext-runtime
- devel/libedit
- devel/libffi
- devel/libunistring
- devel/llvm19
- devel/re2
- dns/libidn2
- lang/lua54
- math/gmp
- net/quiche
- print/indexinfo
- security/gnutls
- security/libsodium
- security/libtasn1
- security/nettle
- security/p11-kit
- www/libnghttp2
No port depends on this one.
Configuration
Options name: dns_dnsdist
| Option | Default | Description |
|---|---|---|
| CDB | on | CDB backend |
| DNSTAP | off | dnstap support (see dnstap.info) |
| GNUTLS | on | SSL/TLS support via GnuTLS |
| IPCIPHER | on | ipcipher support (requires OpenSSL) |
| LMDB | on | LMDB backend |
| LUA | on | Use lang/lua |
| LUAJIT | off | Use luajit |
| OPENSSL | on | SSL/TLS support via OpenSSL |
| SNMP | off | SNMP network protocol support |
- USES
- cargo compiler:c++14-lang cpe libedit localbase meson pkgconfig python:build tar:xz
- Service scripts
dnsdist
Files
Manual pages 1
- dnsdist(1)
pkg-plist 4
- sbin/dnsdist
- share/man/man1/dnsdist.1.gz
- @sample etc/dnsdist/dnsdist.conf.sample
- @sample etc/dnsdist/dnsdist.yml.sample
distinfo 37
| File | Size | SHA256 |
|---|---|---|
| dnsdist-2.1.2.tar.xz | 2.37182e+06 | 9fcb469d7a1b5116606f2563761343d1c595523c1fd67808835fa4edc03c24ce |
| rust/crates/anstyle-1.0.14.crate | 17787 | 940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000 |
| rust/crates/cc-1.2.66.crate | 95653 | f5d6cac793997bd970000024b2934968efe83b382de4fdcf4fcb46b6ee4ad996 |
| rust/crates/clap-4.6.1.crate | 61836 | 1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51 |
| rust/crates/clap_builder-4.6.0.crate | 171122 | 714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f |
| rust/crates/clap_lex-1.1.0.crate | 13470 | c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9 |
| rust/crates/codespan-reporting-0.13.1.crate | 57424 | af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681 |
| rust/crates/cxx-1.0.196.crate | 239675 | ac6f8908ed0826ab0aec7c8358a4de3a9b26c5ed391a5dc5135765d2fd1aa8fb |
| rust/crates/cxx-build-1.0.196.crate | 99531 | 6d8ae25c0ce72ac21a77b5deec4f49b452238ef97072f697dd6fd752b1355ecd |
| rust/crates/cxxbridge-cmd-1.0.196.crate | 86970 | 27d53791812143bd27f74ab6055f22e875f04c59bbef0ca03d714ebec6f6f484 |
| rust/crates/cxxbridge-flags-1.0.196.crate | 5427 | fd557619f7dc2252bf7373f6bec5600ce60a2b477e5b3b84eb4e074bb297795e |
| rust/crates/cxxbridge-macro-1.0.196.crate | 72024 | 7fe465fc5b9d0231ea141c4fae714a08f4f907855e1a7ca10cc90ab6c8b12ece |
| rust/crates/equivalent-1.0.2.crate | 7419 | 877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f |
| rust/crates/find-msvc-tools-0.1.9.crate | 31493 | 5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582 |
| rust/crates/foldhash-0.2.0.crate | 23329 | 77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb |
| rust/crates/hashbrown-0.17.1.crate | 155512 | ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a |
| rust/crates/indexmap-2.14.0.crate | 104085 | d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9 |
| rust/crates/itoa-1.0.18.crate | 15935 | 8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682 |
| rust/crates/link-cplusplus-1.0.12.crate | 8178 | 7f78c730aaa7d0b9336a299029ea49f9ee53b0ed06e9202e8cb7db9bae7b8c82 |
| rust/crates/proc-macro2-1.0.106.crate | 59765 | 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 |
Master sites 1
- https://downloads.powerdns.com/releases/
Commit history 8
| Date | Commit | Credits | Log message |
|---|---|---|---|
85ba298b7e |
Baptiste Daroussin | databases/lmdb: allow to install both 0.x and 1.x together LMDB 1.0 and the legacy 0.9 ABI cannot be mixed, the datanase format are
incompatibles as well.
Rename or relocate everything databases/lmdb0 installs so that it no
longer overlaps with databases/lmdb:
- the utilities are now mdb_copy0, mdb_dump0, mdb_load0 and mdb_stat0
- the header is include/lmdb0/lmdb.h
- the linker name is liblmdb0.so, the shared object keeps its ABI name
liblmdb.so.0 so already linked programs are unaffected
- the pkg-config file is lmdb0.pc
A compatibility prefix holding the previous layout is also installed
under ${PREFIX}/lmdb0/ (include/, lib/ and libdata/pkgconfig/) so that
build systems which expect to find lmdb.h and -llmdb relative to a
single directory only need a path change.
Now all ports should migrate to lmdb 1.X and use the lmdb 0.9 port to ease
… |
|
9c878207a1 |
Mikael Urankar | lang/rust: Bump revisions after 1.99.0 PR: 299016 |
|
ad7aa83df1 |
Ralf van der Enden | dns/dnsdist: Update 2.1.1 => 2.1.2 Changelog:
https://www.dnsdist.org/changelog.html#change-2.1.2
PR: 298309
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q3 |
|
7316461925 |
Mikael Urankar | lang/rust: Bump revisions after 1.98.1 PR: 298139 |
|
90e1f4484a |
Jordan Ostreff | dns/dnsdist: Update 2.1.0 => 2.1.1 Changelog:
https://www.dnsdist.org/changelog.html#change-2.1.1
PR: 297320
Reported by: Jordan Ostreff <[email protected]> (author)
Approved by: Ralf van der Enden <[email protected]> (maintainer)
Approved by: osa, vvd (Mentors, implicit)
Security: CVE-2026-52682
MFH: 2026Q3 |
The latest 5 of 8 in the history this site was built from.