{"action":"created","issue":{"url":"https://api.github.com/repos/tungd/elixir-dns/issues/17","repository_url":"https://api.github.com/repos/tungd/elixir-dns","labels_url":"https://api.github.com/repos/tungd/elixir-dns/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/tungd/elixir-dns/issues/17/comments","events_url":"https://api.github.com/repos/tungd/elixir-dns/issues/17/events","html_url":"https://github.com/tungd/elixir-dns/issues/17","id":343355821,"node_id":"MDU6SXNzdWUzNDMzNTU4MjE=","number":17,"title":"(CaseClauseError) no case clause matching: {\"8.8.8.8\", 53}","user":{"login":"messutied","id":690443,"node_id":"MDQ6VXNlcjY5MDQ0Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/690443?v=4","gravatar_id":"","url":"https://api.github.com/users/messutied","html_url":"https://github.com/messutied","followers_url":"https://api.github.com/users/messutied/followers","following_url":"https://api.github.com/users/messutied/following{/other_user}","gists_url":"https://api.github.com/users/messutied/gists{/gist_id}","starred_url":"https://api.github.com/users/messutied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/messutied/subscriptions","organizations_url":"https://api.github.com/users/messutied/orgs","repos_url":"https://api.github.com/users/messutied/repos","events_url":"https://api.github.com/users/messutied/events{/privacy}","received_events_url":"https://api.github.com/users/messutied/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-21T21:05:44Z","updated_at":"2018-07-22T08:41:37Z","closed_at":null,"author_association":"NONE","body":"Hi, I'm testing the package locally, running `DNS.resolve(\"google.com\")` works, but running `DNS.resolve(\"google.com\", {\"8.8.8.8\", 53})` gives me the following error:\r\n\r\n```\r\n** (CaseClauseError) no case clause matching: {\"8.8.8.8\", 53}\r\n    (kernel) inet_dns.erl:346: :inet_dns.encode_type/1\r\n    (kernel) inet_dns.erl:267: :inet_dns.encode_query_section/3\r\n    (kernel) inet_dns.erl:240: :inet_dns.encode/1\r\n    (dns) lib/dns.ex:46: DNS.query/3\r\n    (dns) lib/dns.ex:15: DNS.resolve/3\r\n```\r\n\r\nAny ideas? by the examples in the readme it looks like this should work.\r\nThanks"},"comment":{"url":"https://api.github.com/repos/tungd/elixir-dns/issues/comments/406850488","html_url":"https://github.com/tungd/elixir-dns/issues/17#issuecomment-406850488","issue_url":"https://api.github.com/repos/tungd/elixir-dns/issues/17","id":406850488,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjg1MDQ4OA==","user":{"login":"tungd","id":88299,"node_id":"MDQ6VXNlcjg4Mjk5","avatar_url":"https://avatars3.githubusercontent.com/u/88299?v=4","gravatar_id":"","url":"https://api.github.com/users/tungd","html_url":"https://github.com/tungd","followers_url":"https://api.github.com/users/tungd/followers","following_url":"https://api.github.com/users/tungd/following{/other_user}","gists_url":"https://api.github.com/users/tungd/gists{/gist_id}","starred_url":"https://api.github.com/users/tungd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tungd/subscriptions","organizations_url":"https://api.github.com/users/tungd/orgs","repos_url":"https://api.github.com/users/tungd/repos","events_url":"https://api.github.com/users/tungd/events{/privacy}","received_events_url":"https://api.github.com/users/tungd/received_events","type":"User","site_admin":false},"created_at":"2018-07-22T08:41:37Z","updated_at":"2018-07-22T08:41:37Z","author_association":"OWNER","body":"It looks like there are some change in the `inet_dns` module. What's your version of Erlang, Elixir and `elixir-dns`?"}}
{"actor":{"display_login":"tungd"}}