{"id":14449542,"url":"https://github.com/0x4f53/dnscovery","last_synced_at":"2025-04-30T23:14:24.754Z","repository":{"id":252671564,"uuid":"841100925","full_name":"0x4f53/dnscovery","owner":"0x4f53","description":"Discover services embedded in a site's DNS records","archived":false,"fork":false,"pushed_at":"2024-09-09T00:07:27.000Z","size":119256,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-25T03:44:18.470Z","etag":null,"topics":["blackhat","cloud","cloudflare","dig","dns","golang","golang-application","google","osint-tool","osint-tools","penetration-testing","penetration-testing-tools","pentesting","pentesting-tools","security","security-tools","service-discovery","txt","txt-record","txt-records"],"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/0x4f53.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"0x4f53","patreon":"0x4f","open_collective":null,"ko_fi":"o_0x4f","tidelift":null,"community_bridge":null,"liberapay":"0x4f53","issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":"https://www.paypal.me/0x4f"}},"created_at":"2024-08-11T16:37:02.000Z","updated_at":"2024-10-09T13:08:54.000Z","dependencies_parsed_at":"2024-08-18T21:49:25.212Z","dependency_job_id":"1e874d13-bf95-4ac6-91e2-f49830b94ee4","html_url":"https://github.com/0x4f53/dnscovery","commit_stats":null,"previous_names":["0x4f53/dnsservices","0x4f53/dnscovery"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4f53%2Fdnscovery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4f53%2Fdnscovery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4f53%2Fdnscovery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x4f53%2Fdnscovery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x4f53","download_url":"https://codeload.github.com/0x4f53/dnscovery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222670770,"owners_count":17020515,"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":["blackhat","cloud","cloudflare","dig","dns","golang","golang-application","google","osint-tool","osint-tools","penetration-testing","penetration-testing-tools","pentesting","pentesting-tools","security","security-tools","service-discovery","txt","txt-record","txt-records"],"created_at":"2024-09-01T08:01:21.325Z","updated_at":"2024-11-02T04:04:49.386Z","avatar_url":"https://github.com/0x4f53.png","language":"Go","funding_links":["https://github.com/sponsors/0x4f53","https://patreon.com/0x4f","https://ko-fi.com/o_0x4f","https://liberapay.com/0x4f53","https://www.paypal.me/0x4f"],"categories":["Recently Updated"],"sub_categories":["[Aug 31, 2024](/content/2024/08/31/README.md)"],"readme":"\n[![Golang](https://img.shields.io/badge/Golang-fff.svg?style=flat-square\u0026logo=go)](https://go.dev)\n[![License](https://img.shields.io/badge/License-MIT-purple?style=flat-square\u0026logo=libreoffice)](LICENSE)\n[![Latest Version](https://img.shields.io/github/v/tag/0x4f53/dnscovery?label=Version\u0026style=flat-square\u0026logo=semver)](https://github.com/0x4f53/dnscovery/releases)\n[![Binaries](https://img.shields.io/badge/Binaries-Click%20Here-blue?style=flat-square\u0026logo=dropbox)](.build/binaries/)\n\n# 🌐 Dnscovery\n\n\u003cimg src = preview.gif alt=\"dnscovery preview\" width = \"500dp\"\u003e\n\nA lightning-fast Golang tool to discover services embedded into DNS records\n\n\n## 🚀 Features\n\n- Takes just 1 second to resolve multiple domains**\n- Queries multiple DNS servers concurrently\n- More than 100 service signatures supported\n- Easy to customize regexes and resolvers lists in YAML format\n- Verbose JSON output for in-depth debugging\n\n_** - depending on factors like internet speed, DNS server availability etc._\n\n\n## 🖊️ Usage\n\n```bash\nUsage:\n  dnscovery \u003cdomain1\u003e \u003cdomain2\u003e... [flags]\n\nFlags:\n  -o, --output string   Save output to file (in JSON format)\n  -v, --verbose         Give extremely detailed information in output\n```\n### Examples\n- Trying one domain\n```bash\n❯ ./dnscovery 0x4f.in\n\nReading resolvers...    [ 7 found! ]\nChecking if online...   [ ✓ ONLINE ]\n\n0x4f.in: OpenAI Domain, Cloudflare Mail, Google Workspace, Ethereum Name Service\n```\n\n- JSON output\n```bash\n❯ ./dnscovery 0x4f.in -o=output.json\n\nChecking if online...   [ ✓ ONLINE ]\nLooking up '0x4f.in'... [ 7 resolvers found! ]\n\nOutput saved to 'output.json'\n\n❯ cat output.json\n{\n  \"Host\": \"0x4f.in\",\n  \"Answers\": [\n    {\n      \"Resolver\": {\n        \"Name\": \"Google\",\n        \"IP\": \"8.8.4.4\"\n      },\n      \"Records\": [\n        {\n          \"Services\": [\n            \"Ethereum Name Service\"\n          ],\n          \"Type\": \"TXT\",\n          \"Hostname\": \"0x4f.in.\",\n          \"Value\": \"ENS1 dnsname.ens.eth 0x6189345d91a667c4822A0afD7587a4994965a57C\",\n    ...\n```\n\n- Trying multiple domains\n```bash\n❯ dnscovery nintendo.co.jp phase.dev huffpost.com redgear.com 0x4f.in lenovo.com apple.com microsoft.com netflix.com hackertyper.com tcl.com\n\nReading resolvers...    [ 7 found! ]\nChecking if online...   [ ✓ ONLINE ]\n\napple.com: Apple, Facebook, Google Cloud Platform, Atlassian\n0x4f.in: Ethereum Name Service, Google Workspace, Cloudflare Mail, OpenAI Domain\ntcl.com: Google Cloud Platform\nlenovo.com: Microsoft Office 365\nmicrosoft.com: Microsoft Office 365, Microsoft Dynamics 365, Docusign\nnetflix.com: Dropbox, Apple, Docusign\nnintendo.co.jp: Microsoft Office 365, Docusign, Adobe Creative Cloud, Google Cloud Platform, Apple\nhuffpost.com: Microsoft Office 365, Dropbox, Docusign, KnowBe4, Facebook, Google Cloud Platform\nphase.dev: Google Cloud Platform, Gandi.net, Google Workspace\nredgear.com: Google Workspace, Microsoft Office 365, Barracuda.com, Google Cloud Platform, Dropbox\nhackertyper.com: Google Cloud Platform, Google Workspace\n```\n\n- Verbose mode\n```bash\n❯ ./dnscovery 0x4f.in -v\n\nReading resolvers...    [ 7 found! ]\nChecking if online...   [ ✓ ONLINE ]\n\n0x4f.in\n  Resolved by: Control D (76.76.2.0) Cloudflare (1.1.1.1) Quad9 (9.9.9.9) OpenDNS (208.67.222.222) Google (8.8.4.4) Verisign (64.6.64.6)\n  Services:\n    OpenAI Domain\n      openai-domain-verification=dv-ThXpvQCK0VDGRfFHh6hCP7cy\n    Google Workspace\n      v=spf1 include:_spf.mx.cloudflare.net include:_spf.google.com ~all\n    Cloudflare Mail\n      v=spf1 include:_spf.mx.cloudflare.net include:_spf.google.com ~all\n    Ethereum Name Service\n      ENS1 dnsname.ens.eth 0x6189345d91a667c4822A0afD7587a4994965a57C\n```\n\n## ⚙️ Building\n\nTo build this on your machine, you need to have Golang installed.\nIf you do, simply make build.sh executable and run it like so\n\n```bash\nchmod +x build.sh\n./build.sh\n```\n\n## ⚙️ Installation\n### Linux and macOS\n\nSimply run the `./install.sh` script (don't \nhave the time to put this on package managers)\n\n```bash\nchmod +x install.sh\nsudo ./install.sh\n```\n\nAnd to uninstall\n\n```bash\nchmod +x uninstall.sh\nsudo ./uninstall.sh\n```\n\nYou can also find the binaries in [`.build/binaries`](.build/binaries/) if you want to directly run them\nwithout installation\n\n### Windows\nYou can find the exe files in [`.build/binaries`](.build/binaries/)\n\n\n## ❓ Why I made this\n\nI made this tool to check common services that multiple hosts use, by running it on a list of top 10,000 sites, \nfor statistical purposes. This tool can also speed up a blue-teamer's inspection tasks or \nprovide instant attack vectors for red-teamers to experiment with.\n\n\n## 👍 Credits\n\n- [NetSPI's Powershell scripts](https://github.com/NetSPI/PowerShell/blob/master/Resolve-DnsDomainValidationToken.ps1)\n\n- [Google Dorks](https://www.freecodecamp.org/news/google-dorking-for-pentesters-a-practical-tutorial/) - good life skill to have\n\n---\n\nCopyright (c) 2024  Owais Shaikh\n\nLicensed under the [MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x4f53%2Fdnscovery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x4f53%2Fdnscovery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x4f53%2Fdnscovery/lists"}