[Pdns-users] Fwd: Procedure to upgrade from old versions

Victor Hugo dos Santos listas.vhs at gmail.com
Tue Oct 4 13:05:12 UTC 2022


Hello there,

I got the tasks to upgrade the pdns-auth, pdns-recursive and dnsdist
to the last stable version.
Actually the versions that we have are:
    dnsdist-1.5.2-1pdns.el7.x86_64
    pdns-recursor-4.4.5-1pdns.el7.x86_64
    pdns-4.4.1-1pdns.el7.x86_64

After a look on the website and some documentation, looks like the two
firsts (dnsdist and pdnsrecursor) are very standar to upgrade:

* add the repositories
https://repo.powerdns.com/repo-files/el-dnsdist-17.repo and
https://repo.powerdns.com/repo-files/el-rec-47.repo)
* yum update

Similar should be the dns-auth
* add the repositories https://repo.powerdns.com/repo-files/el-auth-47.repo
* yum update

But here we need to upgrade the sql (myql) schema manually using this file
https://github.com/PowerDNS/pdns/blob/master/modules/gmysqlbackend/4.3.0_to_4.7.0_schema.mysql.sql

Note: All the 3 (auth/recursor/dnsdist) and database are each one on
separate servers

Now, I have some questions based on this:

1. Is this procedure correct ? Asking because it looks very simple and
I still don't understand why the old sysadmin never wanted to upgrade
it never.

2. Why not include a post-task on the gmysqlbackend to upgrade the
database schema automatically ?

3. As I understood, we should start with the dnsdist -> recursor -> auth.
There is no version  incompatibility between them ?? like for example,
updding the dnsdist and recursor to the last version now will allow
them to still work correctly with the auth on version 4.4.1 for
example.

4. Is it safe to leave these packages on auto-upgrade mode using the
yum repositories) ? Do you have some regression or problem with this ?

Last, but not related. There is some history to this list ?

Thanks and attentive

-- 
--
Victor Hugo dos Santos
http://www.vhsantos.net
Linux Counter #224399


More information about the Pdns-users mailing list