check_dns
Resolve a domain against public DNS resolvers to verify it points where expected before issuing SSL certificates or creating a site.
Instructions
Resolve a domain (CNAME first, then A/AAAA) against public resolvers (1.1.1.1, 8.8.8.8) rather than this box's own DNS, so the result matches what Let's Encrypt and the public internet see. Use before issue_cert / create_site to confirm a domain actually points where you expect. For confirming something is listening behind nginx, use check_upstream_health instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to resolve, e.g. mysite.julcap.net |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Resolved values (IPs, or the CNAME target); only present when resolves is true | |
| resolves | Yes | ||
| record_type | No | Only present when resolves is true |