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...
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