Earlier quoted context omitted.
How can you claim it's simpler in the light of the revelations in noname120's comment? Dynamic DNS is literally one little service you run to "phone home" to the dynamic DNS provider. This service is bundled in consumer routers; just find it in the WebUI, put in the credentials and turn it on. You know what could be simple: a periodic job that figures out your public IP address, and if it has changed, generates a hos…
Consumer firewalls, the largest names in open source firewalls, and at least one webserver/reverse proxy that I know of. There also dozens of existing DDNS daemons out there already with far more developer, testing, and user eyeballs on them. The firewall solution is preferred because the firewall knows when the external interface changes IP addresses, so there's no system or network overhead from having an agent rep…
That said, the only hole in my firewall/router is a port for Wireguard.