Help · DNS
Set your devices’ DNS to AdHole
Step by step for Samsung and LG TVs, Android TV and Google TV, PS5, Xbox, iPhone and Android phones, and what to know about routers. A couple of minutes per device, once. The IPv6 trap and how to undo it are at the end.
Before you start
Four things to do once, on the PC.
-
Find this PC’s address.
The dashboard shows it as “this computer’s address”;
adhole statusprints it as “Local address”. It looks like192.168.1.42. That’s the address every device below gets as its DNS. -
Reserve it in your router.
In your router’s settings, reserve this address for the PC, so it never changes: otherwise your devices would one day point at nothing. It’s often called a DHCP reservation or a static lease; the menu names vary by router.
-
On Windows, set the network to Private.
Otherwise the firewall keeps your devices out. Settings → Network & internet → Wi-Fi or Ethernet → your network → Network profile type → Private network.
-
Keep the PC on.
Devices pointed at it lose internet access when it’s off or asleep. An always-on Raspberry Pi running AdHole avoids that.
If a device asks for a second DNS
Leave it empty if the device allows it. Your router’s address there keeps the device online when the PC is off, but some devices also use it while the PC is on, and those requests aren’t filtered.
Samsung TV
On a Samsung TV.
Menu path All Settings → Connection → Network → Network Status → IP Settings → DNS Setting → Enter Manually
- Open All Settings, then Connection → Network → Network Status.
- Choose IP Settings, then DNS Setting, and Enter Manually.
- In DNS Server, type this PC’s address and confirm.
On some models, Network sits under General instead. The steps are the same over Wi-Fi and over a cable. The TV has a single DNS field.
LG TV · webOS
On an LG TV.
Menu path All Settings → General → Network → Internet Connection
- Open All Settings → General → Network → Internet Connection.
- For a cable, choose Wired Connection (Ethernet) → Edit. For Wi-Fi, choose Wi-Fi Connection → Advanced Wi-Fi Settings.
- Change the DNS server to this PC’s address, then choose Connect.
That path is for webOS 6.0 and later (2021 models on). On webOS 5.0 (2020): All Settings → Connection → Network Connection Settings. On webOS 4.5 (2019): All Settings → Connection. On webOS 4.0 and earlier: All Settings → Network.
Android TV · Google TV
On Android TV and Google TV.
Menu path Settings → Network & Internet
- From the home screen, open Settings → Network & Internet, then your network.
- Where the TV offers IP settings, switch them to static and enter this PC’s address as the DNS.
Google’s help documents the Network & Internet screen, not the DNS setting itself, and TV makers change it: the menu names vary by model. If you find no DNS setting, your TV may not offer one.
Static IP settings also ask for the TV’s own address: use one your router doesn’t hand out to another device, or reserve it in the router.
PlayStation 5
On a PS5.
Menu path Settings → Network → Settings → Set Up Internet Connection
- Open Settings → Network → Settings → Set Up Internet Connection.
- Choose your Wi-Fi network, or Set Up Wired LAN for a cable, and open Advanced Settings while setting it up.
- Under DNS, enter this PC’s address, then finish connecting.
The PS5 supports IPv6, though not IPv6-only networks (PlayStation’s words). YouTube in the PS5 app keeps its ads: they come from the same servers as the video.
Xbox
On an Xbox.
- Open the console’s network settings, then the advanced settings.
- Look for DNS, set it to manual, and enter this PC’s address.
Xbox’s help lists DNS among the console’s advanced network settings, but we couldn’t read its exact steps: the menu names vary by model and by system version.
iPhone · iPad
On an iPhone or iPad.
Menu path Settings → Wi-Fi → info button next to your network → Configure DNS
- Open Settings → Wi-Fi.
- Tap the info button next to your network’s name.
- Tap Configure DNS, set it to manual, and keep only this PC’s address as the server. On this network, the iPhone then loses internet access whenever the PC is off or asleep, or AdHole is stopped.
The setting belongs to that Wi-Fi network only: away from home, or on mobile data, the iPhone uses its usual DNS.
Android phones
On an Android phone.
Menu path Settings → Network & internet → Private DNS
- First check Private DNS: Settings → Network & internet → Private DNS. When it names a provider (“Private DNS provider hostname”), the phone asks that provider, never your PC. Choose Off or Automatic: AdHole doesn’t offer private DNS, so on your home network the phone then uses the DNS the network gives it.
- Then set the DNS of your home Wi-Fi network, in its advanced options: IP settings → Static → DNS 1 = this PC’s address. The menu names vary by maker. On a Samsung Galaxy, Samsung describes: Settings → Connections → Wi-Fi, tap the network, Show advanced options, IP settings: Static, then DNS 1.
Static IP settings also ask for the phone’s own address, the gateway (your router’s address) and a prefix length (usually 24 at home). Use an address your router doesn’t hand out to another device.
Routers
Can the router do it for every device at once?
Some routers let you choose the DNS server they hand out. If yours puts your PC’s address in place of its own, instead of adding it after, and doesn’t announce its own DNS over IPv6, one setting covers the whole home. The dashboard tells you: every device you use should show up there.
On the router we tested, it didn’t work. A Bbox from the French provider Bouygues Telecom (Fast5330b-r1, firmware 24.7.18, 12 September 2026) kept its own address as the first DNS, locked, added the PC after it, and announced its own DNS over IPv6. Behind it, the per-device settings above are what works.
We haven’t tested other providers’ routers (Freebox, Livebox, SFR box and the rest), so we say nothing about them. To cover the home without touching each device, you need a router you control, such as one running OpenWrt, behind your provider’s: it can hand out a single DNS and stop the IPv6 announcement.
The IPv6 trap
The router can still answer through IPv6.
A router can announce its own DNS server over IPv6, on top of IPv4. The Bbox we tested did, and nothing in its interface changes it. Devices prefer IPv6: one whose IPv4 DNS points to your PC can go on asking the router. Nothing is filtered, and nothing looks wrong.
How you notice
The device doesn’t show up in the dashboard, or barely.
What to do, simplest first
- On a device that has an IPv6 DNS setting, set it to manual and leave it empty.
- Otherwise, turn IPv6 off on the device, if it lets you.
- Or turn off IPv6, or its DNS announcement, in the router, if it lets you. The Bbox doesn’t.
Check
Check it in the dashboard.
Use the device for a minute: open an app, start a video. In the dashboard, it appears among your devices, and its requests in the live feed, blocked ones included. Nothing shows up? It’s still asking your router: see the IPv6 trap above.
Undo
Undo it in a minute.
- On a device: set its DNS back to automatic, and its IP settings back to automatic (DHCP) if you had chosen static.
- On the router: remove the address reservation. On a Bbox, it’s under DHCP → Attribution d’adresse IP statique (the Bbox interface is in French).
- Before you uninstall AdHole or retire the PC, set your devices back first: otherwise they lose internet access.
- On the PC itself:
adhole dns offhands its DNS back to the router, and uninstalling puts everything back.