net/http: dns-should-not-resolve.golang
DNS record found in the 4.2.2.2
DNS server.
#16716
Labels
dns-should-not-resolve.golang
DNS record found in the 4.2.2.2
DNS server.
#16716
Building go 1.7 with
all.bash
on osx/amd64, I noticed the following fail in thenet/http
package:I dumped the
httptrace
used in the request that failed and found:Seeing that the DNS was resolving I tested further with nslookup and discovered the DNS server I had been using (4.2.2.2) contained an entry.
Changing the DNS server to a different provider (8.8.8.8) showed no entry.
This error has prevented my
all.bash
tests from passing. I'm not sure if there's a responsibility here to write tests that cannot be spoofed. What is the course to take?The text was updated successfully, but these errors were encountered: