{"action":"closed","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/2178","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/2178/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/2178/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/2178/events","html_url":"https://github.com/syncthing/syncthing/issues/2178","id":102318728,"number":2178,"title":"hostname resolution error (DNS)","user":{"login":"exhuma","id":65717,"avatar_url":"https://avatars.githubusercontent.com/u/65717?v=3","gravatar_id":"","url":"https://api.github.com/users/exhuma","html_url":"https://github.com/exhuma","followers_url":"https://api.github.com/users/exhuma/followers","following_url":"https://api.github.com/users/exhuma/following{/other_user}","gists_url":"https://api.github.com/users/exhuma/gists{/gist_id}","starred_url":"https://api.github.com/users/exhuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exhuma/subscriptions","organizations_url":"https://api.github.com/users/exhuma/orgs","repos_url":"https://api.github.com/users/exhuma/repos","events_url":"https://api.github.com/users/exhuma/events{/privacy}","received_events_url":"https://api.github.com/users/exhuma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syncthing/syncthing/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-21T07:48:53Z","updated_at":"2015-08-22T14:31:50Z","closed_at":"2015-08-22T14:31:50Z","body":"I am running a local `bind9` server with forwarders defined (requests for unknown hosts are forwarded elsewere). This works:\r\n\r\n    $ nslookup announce.syncthing.net\r\n    Server:         127.0.0.1\r\n    Address:        127.0.0.1#53\r\n    \r\n    Non-authoritative answer:\r\n    Name:   announce.syncthing.NET\r\n    Address: 194.126.249.5\r\n\r\nIPv6:\r\n\r\n    $ nslookup announce.syncthing.net ::1\r\n    Server:         ::1\r\n    Address:        ::1#53\r\n\r\n    Non-authoritative answer:\r\n    Name:   announce.syncthing.NET\r\n    Address: 194.126.249.5\r\n\r\n`dig` works too:\r\n\r\n    $ dig announce.syncthing.net\r\n    194.126.249.5\r\n\r\nHowever, syncthing seems to have trouble with that:\r\n\r\n    [XXXXX] 2015/08/21 09:44:27.735583 client_udp.go:106: DEBUG: discover udp4://announce.syncthing.net:22026: broadcast resolve: lookup announce.syncthing.net on 127.0.0.1:53: no such host; trying again in 1m0s\r\n\r\nI found a workaround by adding `discover.syncthing.net` into `/etc/hosts`. This works, but is kind of a hacky solution."}}