PowerDNS 5.x for Alma / Rocky / RHEL 10?

Description

Unable to install PowerDNS on Rocky Linux 10

Steps to Reproduce

cpcmd scope:set cp.bootstrapper powerdns_enabled true
upcp -sb software/powerdns

Results in error:

TASK [software/powerdns-support/plays/powerdns-authoritative-setup : Install PowerDNS RPMs] ****************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'powerdns-rec-49': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}

Checking the PowerDNS repos, it appears that only 5.x is supported for EL10. Are there any options here without creating future headaches? I’m wanting this server maintain authoritative DNS for certain domains and push zones/updates to a cloud DNS secondary service via axfr by default.

Expected Behavior

Install and activate PowerDNS

Actual Behavior

Install fails due to PowerDNS 4.x packages being unavailable for EL10.

Environment

ApisCP version:
revision: f4e1af8849bfe9d7c80cc19fbd8ebf1722542029
timestamp: 1773194341
ver_maj: 3
ver_min: 2
ver_patch: 0
ver_pre: f4e1af884
dirty: false
debug: false

Operating System:
6.12.0-124.40.1.el10_1.x86_64

This can be override by supplying powerdns_version, i.e.

upcp -sb --var=powerdns_version=5.0 software/powerdns

Confirmed working on Rocky 10 for me.

This produce the same “Failed to download metadata for repo ‘powerdns-rec-49’” error message until I manually replaced the repo with PowerDNS 5.0.

Am I to assume this is safe going forward? I’m still learning this whole ApisCP + Ansible method of managing things and trying to not cause future issues for myself.

Thanks for the help!

Use --force or remove /etc/yum.repos.d/powerdns.repo to ensure the repo metadata is regenerated.

Yes, it will be safe going forward as the value is recorded in /root/apnscp-vars-runtime.yml after modification.