Perform Multi-type DNS Lookups with Google's Free Public DNS Service
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs when someone submits an n8n form (“DNS lookup”). It uses only n8n's built-in nodes. It also calls dns.google over HTTP.
How it runs
Trigger: When someone submits an n8n form (“DNS lookup”).
- If: checks a condition and branches into true / false
- Default to all DNS types (Edit Fields (Set)): sets or maps fields
- Use selected DNS types (Edit Fields (Set)): sets or maps fields
- Split Out: splits a list into separate items
- For each DNS type (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate results (Code): runs custom JavaScript code
- DNS Lookup (HTTP Request): calls dns.google
- Set human readable type in output (Code): runs custom JavaScript code
HTTP calls to: dns.google
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - n8n Form Trigger
n8n-nodes-base.formTrigger
From the author
This n8n template makes it easy to perform DNS lookups directly within your n8n workflow using dns.google, without any API credentials. Use Cases Track changes: Schedule execution and log DNS answers to track changes to records over time. Monitoring and…