siennathesane / cloudflare-sync

A nice to have, MIT-licensed tool for using Cloudflare as a dynamic DNS provider.
MIT License
268 stars 19 forks source link

Update of IP address reset TTL and proxied/dnsOnly value #5

Closed ligol closed 4 years ago

ligol commented 5 years ago

Method to reproduce: Define a specific TTL or set dns only on your config line and wait for an update from cloudlare-sync, all value will be put back to default(TTL : Automatic, Proxied).

Could be nice to keep the old configuration of the line by default or via a flag

siennathesane commented 5 years ago

The configuration file is a subset of the JSON payload required for the Cloudflare API, so if you set the values to match whatever you already have configured, it should honor those. I should likely document that behaviour.

ligol commented 5 years ago

Oh yes sorry, haven't seen that configuration.

Thanks