Closed
Description
The /etc/resolv.conf
file often includes: options edns0 trust-ad
. Golang does not recognize either of those options, so it fallbacks to the cgo reoslver.
I think that trust-ad
should be silently ignored. Golang does not use the ad flag anywhere, so it should be safe to silently ignore that option and not cause fallback to the cgo resolver.
Edit: edns0 option