net: resolv.conf rotate option captured but not used #17126
Closed
Labels
Milestone
Comments
We noticed this caused an imbalance on the load our dns servers were handling. Would be really nice if the flag were honored. |
/cc @mdempsky |
Seems worth supporting to me. Were either of you planning to prepare a CL for this? |
not me. |
I can do it, sure. |
CL https://golang.org/cl/29233 mentions this issue. |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: