{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/16215","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/16215/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/16215/comments","events_url":"https://api.github.com/repos/golang/go/issues/16215/events","html_url":"https://github.com/golang/go/issues/16215","id":163018123,"number":16215,"title":"net: LookupHost only using the first configure DNS server in /etc/resolv.conf on Linux","user":{"login":"bryanvpham","id":16672406,"avatar_url":"https://avatars.githubusercontent.com/u/16672406?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanvpham","html_url":"https://github.com/bryanvpham","followers_url":"https://api.github.com/users/bryanvpham/followers","following_url":"https://api.github.com/users/bryanvpham/following{/other_user}","gists_url":"https://api.github.com/users/bryanvpham/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanvpham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanvpham/subscriptions","organizations_url":"https://api.github.com/users/bryanvpham/orgs","repos_url":"https://api.github.com/users/bryanvpham/repos","events_url":"https://api.github.com/users/bryanvpham/events{/privacy}","received_events_url":"https://api.github.com/users/bryanvpham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mdempsky","id":38349,"avatar_url":"https://avatars.githubusercontent.com/u/38349?v=3","gravatar_id":"","url":"https://api.github.com/users/mdempsky","html_url":"https://github.com/mdempsky","followers_url":"https://api.github.com/users/mdempsky/followers","following_url":"https://api.github.com/users/mdempsky/following{/other_user}","gists_url":"https://api.github.com/users/mdempsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mdempsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdempsky/subscriptions","organizations_url":"https://api.github.com/users/mdempsky/orgs","repos_url":"https://api.github.com/users/mdempsky/repos","events_url":"https://api.github.com/users/mdempsky/events{/privacy}","received_events_url":"https://api.github.com/users/mdempsky/received_events","type":"User","site_admin":false},"assignees":[{"login":"mdempsky","id":38349,"avatar_url":"https://avatars.githubusercontent.com/u/38349?v=3","gravatar_id":"","url":"https://api.github.com/users/mdempsky","html_url":"https://github.com/mdempsky","followers_url":"https://api.github.com/users/mdempsky/followers","following_url":"https://api.github.com/users/mdempsky/following{/other_user}","gists_url":"https://api.github.com/users/mdempsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mdempsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdempsky/subscriptions","organizations_url":"https://api.github.com/users/mdempsky/orgs","repos_url":"https://api.github.com/users/mdempsky/repos","events_url":"https://api.github.com/users/mdempsky/events{/privacy}","received_events_url":"https://api.github.com/users/mdempsky/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/42","html_url":"https://github.com/golang/go/milestones/Go1.8Maybe","labels_url":"https://api.github.com/repos/golang/go/milestones/42/labels","id":1748849,"number":42,"title":"Go1.8Maybe","description":"","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":58,"closed_issues":1,"state":"open","created_at":"2016-05-04T23:40:26Z","updated_at":"2016-06-29T20:33:35Z","due_on":"2017-02-01T08:00:00Z","closed_at":null},"comments":5,"created_at":"2016-06-29T20:24:29Z","updated_at":"2016-06-29T21:09:29Z","closed_at":null,"body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n1. What version of Go are you using (`go version`)?\r\n1.5.1, 1.6.2\r\n\r\n2. What operating system and processor architecture are you using (`go env`)?\r\nlinux_amd64\r\n\r\n3. What did you do?\r\nI have a /etc/resolv.conf file with three DNS servers configured. If the first one isn't working properly, the net.LookupHost function will not try to use the other two DNS servers. It used to try all the DNS servers in 1.4.2. But I tested the function in newer versions such as 1.5.1 and 1.6.2, but I get an error saying the first DNS server couldn't resolve my hostname. \r\n\r\n\r\n4. What did you expect to see?\r\n\r\n\r\n5. What did you see instead?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/229489626","html_url":"https://github.com/golang/go/issues/16215#issuecomment-229489626","issue_url":"https://api.github.com/repos/golang/go/issues/16215","id":229489626,"user":{"login":"bryanvpham","id":16672406,"avatar_url":"https://avatars.githubusercontent.com/u/16672406?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanvpham","html_url":"https://github.com/bryanvpham","followers_url":"https://api.github.com/users/bryanvpham/followers","following_url":"https://api.github.com/users/bryanvpham/following{/other_user}","gists_url":"https://api.github.com/users/bryanvpham/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanvpham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanvpham/subscriptions","organizations_url":"https://api.github.com/users/bryanvpham/orgs","repos_url":"https://api.github.com/users/bryanvpham/repos","events_url":"https://api.github.com/users/bryanvpham/events{/privacy}","received_events_url":"https://api.github.com/users/bryanvpham/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T21:09:29Z","updated_at":"2016-06-29T21:09:29Z","body":"; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> some.domain.com\r\n;; global options: +cmd\r\n;; Got answer:\r\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13349\r\n;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1\r\n;; WARNING: recursion requested but not available\r\n\r\n;; OPT PSEUDOSECTION:\r\n; EDNS: version: 0, flags:; udp: 2800\r\n;; QUESTION SECTION:\r\n;some.domain.com.\tIN\tA\r\n\r\n;; Query time: 187 msec\r\n;; SERVER: 75.x.x.190#53(75.x.x.190)\r\n;; WHEN: Wed Jun 29 16:08:02 CDT 2016\r\n;; MSG SIZE  rcvd: 55\r\n"}}
{"actor":{"display_login":"bryanvpham"}}