{"action":"created","issue":{"url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/106","repository_url":"https://api.github.com/repos/alexdalitz/dnsruby","labels_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/106/comments","events_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/106/events","html_url":"https://github.com/alexdalitz/dnsruby/issues/106","id":175259321,"number":106,"title":"rescue in get_label': Label too long (74, max length=63)","user":{"login":"KINGSABRI","id":1071827,"avatar_url":"https://avatars.githubusercontent.com/u/1071827?v=3","gravatar_id":"","url":"https://api.github.com/users/KINGSABRI","html_url":"https://github.com/KINGSABRI","followers_url":"https://api.github.com/users/KINGSABRI/followers","following_url":"https://api.github.com/users/KINGSABRI/following{/other_user}","gists_url":"https://api.github.com/users/KINGSABRI/gists{/gist_id}","starred_url":"https://api.github.com/users/KINGSABRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KINGSABRI/subscriptions","organizations_url":"https://api.github.com/users/KINGSABRI/orgs","repos_url":"https://api.github.com/users/KINGSABRI/repos","events_url":"https://api.github.com/users/KINGSABRI/events{/privacy}","received_events_url":"https://api.github.com/users/KINGSABRI/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-06T14:18:52Z","updated_at":"2016-09-19T17:17:43Z","closed_at":null,"body":"First, Thanks for making Dnsruby that much mature and awesome\r\n\r\nI'm trying to PTR `207. 46.197.32` address which is originally the `owa.zonetransfer.me` IP. \r\n\r\nwhen I do the following \r\n\r\n```ruby\r\nresolver = Dnsruby::Resolver.new\r\nquery     = resolver.query('207.46.197.32', 'PTR', 'IN')\r\n```\r\nIt trigers the following error\r\n\r\n```\r\nDnsruby::DecodeError: Label too long (115, max length=100). Label = anslimite��\r\n                                                                               �everyonegetsit��\r\nresponsepoint�  �                                                                               �\r\n                 �xn--frdermittel-ratgeber-39bƕ�\r\nfrom /var/lib/gems/2.3.0/gems/dnsruby-1.59.3/lib/dnsruby/message/decoder.rb:149:in `rescue in get_label'\r\n```\r\n\r\nHowever, using `host` command\r\n```\r\nhost -t ptr 207.46.197.32\r\n```\r\n\r\nIt returns all the PTRs which are 1042 ptr\r\n\r\n```\r\n32.197.46.207.in-addr.arpa domain name pointer msdnchallenge.com.\r\n32.197.46.207.in-addr.arpa domain name pointer mobileservices.info.\r\n32.197.46.207.in-addr.arpa domain name pointer windowsxp.com.gt.\r\n.\r\n.\r\n.\r\n32.197.46.207.in-addr.arpa domain name pointer windowsxp.org.mu.\r\n32.197.46.207.in-addr.arpa domain name pointer windowsruby.com.pl.\r\n32.197.46.207.in-addr.arpa domain name pointer windowsruby.com.sg.\r\n```\r\n\r\nI tried to update the MaxLabelLength, which is bad and I should not do that and still not working\r\n\r\n```ruby\r\nDnsruby::Name::Label::MaxLabelLength = 2000\r\n```\r\n\r\n\r\nHow I may fix this? "},"comment":{"url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/comments/248058062","html_url":"https://github.com/alexdalitz/dnsruby/issues/106#issuecomment-248058062","issue_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/106","id":248058062,"user":{"login":"alexdalitz","id":7693018,"avatar_url":"https://avatars.githubusercontent.com/u/7693018?v=3","gravatar_id":"","url":"https://api.github.com/users/alexdalitz","html_url":"https://github.com/alexdalitz","followers_url":"https://api.github.com/users/alexdalitz/followers","following_url":"https://api.github.com/users/alexdalitz/following{/other_user}","gists_url":"https://api.github.com/users/alexdalitz/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdalitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdalitz/subscriptions","organizations_url":"https://api.github.com/users/alexdalitz/orgs","repos_url":"https://api.github.com/users/alexdalitz/repos","events_url":"https://api.github.com/users/alexdalitz/events{/privacy}","received_events_url":"https://api.github.com/users/alexdalitz/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T17:17:43Z","updated_at":"2016-09-19T17:17:43Z","body":"A quick update to say I _am_ still looking at this. My suspicion is that there is an issue reconnecting the TCP packets. The error always occurs _after_ byte 1600, and is always in a backwards name pointer to a label _before_ 1600 - although many backwards pointers from after 1600 for before 1600 _do_ work. So I'm slightly confused..."}}
{"actor":{"display_login":"alexdalitz"}}