{"id":20042862,"url":"https://github.com/topscoder/ptr","last_synced_at":"2026-02-02T09:31:31.083Z","repository":{"id":188106689,"uuid":"678120065","full_name":"topscoder/ptr","owner":"topscoder","description":"ptr is a Go script that allows you to find hostnames by ip addresses. Reverse IP lookup by resolving the PTR record.","archived":false,"fork":false,"pushed_at":"2024-10-24T15:02:39.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T02:48:06.026Z","etag":null,"topics":["bugbounty-tool","dns","ip-lookup","reverse-dns","reverse-dns-lookup","reverse-ip-lookup"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/topscoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-13T18:40:49.000Z","updated_at":"2024-10-24T15:03:45.000Z","dependencies_parsed_at":"2024-05-17T09:47:28.822Z","dependency_job_id":"3756f6c2-de44-4f6a-a423-f16b2f9192f0","html_url":"https://github.com/topscoder/ptr","commit_stats":null,"previous_names":["topscoder/ptr"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/topscoder/ptr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topscoder%2Fptr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topscoder%2Fptr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topscoder%2Fptr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topscoder%2Fptr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/topscoder","download_url":"https://codeload.github.com/topscoder/ptr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topscoder%2Fptr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29009629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T08:40:12.472Z","status":"ssl_error","status_checked_at":"2026-02-02T08:40:10.926Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bugbounty-tool","dns","ip-lookup","reverse-dns","reverse-dns-lookup","reverse-ip-lookup"],"created_at":"2024-11-13T10:53:54.212Z","updated_at":"2026-02-02T09:31:31.067Z","avatar_url":"https://github.com/topscoder.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IP PTR Lookup Script\n\nThis is a simple Go script that performs PTR (reverse DNS) lookups for IP addresses. It can handle single IP addresses, IP addresses from a file, or IP addresses provided via stdin.\n\n## Example\n\n```\nptr 8.8.8.8\n8.8.8.8,dns.google\n\nptr 185.15.59.224\n185.15.59.224,text-lb.esams.wikimedia.org\n\necho \"8.8.8.8\" | ptr -\n8.8.8.8,dns.google\n\nptr ips.txt\n9.9.9.9,dns9.quad9.net\n```\n\n## Installation\n\nTo install ptr, you can use the following command:\n\n```shell\ngo install github.com/topscoder/ptr@latest\n```\n\nThis will install the ptr script as an executable in your Go bin directory.\n\n## Usage\n\nRun the script with different options:\n\n* To look up a single IP address:\n\n```shell\nptr 8.8.8.8\n```\n\n* To process IP addresses from a file (one IP address per line):\n\n```shell\nptr ips.txt\n```\n\n* To provide IP addresses via stdin (press Ctrl + D to signal the end of input):\n\n```shell\ncat ips.txt | ptr -\n```\n\nEnjoy the PTR lookup results!\n\n## License\n\nThis project is licensed under the MIT License.\n\nFeel free to fork the repository, make improvements, and submit pull requests!\n\n## Acknowledgements\n\nThis script was inspired by the need for a simple tool to perform PTR lookups for multiple IP addresses quickly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopscoder%2Fptr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftopscoder%2Fptr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopscoder%2Fptr/lists"}