[Pdns-users] Confused about PDNS versions in distro package repos

Erik Winkels erik.winkels at open-xchange.com
Mon Jan 7 08:59:39 UTC 2019

Hello Nick (and Brian),

"Brian Candler" wrote on Sunday, 2019-01-06 19:07:
> On 06/01/2019 17:54, Nick Williams wrote:
>  The PDNS Authoritative version reported in Ubuntu’s repo (https://packages.ubuntu.com/bionic/pdns-server) is 4.1.1-1. But 4.1.1-1 isn’t an actual PDNS version. So is it actually 4.1.1,
>  or is it 4.1.2, 4.1.3, 4.1.4, or 4.1.5? Does anyone here even know the answer to that (seems like a big mystery of the universe to me)? Or maybe know where I can find this
>  information?
> Actually it's very simple: it just means powerDNS 4.1.1, packaging version 1.  This allows the same underlying version 4.1.1 to be repackaged/re-released as (say) 4.1.1-2.

I was curious as well so under the assumption that the Ubuntu maintainers do not edit our version number:

    $ docker run -it ubuntu:bionic /bin/bash
    root at b2adea4802ca:/# apt-get update
    root at b2adea4802ca:/# apt-get install pdns-server
    root at b2adea4802ca:/# pdns_server --version
    Jan 07 08:43:16 PowerDNS Authoritative Server 4.1.1 (C) 2001-2017 PowerDNS.COM BV
    Jan 07 08:43:16 Using 64-bits mode. Built using gcc 7.3.0.
    Jan 07 08:43:16 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
    Jan 07 08:43:16 Features: sodium openssl lua
    Jan 07 08:43:16 Built-in modules:
    Jan 07 08:43:16 Configured with: " '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--sysconfdir=/etc/powerdns' '--with-dynmodules=bind ldap pipe gmysql godbc gpgsql gsqlite3 geoip lua mydns remote random opendbx tinydns' '--with-modules=' '--enable-libsodium' '--enable-tools' '--without-protobuf' '--enable-unit-tests' '--enable-reproducible' '--enable-systemd' '--with-systemd=/lib/systemd/system' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/pdns-a_uLpP/pdns-4.1.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/pdns-a_uLpP/pdns-4.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -DPACKAGEVERSION='\''"4.1.1-1.Ubuntu"'\'''"

Which confirms what Brian said: it is version 4.1.1 packaging version 1.

Like others suggested use https://repo.powerdns.com/ if you want the most recent and up-to-date versions.  This repository is updated with every new release.


More information about the Pdns-users mailing list