How do you test a record before DNS has propagated?
BeginnerProductionDNS & Traffic Management in Production
Answer
Query the authoritative servers directly and force name-to-IP with curl.
dig +short @ns-123.awsdns-45.org app.example.com
curl --resolve app.example.com:443:203.0.113.20 https://app.example.com/
This tests the new target without waiting for caches and without editing hosts files.
More on DNS & Traffic Management in Production
What TTL values do you choose for production records?BeginnerHow would you design DNS for high availability?AdvancedHow do you manage DNS as code?BeginnerHow do you do a zero-downtime DNS cutover?IntermediateWhy does DNS failover take longer than expected, and how do you make it faster?AdvancedHow do Route 53 health checks work and what are their pitfalls?Intermediate