Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
What version of Go are you using (
FWIW, there's a good documentation: https://tools.ietf.org/html/rfc6055. It covers required areas comprehensively.
I feel like it's not a good idea to make the existing lookup API more generic name resolution stuff because it's still hard to implement correct and safe resolution under any environments. Instead, probably it'd be better for user applications to take the responsibility for selecting label encodings and recursive servers. The net package may help such applications under heterogeneous environments by providing improved