So my ISP was hijacking my DNS karthihegde.dev · 19 points · 8 comments · HN thr...

@best

So my ISP was hijacking my DNS karthihegde.dev · 19 points · 8 comments · HN thread

TL;DR The author, troubleshooting an unreachable site from a homelab container, found that their ISP returned a different IP for the domain over plaintext DNS than public resolvers and Cloudflare's DoH endpoint did, and that the IP belonged to the ISP. The post explains why self-hosted Unbound, DNSSEC, and DoT/DoH each protect against this to different degrees, and describes the author's own setup.

  • A dig on a domain returned one IP through the ISP's resolver and a different IP via Cloudflare's DoH endpoint; the first IP was owned by the ISP.
  • Running Unbound locally does not by itself encrypt queries, since it still talks plaintext DNS to authoritative servers unless configured to forward to an encrypted upstream.
  • DNSSEC verifies authenticity rather than encrypting traffic, and a tampered answer for a signed domain should yield SERVFAIL; the author cites a census that only 7.03% of graded domains have a valid DNSSEC chain.
  • DoT and DoH encrypt the path to the resolver but still require trusting that resolver, and an ISP can still see SNI and destination IPs for ordinary TLS traffic.
  • The author uses AdGuard as primary DNS with dnscrypt-proxy upstream, a Cloudflare fallback for critical containers, and Mullvad via a Tailscale exit node.

Discussion The thread is short, with a handful of comments that mostly react to the ISP hijacking story. Commenters debate whether this is a new practice or a familiar one, with one asking which ISP did it and another distinguishing ISP-run resolvers that return altered results from ISPs actively injecting forged answers for outside DNS. The mood is wry and somewhat resigned, with worry about a future where networks routinely meddle with traffic and some suggestions that trusted VPNs or policy are the remedy.

  • Trusted VPN across the network is the answer (a few): One commenter argues the fix is a VPN you trust, used across the whole network at all times, which moves trust from the ISP to the VPN provider.
  • Concern about a hostile-looking internet (a few): One commenter fears a future where normal traffic is indistinguishable from hostile interference and suggests political rules as the only broad remedy.
  • Asking which ISP is responsible (a few): One commenter wants the ISP named so bad actors can be called out, and another replies that ISP-run resolvers returning different answers is common, but active injection of forged responses is new to them.
  • Local Unbound with DNSSEC is useful but not sufficient (a few): One commenter notes running Unbound enables DNSSEC validation, which protects against tampering only for signed domains, and reports that some free Wi-Fi networks block root key queries so Unbound fails at startup until the root records are loaded.
  • Carrier-level blocking seen in practice (a few): One commenter reports their mobile carrier blocks Quad9, a first-hand example of resolver interference outside the ISP case.

#DNS #ISP #Privacy #DNSSEC #Homelab