How to determine resolver and resolver_timeout


How to determine resolver and resolver_timeout?


Hi @wizozi,

I think you should write some context to your question :slight_smile:

If you are talking about nginx directives resolver and resolver_timeout:

In resolver directive you put a dns resolver (ip or domain name), it could be your ISP dns resolver, your own resolver or whatever resolver you want to use, if you are unsure you could any of the public dns resolvers like or or or …


For more info:

In resolver_timeout you set how long nginx will wait for an anwser from the previously defined resolver

resolver_timeout 15s;

For more info:



This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.