Interview Prep/Real-World Interview/DNS, TLS and certificates

You moved DNS from one provider to another. Most users are fine, but some ISPs and Google Public DNS return SERVFAIL for your domain.

AdvancedTroubleshootingDNS, TLS and certificates
Answer

Likely causes → DNSSEC breakage. The registrar still publishes a DS record for the old provider's signing key, but the new provider either isn't signing or signs with a different key. Validating resolvers (8.8.8.8, 1.1.1.1, many ISPs) reject the answers; non-validating ones still work, which is why it looks partial.

Diagnose →

dig example.com @8.8.8.8 +dnssec        # SERVFAIL
dig example.com @8.8.8.8 +cd            # works with checking disabled -> DNSSEC
dig DS example.com @a.gtld-servers.net +short
dig DNSKEY example.com @<new-ns> +short

Tools like DNSViz show exactly where the chain breaks.

Fix → Fastest safe fix: remove the DS record at the registrar (goes back to unsigned). Then enable signing at the new provider and add the new DS once the DNSKEY is published.

Prevent → For provider migrations, follow the documented order: disable DNSSEC and wait out the DS TTL, migrate, then re-enable. Monitor with a validating resolver.

All Real-World Interview questions Roadmap: Interview readiness

More on DNS, TLS and certificates