[Pdns-users] How to Update from PDNS 4.1.14 to Latest?

Markus Ehrlicher Markus.Ehrlicher at komsa.de
Wed Feb 24 10:29:48 UTC 2021


Better not. You are trying to upgrade PDNS Recursor but have installed PDNS Authoritative Server. That will go wrong ;)

Best regards,
Markus

Von: Pdns-users <pdns-users-bounces at mailman.powerdns.com> Im Auftrag von Jackson Yap via Pdns-users
Gesendet: Mittwoch, 24. Februar 2021 10:56
An: Pieter Lexis <pieter.lexis at powerdns.com>
Cc: pdns-users at mailman.powerdns.com
Betreff: Re: [Pdns-users] How to Update from PDNS 4.1.14 to Latest?

Thanks so much!

That means for PDNS authoritative system, we can update directly through yum with following (on top of existing system):


yum install epel-release &&

dnf install -y 'dnf-command(config-manager)' &&

dnf config-manager --set-enabled PowerTools &&

curl -o /etc/yum.repos.d/powerdns-rec-45.repo https://repo.powerdns.com/repo-files/centos-rec-45.repo &&

yum install pdns-recursor

But we will need to ensure all settings/schema etc that you mentioned are adjusted accordingly so it will still work after that.

Is that correct?

Warmest Regards,
Jackson Yap

On Wed, 24 Feb 2021, 4:56 pm Pieter Lexis via Pdns-users, <pdns-users at mailman.powerdns.com<mailto:pdns-users at mailman.powerdns.com>> wrote:
Hi Jackson,

On 2/24/21 8:57 AM, Jackson Yap wrote:
> After checking for compatibility and pdnsutil check-all-zones, how do I
> update from one PDNS authoritative server version to another?

I would recommend checking after upgrading :). Usually it makes sense to

1. Install the new version
2. Dump+import or clone the old database
3. Do the schema changes on the clone
4. Test (including running the new pdnsutil)
5. Upgrade the production system

You can upgrade by either upgrading you OS. But even better is grabbing
our packages for your distro from from https://repo.powerdns.com/.

> Also regarding number of version to update, what will be a safe version
> recommended for PDNS 4.1.14 to update to first?

Latest stable auth is 4.4, supported until June next yer (see the EOL
statements[1]. We try to make upgrading as painless as possible, hence
the upgrade guide.

Cheers,

Pieter

1 - https://doc.powerdns.com/authoritative/appendices/EOL.html

--
Pieter Lexis
PowerDNS.COM BV -- https://www.powerdns.com
_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com<mailto:Pdns-users at mailman.powerdns.com>
https://mailman.powerdns.com/mailman/listinfo/pdns-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20210224/f19da9c0/attachment-0001.htm>


More information about the Pdns-users mailing list