I've written a script for this problem.
https://github.com/vgdh/proxmox-ipset-auto-dns
It checks a cluster-wide, node, VM, and container-level IPsets.
Detects IP sets with comments like auto_dns_example.com_github.com, resolves their IPs via DNS, and updates the firewall accordingly — cluster-wide, node, VM, and container levels supported.
Also, support multiple IPs for the domain name (IPv4+IPv6).
Hey, nice work. Good to see a bash option to compliment the existing python option.
I took a quick look at the repo, didn't test but it looked good and well documented