Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upUse TTL provided by DNS SRV results #692
Comments
This comment has been minimized.
This comment has been minimized.
|
As a default that would be nice. I wouldn't make it mandatory, though. The SD spec requires to provide a TXT record for each SD name. The TTL of this TXT record specifies the TTL for the SD name. Consul, for example, does not fulfill this requirement. I assume consul sets the same TTL for all instances and hopes the user is smart and interprets this as the TTL for service as a whole. (Wonder what you are supposed to do if there are 0 instances.) It's unlikely to be alone in not sticking to the spec. |
This comment has been minimized.
This comment has been minimized.
|
We may want to consider the refresh rate as more of a minimum ttl in this case? Would that need a different paramater name? Considering there's a caching resolver in place in many cases, is there a need to do anything on our side? |
brian-brazil
added
the
enhancement
label
Dec 16, 2015
This comment has been minimized.
This comment has been minimized.
|
The default has worked fine so far. Feel free to re-open if you see a need for it. |
grobie
closed this
Mar 1, 2016
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
grobie commentedMay 12, 2015
The DNS refresh rate is currently a configuration option. Even better would be to use the TTL provided by the results and leave the authority at the DNS provider.