{"action":"created","issue":{"url":"https://api.github.com/repos/ilya-epifanov/akka-dns/issues/6","repository_url":"https://api.github.com/repos/ilya-epifanov/akka-dns","labels_url":"https://api.github.com/repos/ilya-epifanov/akka-dns/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ilya-epifanov/akka-dns/issues/6/comments","events_url":"https://api.github.com/repos/ilya-epifanov/akka-dns/issues/6/events","html_url":"https://github.com/ilya-epifanov/akka-dns/issues/6","id":223846085,"number":6,"title":"How to do reverse lookup?","user":{"login":"domdorn","id":100349,"avatar_url":"https://avatars0.githubusercontent.com/u/100349?v=3","gravatar_id":"","url":"https://api.github.com/users/domdorn","html_url":"https://github.com/domdorn","followers_url":"https://api.github.com/users/domdorn/followers","following_url":"https://api.github.com/users/domdorn/following{/other_user}","gists_url":"https://api.github.com/users/domdorn/gists{/gist_id}","starred_url":"https://api.github.com/users/domdorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domdorn/subscriptions","organizations_url":"https://api.github.com/users/domdorn/orgs","repos_url":"https://api.github.com/users/domdorn/repos","events_url":"https://api.github.com/users/domdorn/events{/privacy}","received_events_url":"https://api.github.com/users/domdorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-24T14:50:31Z","updated_at":"2017-04-24T21:23:32Z","closed_at":null,"body":"Hi!\r\n\r\nHow can I do a reverse lookup (so ip => hostname) with this? \r\nDoing a lookup on the IP just returns the same IP back to me. \r\n\r\nThanks,\r\nDominik\r\n"},"comment":{"url":"https://api.github.com/repos/ilya-epifanov/akka-dns/issues/comments/296826368","html_url":"https://github.com/ilya-epifanov/akka-dns/issues/6#issuecomment-296826368","issue_url":"https://api.github.com/repos/ilya-epifanov/akka-dns/issues/6","id":296826368,"user":{"login":"domdorn","id":100349,"avatar_url":"https://avatars0.githubusercontent.com/u/100349?v=3","gravatar_id":"","url":"https://api.github.com/users/domdorn","html_url":"https://github.com/domdorn","followers_url":"https://api.github.com/users/domdorn/followers","following_url":"https://api.github.com/users/domdorn/following{/other_user}","gists_url":"https://api.github.com/users/domdorn/gists{/gist_id}","starred_url":"https://api.github.com/users/domdorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domdorn/subscriptions","organizations_url":"https://api.github.com/users/domdorn/orgs","repos_url":"https://api.github.com/users/domdorn/repos","events_url":"https://api.github.com/users/domdorn/events{/privacy}","received_events_url":"https://api.github.com/users/domdorn/received_events","type":"User","site_admin":false},"created_at":"2017-04-24T21:23:32Z","updated_at":"2017-04-24T21:23:32Z","body":"Ok, after doing a little research, it looks like I'd need to request a PTR record of something like\r\nip.split(\".\").reverse.mkstring(\".\") + \".in-addr.arpa\" .. however, it looks like there is no support for PTR records yet.. is there a supposed way on getting this to work? \r\nI thought about adding the PTRRecord to \r\nhttps://github.com/ilya-epifanov/akka-dns/blob/master/src/main/scala/ru/smslv/akka/dns/raw/ResourceRecord.scala\r\nthen adjusting https://github.com/ilya-epifanov/akka-dns/blob/master/src/main/scala/ru/smslv/akka/dns/raw/ResourceRecord.scala#L120 to also handle the PTRRecord "}}
{"actor":{"display_login":"domdorn"}}