{"action":"created","issue":{"url":"https://api.github.com/repos/tass-belgium/picotcp/issues/335","labels_url":"https://api.github.com/repos/tass-belgium/picotcp/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/tass-belgium/picotcp/issues/335/comments","events_url":"https://api.github.com/repos/tass-belgium/picotcp/issues/335/events","html_url":"https://github.com/tass-belgium/picotcp/issues/335","id":118409992,"number":335,"title":"dns client do not attempt AAAA requests","user":{"login":"mateuszviste","id":9503501,"avatar_url":"https://avatars.githubusercontent.com/u/9503501?v=3","gravatar_id":"","url":"https://api.github.com/users/mateuszviste","html_url":"https://github.com/mateuszviste","followers_url":"https://api.github.com/users/mateuszviste/followers","following_url":"https://api.github.com/users/mateuszviste/following{/other_user}","gists_url":"https://api.github.com/users/mateuszviste/gists{/gist_id}","starred_url":"https://api.github.com/users/mateuszviste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateuszviste/subscriptions","organizations_url":"https://api.github.com/users/mateuszviste/orgs","repos_url":"https://api.github.com/users/mateuszviste/repos","events_url":"https://api.github.com/users/mateuszviste/events{/privacy}","received_events_url":"https://api.github.com/users/mateuszviste/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-23T15:51:00Z","updated_at":"2015-11-23T17:50:15Z","closed_at":"2015-11-23T15:53:01Z","body":"I am using an IPv6-enabled version of picoTCP, and I noticed that it is impossible to resolve ipv6-only hostnames using picoTCP's DNS client. Even though I have IPv6 support compiled in, and I have an IPv6 link configured, picoTCP doesn't attempt any AAAA resolutions. See tcpdump output below.\r\n\r\n```\r\nroot@mateuszrt:~ # tcpdump -ni bridge1 port 53\r\nlistening on bridge1, link-type EN10MB (Ethernet), capture size 65535 bytes\r\n14:31:13.771234 IP 192.168.190.124.55863 > 192.168.190.1.53: 22109+ A? ipv6.google.com. (33)\r\n14:31:13.799088 IP 192.168.190.1.53 > 192.168.190.124.55863: 22109 1/1/0 CNAME ipv6.l.google.com. (104)\r\n14:31:13.806989 IP 192.168.190.124.51964 > 192.168.190.1.53: 51670+ A? ipv6.l.google.com. (35)\r\n14:31:13.807308 IP 192.168.190.1.53 > 192.168.190.124.51964: 51670 0/1/0 (85)\r\n14:31:17.781811 IP 192.168.190.124.51964 > 192.168.190.1.53: 51670+ A? ipv6.l.google.com. (35)\r\n14:31:17.782044 IP 192.168.190.1.53 > 192.168.190.124.51964: 51670 0/1/0 (85)\r\n^C\r\n6 packets captured\r\n```"},"comment":{"url":"https://api.github.com/repos/tass-belgium/picotcp/issues/comments/159009995","html_url":"https://github.com/tass-belgium/picotcp/issues/335#issuecomment-159009995","issue_url":"https://api.github.com/repos/tass-belgium/picotcp/issues/335","id":159009995,"user":{"login":"mateuszviste","id":9503501,"avatar_url":"https://avatars.githubusercontent.com/u/9503501?v=3","gravatar_id":"","url":"https://api.github.com/users/mateuszviste","html_url":"https://github.com/mateuszviste","followers_url":"https://api.github.com/users/mateuszviste/followers","following_url":"https://api.github.com/users/mateuszviste/following{/other_user}","gists_url":"https://api.github.com/users/mateuszviste/gists{/gist_id}","starred_url":"https://api.github.com/users/mateuszviste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateuszviste/subscriptions","organizations_url":"https://api.github.com/users/mateuszviste/orgs","repos_url":"https://api.github.com/users/mateuszviste/repos","events_url":"https://api.github.com/users/mateuszviste/events{/privacy}","received_events_url":"https://api.github.com/users/mateuszviste/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T17:50:15Z","updated_at":"2015-11-23T17:50:15Z","body":"oh well, how stupid of me :) thanks for the clarification, I was indeed naively expecting picoTCP to provide me with the \"correct\" IP, whatever it is. I understand now that this must be part of my application's logic instead."}}