However, I still haven’t migrate my slave DNS server.
My slave DNS server is still running CentOS 7.9 and has Webmin installed. Virtualmin is not installed. Since Virtualmin is not installed, there is no Backup and Restore function.
How can I migrate my slave DNS server from CentOS 7.9 to Rocky Linux 9.1 under this circumstance?
BIND hasn’t really changed at all. You can generally just copy the BIND config and hosts files (probably in /var/named) over to the new system and restart named.
It’s what I’ve always done, anyway, going from some ancient RHEL version all the way up to current servers probably running 8.
And, actually, you can go the other way, too. If you have a slave can make it a master, and have it sync to the new server, then make that one the master and shut down the old slave.
All sorts of options. But, copying the hosts over also works.