<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        mso-fareast-language:DE;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Better not. You are trying to upgrade PDNS Recursor but have installed PDNS Authoritative Server. That will go wrong ;)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Markus<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Pdns-users <pdns-users-bounces@mailman.powerdns.com>
<b>Im Auftrag von </b>Jackson Yap via Pdns-users<br>
<b>Gesendet:</b> Mittwoch, 24. Februar 2021 10:56<br>
<b>An:</b> Pieter Lexis <pieter.lexis@powerdns.com><br>
<b>Cc:</b> pdns-users@mailman.powerdns.com<br>
<b>Betreff:</b> Re: [Pdns-users] How to Update from PDNS 4.1.14 to Latest?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Thanks so much!<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">That means for PDNS authoritative system, we can update directly through yum with following (on top of existing system):<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div style="mso-element:para-border-div;border:solid #CCCCCC 1.0pt;padding:7.0pt 7.0pt 7.0pt 7.0pt;background:whitesmoke">
<pre style="margin-bottom:7.5pt;background:whitesmoke;border:none;padding:0cm;border-radius:4px"><span style="font-family:Consolas;color:#333333">yum install epel-release &&<o:p></o:p></span></pre>
<pre style="margin-bottom:7.5pt;background:whitesmoke;border:none;padding:0cm"><span style="font-family:Consolas;color:#333333">dnf install -y 'dnf-command(config-manager)' &&<o:p></o:p></span></pre>
<pre style="margin-bottom:7.5pt;background:whitesmoke;border:none;padding:0cm"><span style="font-family:Consolas;color:#333333">dnf config-manager --set-enabled PowerTools &&<o:p></o:p></span></pre>
<pre style="margin-bottom:7.5pt;background:whitesmoke;border:none;padding:0cm"><span style="font-family:Consolas;color:#333333">curl -o /etc/yum.repos.d/powerdns-rec-45.repo <a href="https://repo.powerdns.com/repo-files/centos-rec-45.repo">https://repo.powerdns.com/repo-files/centos-rec-45.repo</a> &&<o:p></o:p></span></pre>
<pre style="margin-bottom:7.5pt;background:whitesmoke;border:none;padding:0cm"><span style="font-family:Consolas;color:#333333">yum install pdns-recursor<o:p></o:p></span></pre>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">But we will need to ensure all settings/schema etc that you mentioned are adjusted accordingly so it will still work after that.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Is that correct?<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Warmest Regards,<br>
Jackson Yap<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, 24 Feb 2021, 4:56 pm Pieter Lexis via Pdns-users, <<a href="mailto:pdns-users@mailman.powerdns.com">pdns-users@mailman.powerdns.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Hi Jackson,<br>
<br>
On 2/24/21 8:57 AM, Jackson Yap wrote:<br>
> After checking for compatibility and pdnsutil check-all-zones, how do I<br>
> update from one PDNS authoritative server version to another?<br>
<br>
I would recommend checking after upgrading :). Usually it makes sense to<br>
<br>
1. Install the new version<br>
2. Dump+import or clone the old database<br>
3. Do the schema changes on the clone<br>
4. Test (including running the new pdnsutil)<br>
5. Upgrade the production system<br>
<br>
You can upgrade by either upgrading you OS. But even better is grabbing<br>
our packages for your distro from from <a href="https://repo.powerdns.com/" target="_blank">
https://repo.powerdns.com/</a>.<br>
<br>
> Also regarding number of version to update, what will be a safe version<br>
> recommended for PDNS 4.1.14 to update to first?<br>
<br>
Latest stable auth is 4.4, supported until June next yer (see the EOL<br>
statements[1]. We try to make upgrading as painless as possible, hence<br>
the upgrade guide.<br>
<br>
Cheers,<br>
<br>
Pieter<br>
<br>
1 - <a href="https://doc.powerdns.com/authoritative/appendices/EOL.html" target="_blank">
https://doc.powerdns.com/authoritative/appendices/EOL.html</a><br>
<br>
-- <br>
Pieter Lexis<br>
PowerDNS.COM BV -- <a href="https://www.powerdns.com" target="_blank">https://www.powerdns.com</a><br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>