VPN for Self-hosting - Public IP

Awesome :slight_smile: Already trying, Is this script available somewhere? Cloudflare supplies the info?

Thank you FunDeck, I’m starting to love reddit. I’m new here but this is amazing.

Somehow I forgot to link the script. My bad.

Here’s the script I am using
Cloudflare DDNS Updater

Here’s a youtube tutorial as well Cloudflare DDNS - NetworkChuck

Perfect, thank you! NetworkChuck is cool :slight_smile:

It worked! Very Simple :slight_smile:

One question, for every record we need to write one script? so it updates each of them?

Thank you!

Nope. You can create a root record(“A” record for “@”). And update the root record with the script. Then all other records could be CNAME (Rather than A record) and point to “@”(i.e. the root record)

ahaaa, gotcha. The only with the IP will be the root record then. The rest are cnames.

Now, If I add one more website, then I need one more script to update that one too, right?

Bingo! Thank you so much Usernameless.

I will keep this solution for now :slight_smile: seems to be perfect for what I want to achieve.

You saved my day. Solved!

ohh… hmm… maybe the other domains can all have the same cname too???

Those website could also point to the root A record , I think.
I have used this for creating various subdomains on the same server. But any other Domain should work just the same.

Rather than pointing other domains to “@”, point it to the main domain name. (Assume the main domain name for which the script is running is example.com, then new-example.com will have a CNAME pointing at example.com)

Only one way to find out. Let me know how it goes.

Confirmed to work. Bravo!