Like the title says, I want to replace the IP address in a wireguard .conf file to be a domain instead.
I own a domain through cloudflare, so say I wanted to use vpn.example.org
What DNS record and info do I need to put into Cloudflare? (I am aware I’ll need to update it if my ip changes)
Decipher0771@lemmy.ca 9 hours ago
Just an A record, you just need the domain query to resolve to your IP.
Dust0741@lemmy.world 9 hours ago
Thank you. It really was that simple
majestictechie@lemmy.fosshost.com 4 hours ago
I do this on my home network which has a Dynamic IP. I wrote a script which I cron to check and update it if it changes github.com/MajesticTechie/CloudflareDynamicDNS