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
If you look up a not fully qualified name via net.Lookup* functions and the name can't
be resolved, it will print the name as it was a fully qualified name.
Given you have the search path "example.com" and try to resolve
"foo": If "foo.example.com" can't be resolved, net prints:
lookup foo.: no such host
Which is misleading because you expect it tried to resolve "foo." where it in
fact (as designed) tried to resolve "foo.example.com" as well.
Reason for this:
https://code.google.com/p/go/source/browse/src/pkg/net/dnsclient_unix.go#208 makes the
name fully qualified and the error will be returned right away. IMO it should use the
originally provided name for the error.
The text was updated successfully, but these errors were encountered:
by fish@soundcloud.com:
The text was updated successfully, but these errors were encountered: