kedge icon indicating copy to clipboard operation
kedge copied to clipboard

resolvers: Use DNS resolution that supports TTL instead of arbitrary ttl.

Open bwplotka opened this issue 5 years ago • 0 comments

We use https://github.com/improbable-eng/go-srvlb resolver to watch on resolver changes.

The interval of lookup is based on TTL, but std golang net libraries does not support those.

So either:

  • use https://github.com/miekg/dns inside of https://github.com/improbable-eng/go-srvlb
  • move to https://github.com/grpc/grpc-go/blob/master/resolver/dns/dns_resolver.go#L195

bwplotka avatar Nov 29 '18 13:11 bwplotka