notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q2
powerdns Advanced DNS server with multiple backends including SQL
4.9.5 dns on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.9.5Version of this port present on the latest quarterly branch.
Maintainer: tremere@cainites.net search for ports maintained by this maintainer
Port Added: 2025-05-27 14:27:07
Last Update: 2025-05-27 14:25:26
Commit Hash: 53eaf34
License: GPLv2
WWW:
https://www.powerdns.com/auth.html
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (104 items)
Collapse this list.
  1. /usr/local/share/licenses/powerdns-4.9.5/catalog.mk
  2. /usr/local/share/licenses/powerdns-4.9.5/LICENSE
  3. /usr/local/share/licenses/powerdns-4.9.5/GPLv2
  4. bin/pdns_control
  5. bin/pdnsutil
  6. bin/zone2json
  7. bin/zone2sql
  8. sbin/pdns_server
  9. @comment bin/dnspcap2protobuf
  10. @comment bin/calidns
  11. @comment bin/dnsbulktest
  12. @comment bin/dnsgram
  13. @comment bin/dnspcap2calidns
  14. @comment bin/dnsreplay
  15. @comment bin/dnsscan
  16. @comment bin/dnsscope
  17. @comment bin/dnstcpbench
  18. @comment bin/dnswasher
  19. @comment bin/dumresp
  20. @comment bin/ixfrdist
  21. @comment bin/ixplore
  22. @comment bin/nproxy
  23. @comment bin/nsec3dig
  24. @comment bin/pdns_notify
  25. @comment bin/saxfr
  26. @comment bin/sdig
  27. @comment bin/stubquery
  28. lib/pdns/libbindbackend.so
  29. lib/pdns/libpipebackend.so
  30. @comment lib/pdns/libgeoipbackend.so
  31. lib/pdns/liblmdbbackend.so
  32. @comment lib/pdns/liblua2backend.so
  33. lib/pdns/libgmysqlbackend.so
  34. @comment lib/pdns/libldapbackend.so
  35. @comment bin/zone2ldap
  36. lib/pdns/libgpgsqlbackend.so
  37. @comment lib/pdns/libremotebackend.so
  38. lib/pdns/libgsqlite3backend.so
  39. @comment lib/pdns/libtinydnsbackend.so
  40. @comment lib/pdns/libgodbcbackend.so
  41. @comment share/man/man1/calidns.1.gz
  42. @comment share/man/man1/dnsbulktest.1.gz
  43. @comment share/man/man1/dnsgram.1.gz
  44. @comment share/man/man1/dnspcap2calidns.1.gz
  45. @comment share/man/man1/dnsscan.1.gz
  46. @comment share/man/man1/dumresp.1.gz
  47. @comment share/man/man1/ixfrdist.1.gz
  48. @comment share/man/man1/ixplore.1.gz
  49. @comment share/man/man1/nproxy.1.gz
  50. @comment share/man/man1/nsec3dig.1.gz
  51. @comment share/man/man1/pdns_notify.1.gz
  52. share/man/man1/pdnsutil.1.gz
  53. @comment share/man/man1/saxfr.1.gz
  54. @comment share/man/man1/sdig.1.gz
  55. share/man/man1/pdns_control.1.gz
  56. share/man/man1/pdns_server.1.gz
  57. share/man/man1/zone2json.1.gz
  58. @comment share/man/man1/zone2ldap.1.gz
  59. share/man/man1/zone2sql.1.gz
  60. @comment share/man/man1/dnspcap2protobuf.1.gz
  61. @comment share/man/man1/dnstcpbench.1.gz
  62. @comment share/man/man1/dnsreplay.1.gz
  63. @comment share/man/man1/dnsscope.1.gz
  64. @comment share/man/man1/dnswasher.1.gz
  65. @comment share/man/man5/ixfrdist.yml.5.gz
  66. @comment etc/pdns/ixfrdist.example.yml
  67. @sample etc/pdns/pdns.conf-dist etc/pdns/pdns.conf
  68. share/examples/powerdns/pdns.conf
  69. @dir share/examples/powerdns
  70. share/doc/powerdns/3.4.0_to_4.1.0_schema.mysql.sql
  71. share/doc/powerdns/3.4.0_to_4.1.0_schema.pgsql.sql
  72. share/doc/powerdns/3.4.0_to_4.0.0_schema.sqlite3.sql
  73. @comment share/doc/powerdns/4.0.0_to_4.2.0_schema.mssql.sql
  74. share/doc/powerdns/4.0.0_to_4.2.0_schema.sqlite3.sql
  75. share/doc/powerdns/4.1.0_to_4.2.0_schema.mysql.sql
  76. share/doc/powerdns/4.1.0_to_4.2.0_schema.pgsql.sql
  77. @comment share/doc/powerdns/4.2.0_to_4.3.0_schema.mssql.sql
  78. share/doc/powerdns/4.2.0_to_4.3.0_schema.mysql.sql
  79. share/doc/powerdns/4.2.0_to_4.3.0_schema.pgsql.sql
  80. share/doc/powerdns/4.2.0_to_4.3.0_schema.sqlite3.sql
  81. share/doc/powerdns/4.3.0_to_4.3.1_schema.sqlite3.sql
  82. share/doc/powerdns/4.3.0_to_4.7.0_schema.mysql.sql
  83. share/doc/powerdns/4.3.0_to_4.7.0_schema.pgsql.sql
  84. share/doc/powerdns/4.3.1_to_4.7.0_schema.sqlite3.sql
  85. @comment share/doc/powerdns/4.3.0_to_4.7.0_schema.mssql.sql
  86. share/doc/powerdns/bind-dnssec.4.2.0_to_4.3.0_schema.sqlite3.sql
  87. share/doc/powerdns/bind-dnssec.schema.sqlite3.sql
  88. share/doc/powerdns/dnssec-3.x_to_3.4.0_schema.mysql.sql
  89. share/doc/powerdns/dnssec-3.x_to_3.4.0_schema.pgsql.sql
  90. share/doc/powerdns/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
  91. share/doc/powerdns/enable-foreign-keys.mysql.sql
  92. share/doc/powerdns/nodnssec-3.x_to_3.4.0_schema.mysql.sql
  93. share/doc/powerdns/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
  94. share/doc/powerdns/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
  95. @comment share/doc/powerdns/dnsdomain2.schema
  96. @comment share/doc/powerdns/pdns-domaininfo.schema
  97. share/doc/powerdns/schema.mysql.sql
  98. share/doc/powerdns/schema.pgsql.sql
  99. share/doc/powerdns/schema.sqlite3.sql
  100. @comment share/doc/powerdns/schema.mssql.sql
  101. @dir(root,wheel,0755) /var/run/pdns
  102. @owner
  103. @group
  104. @mode
Collapse this list.
Dependency lines:
  • powerdns>0:dns/powerdns
To install the port:
cd /usr/ports/dns/powerdns/ && make install clean
To add the package, run one of these commands:
  • pkg install dns/powerdns
  • pkg install powerdns
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: powerdns
Flavors: there is no flavor information for this port.
NOT_FOR_ARCHS: i386
distinfo:
TIMESTAMP = 1746738482 SHA256 (pdns-4.9.5.tar.bz2) = 669bb7b99823b32c3901337d69b38c9f8073f2fc02e8764933b8c5c0974e2724 SIZE (pdns-4.9.5.tar.bz2) = 1380263

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. autoconf>=2.72 : devel/autoconf
  4. automake>=1.17 : devel/automake
  5. libtoolize : devel/libtool
Library dependencies:
  1. libboost_program_options.so : devel/boost-libs
  2. libcurl.so : ftp/curl
  3. liblmdb.so : databases/lmdb
  4. libboost_serialization.so : devel/boost-libs
  5. libunwind.so : devel/libunwind
  6. liblua-5.4.so : lang/lua54
  7. libmysqlclient.so.21 : databases/mysql80-client
  8. libpq.so.5 : databases/postgresql16-client
  9. libsqlite3.so : databases/sqlite3
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for powerdns-4.9.5: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples GEOIP=off: GeoIP backend (GeoIP2 DB) IXFRDIST=off: Build ixfrdist LMDB=on: LMDB backend LUABACKEND=off: Lua2 backend 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) ====> Lua library: you have to select exactly one of them LUA=on: Use lang/lua LUAJIT=off: Use luajit ===> Use 'make config' to modify these settings
Options name:
dns_powerdns
USES:
autoreconf compiler:c++11-lib cpe gmake libtool localbase:ldflags pathfix pkgconfig ssl tar:bzip2 lua mysql pgsql sqlite:3
pkg-message:
For install:
Enable PowerDNS in /etc/rc.conf(.local) or in /etc/rc.conf.d/pdns with the following line: pdns_enable="YES" A configuration template is available in /usr/local/etc/pdns as pdns.conf-dist. A pdns.conf with all possible options is available in /usr/local/share/examples/powerdns. Initialization file(s) for your database backend(s) are available in /usr/local/share/doc/powerdns as "schema.X.sql".
If upgrading from < 3.4.0:
This version needs a mandatory schema change for the gmysql, gpgsql, and gsqlite3 backends. SQL statements are available in /usr/local/share/doc/powerdns or at https://doc.powerdns.com/.
If upgrading from > 4.0.0 and < 4.2.0:
Autoserial support has been removed. The change_date column has been removed from the records table in all gsql backends, but leaving it in is harmless. The Generic PostgreSQL backend schema has changed: the notified_serial column type in the domains table has been changed from INT DEFAULT NULL to BIGINT DEFAULT NULL: ALTER TABLE domains ALTER notified_serial TYPE bigint USING CASE WHEN notified_serial >= 0 THEN notified_serial::bigint END; This version needs a mandatory schema change for the gmsyql, godbc (mssql), gpgsql, and gsqlite3 backends. SQL statements are available in /usr/local/share/doc/powerdns or at https://doc.powerdns.com/.
If upgrading from > 4.2.0 and < 4.3.0:
MyDNS and OpenDBX backends had been removed per https://Blog.PowerDNS.com/2019/10/17/backend-removals-in-the-upcoming-authoritative-server-release/. The new "unpublished DNSSEC keys" feature comes with a mandatory schema change for all database backends (including BIND with a DNSSEC database). This version needs a mandatory schema change for the gmsyql, godbc(mssql), gpgsql, and gsqlite3 backends. SQL statements are available in /usr/local/share/doc/powerdns or at https://doc.powerdns.com/. For the LMDB backend, please review lmdb-schema-version (https://doc.powerdns.com/authoritative/backends/lmdb.html#setting-lmdb-schema-version).
If upgrading from > 4.3.0 and < 4.7.0:
This version needs a mandatory schema change for gmysql, godbc (mssql), gpsql, and gsqlite3 backends. SQL statements are available at https://github.com/PowerDNS/pdns/blob/master/modules in their respective subfolders as "4.3.0_to_4.7.0_schema.xxsql.sql".
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://downloads.powerdns.com/releases/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.9.5
27 May 2025 14:25:26
commit hash: 53eaf3496f2224a9895ba47a0143b7f8dbe4641dcommit hash: 53eaf3496f2224a9895ba47a0143b7f8dbe4641dcommit hash: 53eaf3496f2224a9895ba47a0143b7f8dbe4641dcommit hash: 53eaf3496f2224a9895ba47a0143b7f8dbe4641d files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Ralf van der Enden
dns/powerdns: Update 4.9.4 => 4.9.5

Release notes:
https://blog.powerdns.com/2025/05/07/authoritative-server-4-9-5
Changelog:
https://doc.powerdns.com/authoritative/changelog/4.9.html#change-4.9.5

While here split very long line.

PR:	287092
MFH:	2025Q2
(cherry picked from commit 64ffc34c5bf271b2385458feba4ca1bc69f66f1c)

Number of commits found: 1