You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The net package has a fairly complete dns implementation, however it lacks
support for IPv6 (AAAA) records. The following patch adds support for this.
It does so by redefining A and now also AAAA as IP structs.
The pack and unpack function are modified accordingly. The unpack function works, but I
could not yet test the pack function. 'make test' in the net/ directory is still OK.
LookupHost also needs to be modified to make IPv6 actually work. Currently it still
looks for A records.
*** Submitted as
http://code.google.com/p/go/source/detail?r=5db33d4b32f6 ***
net: drop laddr from Dial, cname from LookupHost; new functions
Drop laddr argument from Dial.
Drop cname return from LookupHost.
Add LookupIP, LookupCNAME, ParseCIDR, IP.Equal.
Export SplitHostPort, JoinHostPort.
Add AAAA (IPv6) support to host lookups.
Preparations for implementing some of the
lookups using cgo.
ParseCIDR and IP.Equal are logically new in this CL
but accidentally snuck into an earlier CL about unused
labels that was in the same client.
In crypto/tls, drop laddr from Dial to match net.
R=golang-dev, dsymonds, adg, rh
CC=golang-dev
http://golang.org/cl/4244055
Attachments:
The text was updated successfully, but these errors were encountered: