Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: DNS resolver doesn't work for AAAA-only hostnames without cgo #3762
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.