Skip to content
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: TestLookupCNAME sometimes failing on Plan 9 #21335

Closed
0intro opened this issue Aug 7, 2017 · 1 comment
Closed

net: TestLookupCNAME sometimes failing on Plan 9 #21335

0intro opened this issue Aug 7, 2017 · 1 comment

Comments

@0intro
Copy link
Member

0intro commented Aug 7, 2017

Sometimes, TestLookupCNAME is failing on Plan 9.

--- FAIL: TestLookupCNAME (0.24s)
	lookup_test.go:266: write /net/dns: dns: resource does not exist; negrcode 0
FAIL
FAIL	net	19.087s

Indeed, resolving an nonexistent CNAME can result in either the "dns failure" or the "resource does not exist" error. This behavior can be reproduced with ndb/dnsquery:

cpu% ndb/dnsquery
> www.iana.org cname
www.iana.org cname	ianawww.vip.icann.org
> www.iana.org. cname
www.iana.org cname	ianawww.vip.icann.org
> www.google.com cname
!dns: dns failure
> www.google.com cname
!dns: dns failure
> www.google.com cname
!dns: dns failure
> google.com
google.com ip	216.58.198.206
> www.google.fr cname
!dns: resource does not exist; negrcode 0
> www.google.fr cname
!dns: resource does not exist; negrcode 0
> 

This is related to (closed) issue #18391.

@0intro 0intro added the OS-Plan9 label Aug 7, 2017
@0intro 0intro added this to the Go1.10 milestone Aug 7, 2017
@0intro 0intro self-assigned this Aug 7, 2017
@gopherbot
Copy link

Change https://golang.org/cl/53670 mentions this issue: net: fix LookupCNAME on Plan 9

@golang golang locked and limited conversation to collaborators Aug 8, 2018
@rsc rsc unassigned 0intro Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants