I am not understanding the issue you have with DNS?
Just have a script that updates the DNS entry to your current public IP. If you do not like Cloudflare there are plenty of other services that offer a free API with their DNS service.
I think you are misunderstanding something here.
just_another_person@lemmy.world 1 year ago
It’s called a hosts file