Comments (5)
From the (admittedly short) time I just spent playing around with libdns, it looks like leaving the field empty doesn't cause any problems (the TTL is set to the default value) I only tested this on libdns/cloudflare.
Another option is to have the default be equal to the CheckInterval.
from caddy-dynamicdns.
I guess we could separate them. I haven't heard of a use case for checks more frequent than 5m before. Why do you need to check that often?
Because it makes sense for CheckInterval to roughly be the TTL, since we're not doing lookups more often than CheckInterval. 🤷♂️
But if there's a good use case for this I guess we can separate them out.
from caddy-dynamicdns.
My IP address changes often enough that it sometimes becomes a problem, and I don't see any reason why not 🤷♂️
Because it makes sense for CheckInterval to roughly be the TTL, since we're not doing lookups more often than CheckInterval. 🤷♂️
This is only true if you have a single client (and even then, it's all a matter of timing). With multiple clients, it's less likely that they have the DNS cached, even if a single client still has the old record cached.
from caddy-dynamicdns.
I'll implement a new TTL config parameter. What should the default be? (Empty/Zero?)
from caddy-dynamicdns.
Should be configurable now -- at least, in the JSON config!
from caddy-dynamicdns.
Related Issues (20)
- Missing license HOT 1
- Caddy stuck on building HOT 2
- domain not found in DNS HOT 9
- Bug: Will not update when one domain is outdated but another is up-to-date HOT 2
- [Feature request] Add an option to use address on specific interface directly. HOT 5
- do not update IPv6 HOT 3
- failed setting DNS record(s) with new IP address(es) - expected 1 zone, got 0 for [external.domain.tld] HOT 4
- Enable Cloudflare Proxy Status HOT 6
- [Feature Request] Get IP from Fritz!Box HOT 11
- Use own IP source HOT 2
- Variable for public ip HOT 16
- panic: assignment to entry in nil map HOT 4
- Using multiple providers HOT 4
- Add HA support. HOT 4
- [Porkbun] DNS Entries are not overwritten, they are appended HOT 9
- Context canceled while creating new records when triggered by /load HOT 3
- Update fails for Digital Ocean HOT 4
- Use netip package?
- Possible issue with "ip_source interface" with dual stack interfaces HOT 13
- dns provider hetzner HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caddy-dynamicdns.