There is a tool, I've been running for a few years now. In 2018 I published it into GitHub and wrote a blog post about it. Later, I wrote it to support Azure DNS.
As this code is something I do run in my production system(s), I do keep it maintained and working. Latest changes include:
pip install .
This long-running project of mine starts to feel like a real thing. I'm planning to publish it into PyPI later.