You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/09 01:29:56 UTC

[GitHub] [apisix] tokers commented on issue #4010: request help: question about dns_resolver_valid and resolver_timeout

tokers commented on issue #4010:
URL: https://github.com/apache/apisix/issues/4010#issuecomment-816338481


   > What's the default unit?
   
   `ngx_conf_set_msec_slot` calls `ngx_parse_time`, in such a case, when the time doesn't contain the unit, nginx treats it a duration in seconds.
   
   > In older versions, both dns_resolver_valid and resolver_timeout are enabled. Now only resolver_timeout is enabled in config.yaml. Curious about this change. ^_^
   
   Now by default we use the ttl field in the DNS response as the cache ttl.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org