tartaruscode/Wait for DNS Resolution

Wait for DNS records to resolve with retry logic and comprehensive error handling

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
remotehostHostname to resolve (e.g., example.com)yes
recordtypeDNS record type to resolve (A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT, SPF)noA
nameserverOptional DNS server IP address, or comma-separated list of IP addresses, to query instead of the system resolverno""
expectedvalueOptional expected DNS answer value. The action retries until one resolved value matches or the timeout is reached.no""
maxtimeMaximum time in seconds to wait for resolution (1-3600)no60
namedescription
messageSuccess message when DNS resolution succeeds
error_messageError message if DNS resolution fails
resolved_valuesJSON array of resolved values returned by DNS
matched_expectedWhether the resolved values matched expectedvalue
resolution_resultJSON object containing the hostname, record type, nameserver(s), resolved values, and expected-value match result