Port details |
- powerdns Advanced DNS server with multiple backends including SQL
- 4.9.2_1 dns =23 4.9.1_1Version of this port present on the latest quarterly branch.
- Maintainer: tremere@cainites.net
- Port Added: 2003-09-05 04:55:22
- Last Update: 2024-11-20 12:12:56
- Commit Hash: b90a6b5
- People watching this port, also watch:: postfix, sudo, nmap, gmake, libxml2
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- 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 = 1728501648
SHA256 (pdns-4.9.2.tar.bz2) = f570640427041f4c5c5470d16eff951a7038c353ddc461b2750290ce99b2e3c2
SIZE (pdns-4.9.2.tar.bz2) = 1378434
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- libtoolize : devel/libtool
- Library dependencies:
-
- libboost_program_options.so : devel/boost-libs
- libcurl.so : ftp/curl
- liblmdb.so : databases/lmdb
- libboost_serialization.so : devel/boost-libs
- libunwind.so : devel/libunwind
- liblua-5.4.so : lang/lua54
- libmysqlclient.so.21 : databases/mysql80-client
- libpq.so.5 : databases/postgresql16-client
- libsqlite3.so : databases/sqlite3
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for powerdns-4.9.2_1:
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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.9.20 19 Nov 2006 15:54:45 |
stefan |
- Add patches to fix IPv6 support. [1]
- Add a comment to mark bundled recursor as deprecated (by the author). [2]
- s/INSTALLS_SHLIB/USE_LDCONFIG/ to satisfy portlint.
PR: 105490 [1], 105491 [2]
Submitted by: Sten Spans<sten@blinkenlights.nl> [1], [2]
Approved by: maintainer [1], [2] |
2.9.20 06 Aug 2006 18:14:26 |
arved |
Fix build of optional LDAP backend with newer versions of OpenLDAP
PR: 97431
Reported by: Thomas Köllmann <koellmann@gmx.net>
Submitted by: "Ralf van den Enden" <Ralf.vdEnden@wldelft.nl> |
2.9.20 17 Mar 2006 16:14:41 |
garga |
- Update to 2.9.20
PR: ports/94597
Submitted by: maintainer |
2.9.19_2 23 Feb 2006 10:40:45 |
ade |
Conversion to a single libtool environment.
Approved by: portmgr (kris) |
2.9.19_1 20 Feb 2006 20:47:50 |
dougb |
Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts. |
2.9.19_1 15 Feb 2006 12:56:37 |
ehaupt |
- Remove USE_REINPLACE
- Remove trailing whitespaces
- Remove depreciated USE_RCORDER
- Unquote BROKEN message
- Add an extra MASTER_SITE
- Change pdns.sh.in and pdns_recursor.sh.in to pdns.in and pdns_recursor.in so
it'll work with USE_RC_SUBR
- Bump PORTREVISION
PR: 93336
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.19 22 Jan 2006 08:31:47 |
edwin |
SHA256ify
Approved by: krion@ |
2.9.19 25 Nov 2005 10:06:36 |
edwin |
Unbreak powerdns
Change the Makefile so compiling against the LDAP library works again
PR: ports/89477
Submitted by: Ralf van der Enden <tremere@cainites.net> |
2.9.19 15 Nov 2005 06:52:12 |
ade |
Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.
Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.
Preliminary documentation can be found at:
http://people.FreeBSD.org/~ade/autotools.txt
which is in the process of being SGMLized before introduction into the
Porters Handbook.
Light blue touch-paper. Run. |
2.9.19 04 Nov 2005 10:27:39 |
kwm |
Update to 2.9.19
Changelog: http://rtfm.powerdns.com/changelog.html#CHANGELOG-2-9-19
Add extra patch to plug memory hole.
PR: 88231
Submitted by: Ralf van der Ende <tremere AT cainites dot net> (maintainer) |
2.9.18 28 Jul 2005 22:37:51 |
pav |
- Fix and update LDAP support
PR: ports/84176
Submitted by: Ralf vd Enden <tremere@cainites.net> (maintainer) |
2.9.18 18 Jul 2005 12:59:51 |
pav |
- Update to 2.9.18
PR: ports/83605
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.17 14 Feb 2005 21:41:39 |
pav |
- Fix build on FreeBSD 6
PR: ports/77480
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.17 01 Feb 2005 10:17:09 |
vs |
Quote BROKEN
Submitted by: krion |
2.9.17 01 Feb 2005 10:06:46 |
vs |
Mark as broken on 6.X
PR: ports/76457
Submitted by: Ralf van der Enden (maintainer) |
2.9.17 15 Jan 2005 01:29:59 |
pav |
- Update to 2.9.17
PR: ports/76145
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.16_7 23 Dec 2004 08:25:47 |
nork |
Clean up SQLite and related ports.
o Move databases/sqlite to databases/sqlite2.
o Fix dependency on databases/sqlite.
o Update sqlite2 to 2.8.15.
o Bump PORTREVISION, accordingly.
Approved by: portmgr, maintainers of sqlite and related ports |
2.9.16_6 20 Nov 2004 01:21:17 |
nork |
pdns_recursor related issues fixed.
I committed pre-improved version's PR. This is my mistake.
Pointed out by: Ralf van der Enden <tremere@cainites.net> (maintainer)
Pointy hat to: myself
PR: ports/73862
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.16_5 19 Nov 2004 16:40:56 |
nork |
pdns_recursor related issues fixed
PR: ports/73862
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.16_4 01 May 2004 12:08:05 |
eik |
Fixed OpenLDAP 2.2 support by using USE_OPENLDAP knob
Default MySQL version now 4.0 instead of 3.23
pet portlint
PR: 66143
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.16_3 30 Apr 2004 09:08:27 |
eik |
OpenLDAP 2.0 is no longer supported, so also removed from PowerDNS
-> Please upgrade to OpenLDAP 2.1 or 2.2
PR: 66105
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.16_2 14 Mar 2004 06:17:56 |
ade |
Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".
For ports-in-waiting:
USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13
USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213
USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14
Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed. |
2.9.16_2 06 Mar 2004 12:44:51 |
pav |
- Add WITH_SQLITE knob to enable SQLite backend
PR: ports/63817
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.16_1 02 Mar 2004 19:27:59 |
pav |
- Some small fixes to startup-script (fixed by Dirk Meyer and Ralf vd Enden).
- $PREFIX no longer hardcoded (fixed by Dirk Meyer).
- Pet portlint a bit
PR: ports/63530
Submitted by: maintainer |
2.9.16 01 Mar 2004 09:57:34 |
pav |
- Update to 2.9.16
PR: ports/63530
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) |
2.9.15_2 28 Feb 2004 20:03:50 |
pav |
- Add sample startup script
PR: ports/62344
Submitted by: maintainer |
2.9.15_1 04 Feb 2004 05:21:48 |
marcus |
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 2) |
2.9.15 31 Jan 2004 12:09:00 |
dinoex |
- new MAINTAINER tremere@cainites.net
- fix spaces in Makefile (portlint)
PR: 61678
Submitted by: tremere@cainites.net |
2.9.15 20 Jan 2004 20:53:33 |
erwin |
Assign port to new vic^H^H^Hmaintainer
Submitted by: freebsd@signout.dk |
2.9.15 20 Jan 2004 19:29:20 |
dinoex |
- drop maintainership
I have no longer this server running. |
2.9.15 20 Jan 2004 04:20:58 |
dinoex |
- Update to 2.9.15
- allow-recursion-override was on by default, it was meant to be off
- Logging was still off in daemon mode, fixed
- Recursor accidentally linked in MySQL, fixed
- The PowerDNS recursor had stability problems
- The recursor now outputs the nameserver average response times in trace mode
- LDAP compiles again
Improvements:
- Several improvements to zone2sql
- Remove libpqpp dependencies
- Added a patch from CVS to make zone2parser.cc compile on STABLE
PR: 61554, 61589
Submitted by: tremere@cainites.net |
2.9.13 12 Jan 2004 10:21:56 |
dinoex |
- Update to 2.9.13
includes:
- Opteron support!
- pdns_recursor jumbles answers now
- Big LDAP cleanup
- Zone2sql is now somewhat clearer when reporting malformed line errors
- pdns_recursor now survives the expiration of all its root records
- Serious issue fixed: added a patch to fix High CPU Load with the pdns_server
and mysqld processes
PR: 61213
Submitted by: tremere@cainites.net |
2.9.12_1 07 Dec 2003 11:55:37 |
dinoex |
- Fix build with postgresql 7.4
- Fix package with ldapbackend
- reorder makefile
- detect if recursor is buildable |
2.9.12_1 05 Dec 2003 21:22:18 |
dinoex |
- mark BROKEN |
2.9.12_1 18 Nov 2003 13:34:59 |
dinoex |
- Added some patches to fix a memory leak in the bind backend
- Added a patch to fix a problem with the allow-axfr-ips option (host/32 netmask
didn't work)
- Added an option to the configure dialog to compile the recursor
- Bumped PORTREVISION
PR: 59385
Submitted by: tremere@cainites.net |
2.9.12 28 Oct 2003 20:52:37 |
dinoex |
Update to 2.9.12
- Addition of SQLite backend
- pdns_recursor maturity
- Verisign sitefinder workaround
PR: 58609
Submitted by: tremere@cainites.net |
2.9.11 25 Oct 2003 20:45:03 |
dinoex |
- let user configure witch MySQL or OpenLDAP versions he wants |
2.9.11 05 Sep 2003 04:54:37 |
edwin |
Massive repo-copies request: net->dns (partly devel->dns)
PR: ports/56020
Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>
Approved by: portmgr |