Grab
Grab logoGrab · Feature trail

DNS Resolution Behavior

1 post · May 2017

What this trail covers

This post investigates and explains the differences in DNS resolution behavior between Go's native resolver, Cgo, and C, particularly concerning RFC 6724 (3484) and IPv6. It details how disabling IPv6 affects IP address sorting and identifies that Go's native resolver implements only a partial subset of RFC 6724 rules, lacking source address selection, which leads to different outcomes compared to Cgo/C resolvers.

All Grab trails