DNS Watch
AI-generatedSummary
Poll specified DNS record types for a domain at user-defined intervals and trigger a workflow when changes matching configured conditions occur.
Inputs
- Poll Times — Schedule one or more times to poll DNS records, supporting preset frequencies (minute, hour, day, week, month), custom cron expressions, or intervals (every X minutes/hours).
- Domain (required) — The domain name to monitor for DNS record changes.
- Record Type — The DNS record type to watch (e.g., A, AAAA, CNAME, MX, TXT).
- Resolver Mode — Method to select DNS servers used for queries, including public well-known resolvers, custom servers, authoritative nameservers (auto-discovered), or system-configured resolvers.
- Resolvers — Select one or more public DNS resolvers to query when using the 'Well-Known' resolver mode.
- Custom Servers — Specify custom DNS server IP addresses and ports to query when using the 'Custom' resolver mode.
- Fire On — Condition that triggers the workflow execution: any change, record appearance, record disappearance, or when the DNS answer contains a specific expected value.
- Expected Value — The DNS record value to match against when the 'Fire On' condition is set to 'Value Matches'. Use plain string for simple records (A, AAAA, CNAME); JSON format for complex records (MX, SRV).
- Options — Additional DNS query options, including recursion desired flag, query timeout (milliseconds), and retry count on timeout.
Output shape
a single record describing the latest DNS query result matching the trigger condition
Output includes domain, record type, queried server details, response code, timing metrics, and formatted answers, authorities, and additional sections. The workflow triggers only when the configured 'Fire On' condition is met; otherwise, no data is emitted.
Examples
Example 1: Watch the A record for example.com every hour and trigger when any change occurs
Set 'Domain' to 'example.com', 'Record Type' to 'A', 'Poll Times' with mode 'Every Hour', and 'Fire On' to 'Any Change'. Output emits updated DNS answers when changes are detected.
Example 2: Monitor the TXT record for example.com daily and trigger only if a specific SPF value appears
Set 'Domain' to 'example.com', 'Record Type' to 'TXT', schedule polling daily via 'Poll Times', set 'Fire On' to 'Value Matches' and specify the expected SPF record string in 'Expected Value'. The workflow triggers only when the specified value is present in the DNS answers.