Bali, Indonesia
Insights

Why HTTPS Alone Does Not Protect Your Visitors from DNS Spoofing

October 16, 2026
0:00
A common misconception in web hosting support is that securing a website with an SSL/TLS certificate solves all transit security problems. Many site owners believe that once the browser shows a padlock icon, visitors are completely immune to eavesdropping or redirection. However, transport encryption only protects data after a connection has already been established to a specific IP address. It does nothing to protect the lookup process that finds that IP address in the first place. When a visitor types your domain into a browser, the operating system must first ask a DNS resolver to translate that human-readable name into an IP address. Traditional DNS operates primarily over unencrypted, unauthenticated UDP packets. If an attacker on the local network, an intermediate transit provider, or a compromised resolver injects a forged DNS response, the visitor's machine accepts that forged record before any TLS handshake ever begins. While modern browsers will throw a stern certificate warning if an attacker directs traffic to a server lacking a matching certificate, attackers do not always present an invalid certificate for the real domain. They may redirect traffic to lookalike phishing domains, exploit misconfigured wildcard certificates, leverage rogue internal enterprise trust stores, or simply drop packets to cause silent denial-of-service. In other cases, non-browser clients, automated API webhooks, and legacy scrapers fail to validate TLS certificates strictly, blindly handing sensitive credentials over to the spoofed endpoint. DNS Security Extensions (DNSSEC) address this gap by cryptographically signing DNS records from the root zone down to your domain, ensuring records cannot be forged or altered in transit. Securing your domain's name resolution requires moving beyond standard zone records. Here is a prioritized checklist to audit and configure your domain's DNSSEC deployment safely.
Before enabling any settings, confirm that your current DNS host supports zone signing. Not all hosted DNS services or cPanel shared environments support managing DNSSEC keys natively. If your nameservers cannot generate cryptographic signatures or maintain key records, attempting to enforce DNSSEC upstream at your registrar will break resolution for your visitors.
DNSSEC relies on asymmetric cryptography using two distinct key pairs: the Zone Signing Key (ZSK) and the Key Signing Key (KSK). The ZSK signs the actual resource record sets in your zone, such as your A, AAAA, and MX records, generating Resource Record Signatures (RRSIG). The KSK is responsible for signing only the DNSKEY record set, creating a smaller, more secure footprint for long-term trust. When you enable DNSSEC in your control panel or authoritative server, make sure both keys are generated using modern, supported cryptographic algorithms like ECDSA (such as algorithm 13, ECDSAP256SHA256) rather than deprecated RSA variants with weak bit lengths.
Signing your zone locally does nothing until the parent zone delegates trust to it. You must copy the Delegation Signer (DS) record—which contains a cryptographic fingerprint (digest) of your KSK—and publish it through your domain registrar. Your registrar pushes this DS record into the parent registry (such as the .com or .net TLD zone). Until this record appears in the parent zone, recursive resolvers will treat your domain as unsigned, leaving resolution vulnerable to local spoofing. If you ever change nameserver providers, remove the old DS record at the registrar first; leaving an orphaned DS record pointing to missing or changed keys will cause validating resolvers to reject your entire domain as fraudulent.
Once the DS record is published, you must confirm that validating resolvers can traverse the full chain of trust: the root zone signs the TLD, the TLD signs your domain via the DS record, your KSK validates the ZSK, and your ZSK validates your records. You can inspect this path from any Linux terminal using diagnostic utilities such as delv (DNS Lookup and Validation) or dig with the +dnssec and +multiline flags.
BASH
# Diagnostic command to test DNSSEC validation and check for positive trust path
delv @1.1.1.1 example.com A +rtrace +multiline
If validation succeeds, delv will explicitly report ; fully validated alongside the resolved record. If the output reports a validation failure or an insecure delegation, recursive resolvers enforcing DNSSEC will return a SERVFAIL error to your visitors, effectively taking your site offline.
Every DNSSEC signature carries a strict validity window defined by an inception date and an expiration date. If your authoritative nameserver's system clock drifts, it may publish signatures that resolvers consider either expired or not yet valid. Furthermore, resource record Time-to-Live (TTL) values should be kept shorter than your RRSIG validity period. If an RRSIG record expires while a cached DNS answer is still technically within its TTL, validating resolvers will immediately drop the record and return a resolution failure.
Because RRSIG signatures expire regularly (often within two to four weeks depending on server defaults), your authoritative nameserver software must have a reliable, automated daemon or cron process to re-sign records before they expire. Check that automated re-signing is active and monitored. In addition, establish an operational procedure for key rollover. If you ever need to change your KSK, you must plan an overlapping rollover where the new DS record is published at the registrar before the old KSK is removed from the zone, avoiding any downtime during the transition.
DNSSEC responses are significantly larger than traditional DNS responses because they include cryptographic keys and signature envelopes alongside the standard record payloads. Larger responses push DNS packets beyond the traditional 512-byte UDP limit, requiring Extension Mechanisms for DNS (EDNS0) support. Ensure that intermediate firewalls and hosting perimeter routers permit UDP packet sizes up to at least 1,232 bytes without dropping or fragmenting them. If an upstream firewall strips EDNS0 options or blocks the TCP fallback (port 53 TCP) required when responses exceed the maximum transmission unit, visitors behind strict corporate firewalls may fail to resolve your signed domain. Treating transport encryption and name resolution as mutually exclusive safeguards leaves your site exposed at the network perimeter. HTTPS guarantees that visitors talk securely to whatever destination their resolver returned, but only a properly configured and audited DNSSEC deployment ensures that the destination IP address was never forged along the way.