Automate Subdomain DNS Discovery with n8n
detail.loadingPreview
Discover and document DNS records for all your subdomains automatically. This n8n workflow fetches subdomain information and then performs detailed DNS lookups, delivering a clean, markdown-formatted report via email.
About This Workflow
The "EnumX: Auto DNS Lookup for Subdomains with Markdown Export" n8n workflow is a powerful tool for gaining comprehensive visibility into your domain's DNS infrastructure. It begins by enumerating subdomains for a given target domain, leveraging external APIs for broad discovery. Subsequently, for each identified subdomain, it performs detailed DNS lookups, gathering crucial record types like A, AAAA, CNAME, TXT, MX, NS, and SOA. The collected data is then elegantly formatted into a human-readable Markdown report, making it easy to analyze for security posture, misconfigurations, or auditing purposes. Finally, this consolidated report is automatically delivered to a designated email address, ensuring your security and IT teams stay informed without manual intervention.
Key Features
- Automated Subdomain Enumeration: Discovers subdomains associated with your target domain.
- Comprehensive DNS Record Collection: Fetches A, AAAA, CNAME, TXT, MX, NS, and SOA records for each subdomain.
- Markdown Report Generation: Creates a clean, well-structured report in Markdown format for easy reading and integration.
- Automated Email Delivery: Sends the generated DNS report directly to your specified email address.
- Extensible and Customizable: Built on n8n, allowing for easy modification and integration with other services.
How To Use
- Set the Target Domain: In the '🌐 Target Domain' node, replace
example.comwith your actual domain name. - Configure DNS Lookups: The '📡 Subdomain Enum' and '🌐 DNS Records' nodes use external APIs. Ensure these APIs are accessible and functional.
- Customize Email Recipient: In the 'Gmail' node, update
security-team@example.comto your desired recipient's email address. - Configure Gmail Credentials: Set up your Gmail OAuth2 credentials in n8n to allow the workflow to send emails.
- Execute Workflow: Click the 'Execute workflow' button to start the automated DNS discovery and reporting process.
Apps Used
Workflow JSON
{
"id": "b7c8d287-0b1d-4b31-ade1-37377f363991",
"name": "Automate Subdomain DNS Discovery with n8n",
"nodes": 9,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: b7c8d287-0b1d...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Effortless Bug Reporting: Slack Slash Command to Linear Issue
Streamline your bug reporting process by instantly creating Linear issues directly from Slack using a simple slash command. This workflow enhances team collaboration by providing immediate feedback and a structured approach to logging defects, saving valuable time for development and QA teams.
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Visualize Your n8n Workflows: Interactive Dashboard with Mermaid.js
Gain unparalleled visibility into your n8n automation landscape. This workflow transforms your n8n instance into a dynamic, interactive dashboard, leveraging Mermaid.js to visualize all your workflows in one accessible place.