Dev Ops · n8n

Get Alerted the Moment Your Domain's DNS Records Change

Unexpected DNS changes mean misconfiguration — or hijacking. Snapshot your domains' records daily and get an instant diff alert when anything changes.

difficulty Intermediatesetup 30 minresult Any DNS change on your domains is detected within hours, catching mistakes and attacks early.
  1. 1

    Snapshot the Records

    Add a Schedule Trigger and an HTTP Request to a DNS-over-HTTPS API for each domain's key records.

  2. 2

    Compare to Last Known

    Add a Code node diffing against the stored snapshot.

  3. 3

    Alert on Changes

    Add an IF and Slack node reporting exactly which record changed from what to what.

  4. 4

    Update the Snapshot

    Add a Google Sheets node saving the new state after alerting.

  5. 5

    Activate and Test

    Activate the workflow and change a harmless TXT record. Confirm the diff alert fires.

Frequently asked questions

Why watch DNS?

Silent MX or A record changes can mean lost email or a hijacked domain — hours matter.

Which records matter most?

A/AAAA, MX, TXT (SPF/DKIM) and NS — the ones controlling your traffic and email.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.