Interview Prep/Networking/DNS & Traffic Management in Production

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.

All Networking questions Roadmap: Networking for DevOps

More on DNS & Traffic Management in Production