ZoneParser: error on parsing an IPv6 address in an A record (#923)
* ZoneParser: error on parsing an IPv6 address in an A record And vice versa for IPv4 with AAAA. The implementation of isIPv6 is inspired bymaster
e341bae08d/src/net/ip.go (L678-L681). * Fix benchmarks that try to use ::1 as A record. * Test A/AAAA parsing via NewRR rather than zone parser. * Document why we distinguish IPv4 vs IPv6 via existence of ":".
Reference in New Issue