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

Go to Workflow
3 views
Built by Ossian Madisson Ossian Madisson
Created on June 06, 2026

Description

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

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

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

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

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

How to Use

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

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

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest