How to Whitelist Xbox Live on Pi-Hole
About: I have been using Pi-Hole on my home network for the past 3 months and it has been working great. It blocks ad’s network wide at home. For example, I can play games on my Ipad and won’t see any ads on the bottom of the screen. If I am watching YouTube, I see no ads before a video plays. It’s great and I don’t think I can ever go back. Check out my tutorial on How to Install Pi-Hole here.
Recently, Pi-Hole has been working great on my Xbox One, until one day it started to take forever to log into Xbox Live and sometimes it never did. Eventually, my Xbox One was unable to connect to Xbox Live at all. The only app that worked was Netflix, not even YouTube would start. I did some trouble shooting and found Pi-Hole has updated one of it’s ad lists which includes Xbox Live services. I did some research and got some help from Reddit user /u/Palmer11 who compiled a whitelist of addresses to add to Pi-Hole. If you are having trouble connecting to Xbox Live while running Pi-Hole this should hopefully work for you, and clear this issue up.
Objective: To whitelist blocked Xbox Live service domains on Pi-Hole
Material: You will need the following:
- Raspberry Pi (Click the link to check out the price on Amazon. Usually around $37 with free shipping)
Instructions: You will only need one command to do this. Simply SSH into your Pi-Hole server and type the following command
whitelist.sh xbox.ipv6.microsoft.com device.auth.xboxlive.com www.msftncsi.com title.mgt.xboxlive.com xsts.auth.xboxlive.com title.auth.xboxlive.com ctldl.windowsupdate.com attestation.xboxlive.com xboxexperiencesprod.experimentation.xboxlive.com xflight.xboxlive.com cert.mgt.xboxlive.com xkms.xbolive.com def-vef.xboxlive.com notify.xboxlive.com help.ui.xboxlive.com licensing.xboxlive.com eds.xboxlive.com www.xboxlive.com
UPDATE: If you are running Pihole 2.6+ you will need to use pihole -w instead of whitelist.sh
UPDATE 2: If you are having issues unlocking achievements on your Xbox check out my post here for additional domains to white-list.
That’s all. After running that command restart your Xbox and you should be okay again. Below is a list of the website’s that have been whitelisted.
If your Xbox is still unable to connect to Xbox Live please leave a comment below or if you have more addresses that should be added to the list please let me know.