labzilla / labzilla-comments

0 stars 0 forks source link

blog/synology-cloudflare-ddns #3

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Synology NAS with Cloudflare DDNS - LabZilla

If you have a residential Internet connection through Comcast Xfinity, Spectrum, or most other major Internet service providers, you likely have a dynamic IP...

https://labzilla.io/blog/synology-cloudflare-ddns

wfulcher commented 3 years ago

Is there a way to set this to keep the proxy status? Right now this works great, but once it updates it removes the cloudflare proxy setting, leaving it to dns only instead of proxied.

labzilla commented 3 years ago

Is there a way to set this to keep the proxy status? Right now this works great, but once it updates it removes the cloudflare proxy setting, leaving it to dns only instead of proxied.

Looks like you should be able to add a "proxied":false in there somewhere according to Cloudflare's API documentation: https://api.cloudflare.com/#dns-records-for-a-zone-update-dns-record

I switched to using pfSense's built-in DDNS client (that supports Cloudflare) so I don't use this any longer.

rtfmoz2 commented 3 years ago

It does support Cloudflare you just have to know how to set it up

When you add it to Synology use the following format.

Service Provider: DNS-O-Matic Hostname: myip (or whatever host record you are using, NOT the FQDN) Username: Your username for DNS-O-Matic (typically an email address) Password: Password for DNS-O Matic Now click OK

My DNS-O-Matic record is as follows... (go setup a free account) Email: My Cloudflare email API Token: Is the Account ID on the cloudflare overview page. Hostname: myip Domain: yourdomain.com

Vmeup commented 1 year ago

Dude.... this is wicked awesome... I found the curl query in the Cloudflare API docs but wasn't sure how to implement it with my Synology.... 20 minutes with this post, and I have my NAS updating my DDNS with CF....

Thanks for posting this.