# My ISP Was Hijacking My DNS Queries

Original title: So my ISP was hijacking my DNS

> Hacker News story 50364860 · language: en · submitted 2026-11-04
> Web version: https://zeli.app/story/50364860
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 226 · by [frostbyte7](<https://news.ycombinator.com/user?id=frostbyte7>) · 💬 185
[original](<https://www.karthihegde.dev/posts/dns_tampering>) · [HN discussion](<https://news.ycombinator.com/item?id=50364860>)

## Summary

While debugging a container that couldn't reach a site, I ran dig against several providers and got the same IP everywhere—until I tried Cloudflare's DoH endpoint, which returned a different address. An ownership lookup showed the tampered IP belonged to my ISP. I explain why self-hosted Unbound and DNSSEC don't fully protect you, and how I use AdGuard with dnscrypt-proxy over DNSCrypt to encrypt DNS in transit.

## Key quote

> That's when I realised my ISP was hijacking my DNS queries and returning a tampered IP address.

## HN discussion (185 comments)

### [simonjgreen](<https://news.ycombinator.com/item?id=50376284>)

> Noting this article skips over any discussion about why, or potentially (in the eyes of the law at least) legitimate reason an ISP might do this.
>
> Many ISPs in many countries are forced to do this for certain enforcement action that gets put upon them by their respective states for things such as age gating, censorship, monitoring, it varies state by state.
>
> And to be clear this is in no way an endorsement of the practice, and I am confident no ISP WANTS to do this.
>
> I am speaking here as the owner of a UK ISP (who does not currently do this).

### [jwrallie](<https://news.ycombinator.com/item?id=50375902>)

> My workplace is messing with DNS as well, probably to filter specific websites, and I would not mind it since for the context of my usage that is perfectly fair.
>
> But their DNS responses have latency spikes every couple of minutes of 1-2 seconds that was driving me crazy. I simply enabled DNS over HTTPS in Firefox and everything feels so smooth now.
>
> I have no idea how my coworkers seem to be so insensitive to it.

### [nunez](<https://news.ycombinator.com/item?id=50380149>)

> AT&T in the US does this. Traditionally they did this so that failed lookups were routed to their search engine, which of course fed users ads.

### [Terr_](<https://news.ycombinator.com/item?id=50375771>)

> I fear a future where pretty much everything is trying to hack you or doing something which is indistinguishable from the meddling of a hostile actor.
>
> I suppose the answer is politics rather than technology: Get enough people together to make a rule against it, and at least it will become niche.

### [maeln](<https://news.ycombinator.com/item?id=50381143>)

> For various reason, I also setup an Unbound who proxy to quad9 and is only accessible through DNS over HTTPS/QUIC and is behind a reverse proxy with auth (because being an open dns resolver on the internet is still a bad idea). This is nice because I can then have a dnsproxy or similar on my various devices, who all point to it and be pretty sure nothing can hijack my DNS queries. I also come with the benefit of forcing thing like a minimum TTL to avoid dumb services who decide to put a 10 seconds TTL to all their DNS entry...

### [daitangio](<https://news.ycombinator.com/item?id=50376367>)

> Telecom Italia locks my DNS server (I cannot change it).
>
> I ended up using PIHole as DHCP, to drive home devices to PIHole, and control my privacy.
>
> The trick is simple: disable DHCP on your router, and activate it on PIHole.
>
> As a bonus, PIHole on my RasperryPI2 is way faster than the little chip on my provider Router, and can be patched automatically with unattended upgrades.

### [jfyi](<https://news.ycombinator.com/item?id=50376510>)

> Hardly a new thing.
>
> Oh and btw, it's not "DNS Hijacking" it's a "Domain Helper", see: https://feross.org/shame-on-you-comcast/

### [eqvinox](<https://news.ycombinator.com/item?id=50374446>)

> The point of running a local unbound is indeed to turn on DNSsec validation. After that, it's the domains' fault for not using DNSsec. But at least your own stuff won't be tampered with, because you use DNSsec on your own domains, right? Right?
>
> :-(
>
> Coincidentally, a bunch of free wifi stuff blocks the root key queries unbound does at startup, resulting in nothing working until you get those records in there somehow (e.g. load_cache).

---

## Cite

- Page: https://zeli.app/story/50364860
- Date: 2026-11-04
- Source: karthihegde.dev (https://www.karthihegde.dev/posts/dns_tampering)
- Hacker News: https://news.ycombinator.com/item?id=50364860

## Other languages

- zh: https://zeli.app/zh/story/50364860 · markdown: https://zeli.app/zh/story/50364860.md
- ja: https://zeli.app/ja/story/50364860 · markdown: https://zeli.app/ja/story/50364860.md
- ko: https://zeli.app/ko/story/50364860 · markdown: https://zeli.app/ko/story/50364860.md
- de: https://zeli.app/de/story/50364860 · markdown: https://zeli.app/de/story/50364860.md
- es: https://zeli.app/es/story/50364860 · markdown: https://zeli.app/es/story/50364860.md
- ru: https://zeli.app/ru/story/50364860 · markdown: https://zeli.app/ru/story/50364860.md
