-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net.LookupSRV: cannot unmarshal DNS message #53556
Comments
can't reproduce that |
@seankhliao thanks for reply
here is output.txt
run with
|
can you try it with |
the same
|
can you try modifying the errors in https://cs.opensource.google/go/go/+/refs/tags/go1.18.3:src/net/lookup.go;l=703;drc=416c953960a475b7418b5c6aef0f46dd102b9129;bpv=1;bpt=1 to return the underlying error and rerun it? |
https://cs.opensource.google/go/go/+/refs/tags/go1.18.3:src/net/lookup.go;l=739;drc=416c953960a475b7418b5c6aef0f46dd102b9129 to be specific, the problem seems here https://cs.opensource.google/go/go/+/refs/tags/go1.18.3:src/vendor/golang.org/x/net/dns/dnsmessage/message.go;l=2497;drc=416c953960a475b7418b5c6aef0f46dd102b9129
if i change allowCompression to 'true' it works |
Duplicate of #36718 |
Can't you please elaborate on the reason instead of just closing it by marking it as a duplicate? |
your DNS server at 192.168.88.1 is returning non conformant responses, SRV targets should not be compressed according to the RFC that introduced then. |
Thanks a lot. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
resolved SRV records
What did you see instead?
at the same time if I checkout SRV records using
dig
it shows the correct resultThe text was updated successfully, but these errors were encountered: