Wireguard config with DDNS

In the DNS client file you will see

Endpoint=

You can replace the hardcoded IP of your destination with you glddns.com address to get your dynamic dns name

Thanks for your sharing.

One other useful trick…

If you take a modified configuration (The “Interface” and “Peer” sections), copy and paste it into a QR code generator, you can make a QR code readable by smartphones with the DDNS server address.

GL-iNet - it would be great to have an option to use the symbolic host name in your QR, config and JSON versions if DDNS is enabled.