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: DNS resolver doesn't work for AAAA-only hostnames without cgo #3762

Closed
gopherbot opened this issue Jun 20, 2012 · 7 comments
Closed

net: DNS resolver doesn't work for AAAA-only hostnames without cgo #3762

gopherbot opened this issue Jun 20, 2012 · 7 comments

Comments

@gopherbot
Copy link

by mstplbrg:

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Cross-compile a program for arm, so cgo is not available
2. Try to use your program on the target which is IPv6-only
3. Wonder why it only tries to resolve an A record and stops there.

What is the expected output?
The program should query a AAAA record.

What do you see instead?
The program only queries an A record.

Which compiler are you using (5g, 6g, 8g, gccgo)?
5g

Which operating system are you using?
linux/x86_64, compiling for linux/arm

Which version are you using?  (run 'go version')
go version weekly.2012-03-27 +f14046c7d922

Patch is attached.

Attachments:

  1. resolve_aaaa.patch (498 bytes)
@bradfitz
Copy link
Contributor

Comment 1:

We don't use the bug tracker for patches.
See http://golang.org/doc/contribute.html

@davecheney
Copy link
Contributor

Comment 2:

Hi, can you please follow Brads instructions and submit a CL using the code review tool.
Cheers
Dave

Status changed to WaitingForReply.

@gopherbot
Copy link
Author

Comment 3 by mstplbrg:

Yeah, I already did that about an hour after sending the ticket:
http://golang.org/cl/6303106

@minux
Copy link
Member

minux commented Jun 24, 2012

Comment 4:

@mstplbrg, you forgot to 'hg mail 6303106'.

@gopherbot
Copy link
Author

Comment 5 by mstplbrg:

Thanks for the hint, I did that by now.

@davecheney
Copy link
Contributor

Comment 6:

Status changed to New.

@rsc
Copy link
Contributor

rsc commented Jun 25, 2012

Comment 7:

This issue was closed by revision dfbd42e.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
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

5 participants