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

Comments

Projects
None yet
5 participants
@gopherbot
Copy link

commented Jun 20, 2012

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

This comment has been minimized.

Copy link
Member

commented Jun 21, 2012

Comment 1:

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

This comment has been minimized.

Copy link
Contributor

commented Jun 24, 2012

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

This comment has been minimized.

Copy link
Author

commented Jun 24, 2012

Comment 3 by mstplbrg:

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

This comment has been minimized.

Copy link
Member

commented Jun 24, 2012

Comment 4:

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

This comment has been minimized.

Copy link
Author

commented Jun 24, 2012

Comment 5 by mstplbrg:

Thanks for the hint, I did that by now.
@davecheney

This comment has been minimized.

Copy link
Contributor

commented Jun 25, 2012

Comment 6:

Status changed to New.

@rsc

This comment has been minimized.

Copy link
Contributor

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.
You can’t perform that action at this time.