dig and curl Disagree
dig api.internal returns 10.0.5.20, the new server. But curl http://api.internal still reaches the old server at 10.0.5.10. What should you check first?
dig api.internal
10.0.5.20
curl http://api.internal
10.0.5.10
Choose one answer
Whether /etc/hosts has an entry for api.internal, which dig ignores.
/etc/hosts
api.internal
Whether the record's TTL has expired on the authoritative name server.
Whether the resolver in /etc/resolv.conf has DNSSEC validation enabled.
/etc/resolv.conf
Whether api.internal has an AAAA record that curl prefers over the A record.