dns/powerdns 5.1.4_3 FreeBSD
Advanced DNS server with multiple backends including SQL
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
85ba298b7e- License
- GPLv2
- Categories
- dns
- Package size
- 2612.9 KiB, 12396.5 KiB installed
Description
The PowerDNS Authoritative Server is a versatile nameserver which supports a large number of backends. These backends can either be plain zone files or be more dynamic in nature.
PowerDNS has the concepts of 'backends'. A backend is a datastore that the server will consult that contains DNS records (and some metadata). The backends range from database backends (MySQL, PostgreSQL) and BIND zone files to co-processes and JSON API's.
Multiple backends can be enabled in the configuration by using the launch option. Each backend can be configured separately.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | dns/powerdns | 5.1.4_3 |
| OpenBSD | net/powerdns | 5.1.4p0 |
| NetBSD | net/powerdns | 5.1.4nb1 |
| MidnightBSD | dns/powerdns | 5.1.4 |
Install
Binary package:
pkg install powerdns
From the ports tree:
cd /usr/ports/dns/powerdns/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= powerdns>0:dns/powerdns
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 | 5.1.4_2 | 5.1.4_2 | 4.7.3 | 4.9.8 | - |
| FreeBSD:14:quarterly | 5.1.4_2 | 5.1.4_2 | n/a | 4.9.7 | - |
| FreeBSD:15:latest | 5.1.4_2 | 5.1.4_2 | n/a | 4.9.8 | - |
| FreeBSD:15:quarterly | 5.1.4_2 | 5.1.4_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.1.4_2 | 5.1.4_2 | 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 1
${PYTHON_PKGNAMEPREFIX}pyyaml>0: devel/py-pyyaml
Library 3
libboost_program_options.so: devel/boost-libslibcurl.so: ftp/curllibsodium.so: security/libsodium
The full lists below include those, and their dependencies in turn.
Build dependencies 42
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- databases/lmdb0
- databases/mysql84-client
- databases/openldap26-client
- databases/postgresql18-client
- databases/sqlite3
- devel/boost-libs
- devel/gettext-runtime
- devel/icu
- devel/libcbor
- devel/libedit
- devel/libffi
- devel/libunistring
- devel/meson
- devel/ninja
- devel/pkgconf
- devel/py-pyyaml
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/lua54
- lang/perl5.42
- lang/python312
- lang/tcl86
- math/libtommath
- math/mpdecimal
- print/indexinfo
- print/libpaper
- print/psutils
- security/cyrus-sasl2
- security/libfido2
- security/libsodium
- security/libssh2
- textproc/expat2
- textproc/groff
- textproc/libyaml
- textproc/uchardet
- www/libnghttp2
Run dependencies 33
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- databases/lmdb0
- databases/mysql84-client
- databases/openldap26-client
- databases/postgresql18-client
- databases/sqlite3
- devel/boost-libs
- devel/gettext-runtime
- devel/icu
- devel/libcbor
- devel/libedit
- devel/libunistring
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/lua54
- lang/perl5.42
- lang/tcl86
- math/libtommath
- print/indexinfo
- print/libpaper
- print/psutils
- security/cyrus-sasl2
- security/libfido2
- security/libsodium
- security/libssh2
- textproc/groff
- textproc/uchardet
- www/libnghttp2
No port depends on this one.
Configuration
Options name: dns_powerdns
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
| GEOIP | off | GeoIP backend (GeoIP2 DB) |
| GNUTLS | off | DoT support via GnuTLS (sdig only) |
| IXFRDIST | off | Build ixfrdist |
| LMDB | on | LMDB backend |
| LUA | on | Use lang/lua (enables Lua records) |
| LUABACKEND | off | Lua2 backend module (launch=lua2) |
| LUAJIT | off | Use LuaJIT (enables Lua records) |
| MYSQL | on | MySQL backend |
| OPENLDAP | off | OpenLDAP backend |
| PGSQL | on | PostgreSQL backend |
| REMOTE | off | Remote backend |
| SQLITE3 | on | SQLite 3 backend |
| TINYDNS | off | TinyDNS backend |
| TOOLS | off | Build extra tools |
| UNIXODBC | off | ODBC backend via unixODBC |
| ZEROMQ | off | Enable ZeroMQ connector (Implies REMOTE enabled) |
- USES
- compiler:c++17-lang cpe libtool localbase meson pkgconfig python:build ssl tar:bzip2
- Service scripts
pdns
Message after installing
Files
Manual pages 25
- calidns(1)
- dnsbulktest(1)
- dnsgram(1)
- dnspcap2calidns(1)
- dnspcap2protobuf(1)
- dnsreplay(1)
- dnsscan(1)
- dnsscope(1)
- dnstcpbench(1)
- dnswasher(1)
- dumresp(1)
- ixfrdist(1)
- ixfrdist.yml(5)
- ixplore(1)
- nproxy(1)
- nsec3dig(1)
- pdns_control(1)
- pdns_notify(1)
- pdns_server(1)
- pdnsutil(1)
- saxfr(1)
- sdig(1)
- zone2json(1)
- zone2ldap(1)
- zone2sql(1)
pkg-plist 98
- bin/pdns_control
- bin/pdnsutil
- bin/zone2json
- bin/zone2sql
- sbin/pdns_server
- bin/dnspcap2protobuf
- bin/calidns
- bin/dnsbulktest
- bin/dnsgram
- bin/dnspcap2calidns
- bin/dnsreplay
- bin/dnsscan
- bin/dnsscope
- bin/dnstcpbench
- bin/dnswasher
- bin/dumresp
- bin/ixfrdist
- bin/ixplore
- bin/nproxy
- bin/nsec3dig
- bin/pdns_notify
- bin/saxfr
- bin/sdig
- bin/stubquery
- lib/pdns/libbindbackend.so
- lib/pdns/libpipebackend.so
- lib/pdns/libgeoipbackend.so
- lib/pdns/liblmdbbackend.so
- lib/pdns/liblua2backend.so
- lib/pdns/libgmysqlbackend.so
- lib/pdns/libldapbackend.so
- bin/zone2ldap
- lib/pdns/libgpgsqlbackend.so
- lib/pdns/libremotebackend.so
- lib/pdns/libgsqlite3backend.so
- lib/pdns/libtinydnsbackend.so
- lib/pdns/libgodbcbackend.so
- share/man/man1/calidns.1.gz
- share/man/man1/dnsbulktest.1.gz
- share/man/man1/dnsgram.1.gz
- share/man/man1/dnspcap2calidns.1.gz
- share/man/man1/dnsscan.1.gz
- share/man/man1/dumresp.1.gz
- share/man/man1/ixfrdist.1.gz
- share/man/man1/ixplore.1.gz
- share/man/man1/nproxy.1.gz
- share/man/man1/nsec3dig.1.gz
- share/man/man1/pdns_notify.1.gz
- share/man/man1/pdnsutil.1.gz
- share/man/man1/saxfr.1.gz
- share/man/man1/sdig.1.gz
- share/man/man1/pdns_control.1.gz
- share/man/man1/pdns_server.1.gz
- share/man/man1/zone2json.1.gz
- share/man/man1/zone2ldap.1.gz
- share/man/man1/zone2sql.1.gz
- share/man/man1/dnspcap2protobuf.1.gz
- share/man/man1/dnstcpbench.1.gz
- share/man/man1/dnsreplay.1.gz
- share/man/man1/dnsscope.1.gz
- share/man/man1/dnswasher.1.gz
- share/man/man5/ixfrdist.yml.5.gz
- etc/pdns/ixfrdist.example.yml
- @sample etc/pdns/pdns.conf-dist etc/pdns/pdns.conf
- share/examples/powerdns/pdns.conf
- @dir share/examples/powerdns
- share/doc/powerdns/3.4.0_to_4.1.0_schema.mysql.sql
- share/doc/powerdns/3.4.0_to_4.1.0_schema.pgsql.sql
- share/doc/powerdns/3.4.0_to_4.0.0_schema.sqlite3.sql
- share/doc/powerdns/4.0.0_to_4.2.0_schema.mssql.sql
- share/doc/powerdns/4.0.0_to_4.2.0_schema.sqlite3.sql
- share/doc/powerdns/4.1.0_to_4.2.0_schema.mysql.sql
- share/doc/powerdns/4.1.0_to_4.2.0_schema.pgsql.sql
- share/doc/powerdns/4.2.0_to_4.3.0_schema.mssql.sql
- share/doc/powerdns/4.2.0_to_4.3.0_schema.mysql.sql
- share/doc/powerdns/4.2.0_to_4.3.0_schema.pgsql.sql
- share/doc/powerdns/4.2.0_to_4.3.0_schema.sqlite3.sql
- share/doc/powerdns/4.3.0_to_4.3.1_schema.sqlite3.sql
- share/doc/powerdns/4.3.0_to_4.7.0_schema.mysql.sql
- share/doc/powerdns/4.3.0_to_4.7.0_schema.pgsql.sql
- share/doc/powerdns/4.3.1_to_4.7.0_schema.sqlite3.sql
- share/doc/powerdns/4.3.0_to_4.7.0_schema.mssql.sql
- share/doc/powerdns/bind-dnssec.4.2.0_to_4.3.0_schema.sqlite3.sql
- share/doc/powerdns/bind-dnssec.schema.sqlite3.sql
- share/doc/powerdns/dnssec-3.x_to_3.4.0_schema.mysql.sql
- share/doc/powerdns/dnssec-3.x_to_3.4.0_schema.pgsql.sql
- share/doc/powerdns/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
- share/doc/powerdns/enable-foreign-keys.mysql.sql
- share/doc/powerdns/nodnssec-3.x_to_3.4.0_schema.mysql.sql
- share/doc/powerdns/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
- share/doc/powerdns/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
- share/doc/powerdns/dnsdomain2.schema
- share/doc/powerdns/pdns-domaininfo.schema
- share/doc/powerdns/schema.mysql.sql
- share/doc/powerdns/schema.pgsql.sql
- share/doc/powerdns/schema.sqlite3.sql
- share/doc/powerdns/schema.mssql.sql
- @dir(root,wheel,0755) /var/run/pdns
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pdns-5.1.4.tar.bz2 | 1.536977e+06 | f8a10edbf60e49d8c160e93121989d5ebcdad838d0e0b747f26ef7e89fd220c0 |
Master sites 1
- https://downloads.powerdns.com/releases/
Commit history 5
| 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
… |
|
97a84ef467 |
Dima Panov | */*: update boost consumers after boost-1.92 | |
213840c151 |
Dima Panov | */*: bump consumers after devel/boost update | |
c8c63f720c |
Jordan Ostreff | dns/powernds: Update 5.1.3 => 5.1.4 Changelog:
https://doc.powerdns.com/authoritative/changelog/5.1.html#change-5.1.4
PR: 297321
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 |
|
5f9d389f29 |
Xin LI | databases/lmdb0: Add port for LMDB 0.9.x legacy ABI LMDB 1.0 introduced an incompatible on-disk format change and subtle
API breakage: applications that compiled cleanly against 1.0 headers
could fail silently at run time. Known affected ports include dns/knot3,
mail/bogofilter, and mail/postfix; the postfix issue has been confirmed
upstream. Linux distributions such as Arch Linux have observed the same
breakage. Samba can also be affected in certain configurations.
Because the regression is not detectable in an -exp build run -- the
postfix failure only manifests at run time, and bogofilter was caught
only because post-build self-tests happen to exercise this path -- we
cannot rely on package builds to validate the 1.0 upgrade.
This commit introduces databases/lmdb0 as a holding port for the 0.9.35
… |