{"action":"opened","issue":{"url":"https://api.github.com/repos/golang/go/issues/26573","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/26573/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/26573/comments","events_url":"https://api.github.com/repos/golang/go/issues/26573/events","html_url":"https://github.com/golang/go/issues/26573","id":344093395,"node_id":"MDU6SXNzdWUzNDQwOTMzOTU=","number":26573,"title":"net: custom DNS-over-TLS Resolver doesn't work anymore","user":{"login":"artyom","id":68182,"node_id":"MDQ6VXNlcjY4MTgy","avatar_url":"https://avatars0.githubusercontent.com/u/68182?v=4","gravatar_id":"","url":"https://api.github.com/users/artyom","html_url":"https://github.com/artyom","followers_url":"https://api.github.com/users/artyom/followers","following_url":"https://api.github.com/users/artyom/following{/other_user}","gists_url":"https://api.github.com/users/artyom/gists{/gist_id}","starred_url":"https://api.github.com/users/artyom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artyom/subscriptions","organizations_url":"https://api.github.com/users/artyom/orgs","repos_url":"https://api.github.com/users/artyom/repos","events_url":"https://api.github.com/users/artyom/events{/privacy}","received_events_url":"https://api.github.com/users/artyom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-24T15:38:28Z","updated_at":"2018-07-24T15:38:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n### What version of Go are you using (`go version`)?\r\n\r\n    go version go1.11beta2 darwin/amd64\r\n\r\n### Does this issue reproduce with the latest release?\r\n\r\nYes, tested on\r\n\r\n    go version devel +4f9ae7739b Tue Jul 24 14:29:38 2018 +0000 darwin/amd64\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n\r\n```\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOCACHE=\"/Users/artyom/Library/Caches/go-build\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/artyom/go\"\r\nGOPROXY=\"\"\r\nGORACE=\"\"\r\nGOROOT=\"/Users/artyom/Repositories/go\"\r\nGOTMPDIR=\"\"\r\nGOTOOLDIR=\"/Users/artyom/Repositories/go/pkg/tool/darwin_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"clang\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\nGOMOD=\"\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\nPKG_CONFIG=\"pkg-config\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/lb/3rk8rqs53czgb4v35w_342xc0000gn/T/go-build210171313=/tmp/go-build -gno-record-gcc-switches -fno-common\"\r\n```\r\n\r\n### What did you do?\r\n\r\nhttps://play.golang.org/p/g1be5wdYdgy\r\n\r\nThis is an example of using [Cloudflare's DNS-over-TLS](https://developers.cloudflare.com/1.1.1.1/dns-over-tls/). This code works in go1.10.3\r\n\r\n### What did you expect to see?\r\n\r\n```\r\nrepro ¶ time ./repro-go1.10.3 \r\nresolver dial returned\r\nresolver dial returned\r\n[{93.184.216.34 } {2606:2800:220:1:248:1893:25c8:1946 }]\r\n\r\nreal\t0m0.417s\r\nuser\t0m0.199s\r\nsys\t0m0.054s\r\n```\r\n\r\n### What did you see instead?\r\n\r\n```\r\nrepro ¶ time ./repro-go1.11beta2 \r\nresolver dial returned\r\nresolver dial returned\r\nresolver dial returned\r\nresolver dial returned\r\ni/o timeout\r\n\r\nreal\t0m10.057s\r\nuser\t0m0.250s\r\nsys\t0m0.053s\r\n1 repro ¶ time ./repro-go+4f9ae7739b \r\nresolver dial returned\r\nresolver dial returned\r\nresolver dial returned\r\nresolver dial returned\r\ni/o timeout\r\n\r\nreal\t0m10.067s\r\nuser\t0m0.242s\r\nsys\t0m0.054s\r\n```\r\n\r\nCaught this issue first on linux/arm binary built with go version go1.11beta2 darwin/amd64."}}
{"actor":{"display_login":"artyom"}}