Giter Club home page Giter Club logo

Comments (5)

cobyge avatar cobyge commented on June 3, 2024 1

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.

mholt avatar mholt commented on June 3, 2024

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.

cobyge avatar cobyge commented on June 3, 2024

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.

mholt avatar mholt commented on June 3, 2024

I'll implement a new TTL config parameter. What should the default be? (Empty/Zero?)

from caddy-dynamicdns.

mholt avatar mholt commented on June 3, 2024

Should be configurable now -- at least, in the JSON config!

from caddy-dynamicdns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.