Building a fire-and-forget ad blocker using OpenDNS.
I am an avid Xbox Live user. More to the point, I’m an avid Xbox Live Gold account owner for a number of years by now.
So, I’ve paid for the console, I’m paying for all my games, and I pay an ongoing monthly fee for the connectivity, experience, whatever you want to call it. Still, Microsoft —proprietor of this fine service— thinks it’s entirely sensible to put ads in the frontend, or show Kinect ads before videos.
So I’m using OpenDNS to block their ad servers on my Xbox for good. Here’s how.1
First up: I’m using a router, and both my Xbox and my main computer are getting their internets from it. Since both of them go through the same router, they share the same external IP address. If your setup is the same, this is what to do.
What you’ll do
First, you’ll install the tiny OpenDNS client tool on your main machine so your OpenDNS account always knows about your current external IP.
Then, you’ll configure your 360 to use OpenDNS' DNS server, so it’ll adhere to your OpenDNS settings (blocked domains etc.).
Setting up your Mac or PC
- Create a free OpenDNS account.
- Download the OpenDNS Updater for your main machine. (There are official clients for both Windows or OS X.)
- Go to OpenDNS’s settings page and create and/or select your home network.
- Install the Updater and connect it to your OpenDNS account. Make it auto-run on startup.
- On the settings page for that network, set your “Web Content Filtering” level to whatever (mine is at “None”), but add the following individual domains to the “Always block” list:
At this point your OpenDNS account will a) always know your home network’s current IP address and b) block MS' ad servers. Your network won’t be affected by this, tho, as it doesn’t actively use OpenDNS.
Setting up your Xbox 360
- On your Xbox, go to the Settings page/panel → System → Configure Network.
- Select your active network connection and go to the DNS settings.
- Set the DNS setting to “manual”, then the primary DNS server to
18.104.22.168and the secondary DNS server to
- On saving these settings, your Live account will be logged out. Just log in again.
That’s it. Your Xbox is now using OpenDNS' DNS servers — and its blocking capabilities configured by your account; your desktop machine will auto-update your OpenDNS account with your IP address. A perfect match.
If the dashboard is still showing ads, clear the 360’s cache or wait a day or two for the ads to expire.
Disclaimer: works for me, YMMV, I take no responsibility. Moo.
I didn’t come up with the idea myself: there’s a reddit post on the topic that predates my post by about 9 months. ↩︎