You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resolv.conf rotate option is captured when reading config but is not used by the Go stub resolver when querying.
Linux's resolv.conf(5) says:
rotate sets RES_ROTATE in _res.options, which causes round-robin selection of name‐
servers from among those listed. This has the effect of spreading the query
load among all listed servers, rather than having all clients try the first
listed server first every time.
If I were implementing this, I would consider just incrementing an atomic int at the beginning of tryOneName and using that as an offset for my iteration.
The resolv.conf rotate option is captured when reading config but is not used by the Go stub resolver when querying.
Linux's resolv.conf(5) says:
cc @captncraig
The text was updated successfully, but these errors were encountered: