How does nginx picks a resolver if you define several like:
...
resolver 108.x.x.x 120.x.x.x 19.x.x.x valid=30s;
...
Is it in a round-robin fashion? or there is some failover logic in there?
According to the nginx document http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver
Name servers are queried in a round-robin fashion.
They are using RR.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With