Skip to main content

Perform Multi-type DNS Lookups with Google's Free Public DNS Service

Workflow preview

Workflow preview
100%
Perform Multi-type DNS Lookups with Google's Free Public DNS Service preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 answe...

Best for

  • DevOps automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.splitout, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.splitinbatches, n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ossian Madisson.

Original n8n.io source

1.1 Workflow description

Title
Perform Multi-type DNS Lookups with Google's Free Public DNS Service
Workflow name
Perform Multi-type DNS Lookups with Google's Free Public DNS Service

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 alerts: Schedule execution for DNS monitoring to detect misconfiguration and to trigger immediate alerts.

  • Prerequisite checks: Use in more extensive workflows to ensure DNS resolves correctly before running a website crawl or other sensitive tasks.

Good to Know

  • Requires no API credentials. You do not need to sign up for any third party service for DNS resolution.

  • Can easily be modified to use with a webhook instead of the default Forms node for external triggering.

  • By default performs lookup for: A CNAME AAAA MX TXT NS

How It Works

  1. The workflow checks the input for a specified DNS type. If none is found, it uses all types in a predefined list.

  2. It splits the data into separate items for each DNS type.

  3. It loops through all items and executes DNS resolution via the highly reliable dns.google service.

  4. It aggregates all results into a single, easy-to-use output structure.

How to Use

  1. Import the template and execute the workflow to enter the domain you want to look up in the Form interface.

  2. Connect the final output node to your specific use case (logging, alerting, subsequent workflow steps, etc.).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 2 - DNS Lookup

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Set human readable type in output

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Aggregate results

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Default to all DNS types

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Use selected DNS types

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - If no DNS type in input

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - For each DNS type

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 9 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Form input

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

3. Summary Table

Workflow Perform Multi-type DNS Lookups with Google's Free Public DNS Service
Complexity intermediate
Nodes 12
Categories DevOps
Author Ossian Madisson
Published 26 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10200/10200.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Perform Multi-type DNS Lookups with Google's Free Public DNS Service do?

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 answe...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.