{"id":13541842,"url":"https://github.com/hakluke/hakrevdns","last_synced_at":"2025-05-14T14:07:29.278Z","repository":{"id":40641064,"uuid":"228949217","full_name":"hakluke/hakrevdns","owner":"hakluke","description":"Small, fast tool for performing reverse DNS lookups en masse.","archived":false,"fork":false,"pushed_at":"2024-08-01T12:25:31.000Z","size":37,"stargazers_count":1492,"open_issues_count":10,"forks_count":164,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-09T11:01:52.650Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hakluke.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}},"created_at":"2019-12-19T01:14:33.000Z","updated_at":"2025-04-09T06:09:57.000Z","dependencies_parsed_at":"2024-01-14T08:54:41.854Z","dependency_job_id":"804355a4-73f0-4a9f-9483-6a6e6f6f9412","html_url":"https://github.com/hakluke/hakrevdns","commit_stats":{"total_commits":33,"total_committers":6,"mean_commits":5.5,"dds":"0.48484848484848486","last_synced_commit":"8b638e4a7989a43ee066888539af3ae0d67d09d3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakluke%2Fhakrevdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakluke%2Fhakrevdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakluke%2Fhakrevdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakluke%2Fhakrevdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hakluke","download_url":"https://codeload.github.com/hakluke/hakrevdns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254159194,"owners_count":22024558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-01T10:00:57.702Z","updated_at":"2025-05-14T14:07:29.256Z","avatar_url":"https://github.com/hakluke.png","language":"Go","readme":"# hakrevdns\n\nSmall, fast, simple tool for performing reverse DNS lookups en masse.\n\nYou feed it IP addresses, it returns hostnames.\n\nThis can be a useful way of finding domains and subdomains belonging to a company from their IP addresses.\n\n## Installation\n\n```sh\ngo install github.com/hakluke/hakrevdns@latest\n```\n\n## Usage\nThe most basic usage is to simply pipe a list of IP addresses into the tool, for example:\n\n```sh\nhakluke~$ prips 173.0.84.0/24 | hakrevdns \n173.0.84.110\the.paypal.com.\n173.0.84.109\ttwofasapi.paypal.com.\n173.0.84.114\twww-carrier.paypal.com.\n173.0.84.77\ttwofasapi.paypal.com.\n173.0.84.102\tpointofsale.paypal.com.\n173.0.84.104\tslc-a-origin-pointofsale.paypal.com.\n173.0.84.111\tsmsapi.paypal.com.\n173.0.84.203\tm.paypal.com.\n173.0.84.105\tprm.paypal.com.\n173.0.84.113\tmpltapi.paypal.com.\n173.0.84.8\tipnpb.paypal.com.\n173.0.84.2\tactive-www.paypal.com.\n173.0.84.4\tsecurepayments.paypal.com.\n...\n```\n\n### Parameters\n\n```sh\nhakluke~$ hakrevdns -h\nUsage:\n  main [OPTIONS]\n\nApplication Options:\n  -t, --threads=           How many threads should be used (default: 8)\n  -r, --resolver=          IP of the DNS resolver to use for lookups\n  -R, --resolvers-file=    File containing list of DNS resolvers to use for lookups      \n  -U, --use-default        Use default resolvers for lookups\n  -P, --protocol=[tcp|udp] Protocol to use for lookups (default: udp)\n  -p, --port=              Port to bother the specified DNS resolver on (default: 53)    \n  -d, --domain             Output only domains\n  -h, --help               Show help message\n\nHelp Options:\n  -h, --help               Show this help message\n```\n\n### New Flags\n    -U, --use-default: \n    When specified, this flag tells the program to use a predefined list of default DNS resolvers for lookups. This is useful for ensuring consistent DNS resolution across various environments, especially if no custom resolvers are provided.\n    \n    -R, --resolvers-file: \n    This flag allows you to specify a file containing a list of custom DNS resolvers. Each line in the file should contain a single resolver IP address. If both -R and -r are provided, the resolver specified by -r is added to the list of resolvers from the file.\n\nIf you want to use a resolver not specified by your OS, say: 1.1.1.1, try this:\n\n```sh\nhakluke~$ echo \"173.0.84.110\" | hakrevdns -r 1.1.1.1\n173.0.84.110    he.paypal.com.\n```\n\nIf you wish to obtain only a list of domains without IP addresses, you can use `-d`:\n\n```sh\n$ echo \"173.0.84.110\" | hakrevdns -d\n```\n\nThis tool is designed to be easily piped into other tools, for example:\n```sh\n$ echo \"173.0.84.110\" | hakrevdns -d | httprobe\n```\n\n## Contributors\n- [hakluke](https://twitter.com/hakluke) wrote the tool\n- [alphakilo](https://github.com/Alphakilo/) added the option to use custom resolvers\n- [SaveBreach](https://twitter.com/SaveBreach/) added the -d flag and cleaned up the code\n","funding_links":[],"categories":["Recon","Go","Weapons","Go (531)"],"sub_categories":["Subdomain Enumeration","Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakluke%2Fhakrevdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhakluke%2Fhakrevdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakluke%2Fhakrevdns/lists"}