Pi-hole & Spotify

I recently setup Pi-hole on my old Raspberry Pi (Model B)

What’s Pi-hole you ask? 

It’s basically a DNS server that runs on your Raspberry Pi. You first need to install Rasbian O/S on your Pi.

Once this is done, with one command line you can download and install Pi-hole.

curl -sSL https://install.pi-hole.net | bash

Once Pi-hole is setup, you will need to login to your Router and make sure you point all client’s DNS server to the Pi-hole IP address. I also placed my Router IP as a secondary DNS just in case the Raspberry Pi is unplugged.

It has a few advantages such as:

  • Blocking over 100,000 domains (including ad’s)
  • Improved network performance
  • Web based admin interface and stats (Gotta love stats!)
  • Ability to white/black list domains.

After setting up Pi-hole, I noticed I couldn’t access Spotify (on our iphones) anymore.

The Fix: Remember to login to Pi-hole (e.g http://192.168.x.x/admin/index.php), find your client IP address. Here you can find all the domains being accessed by the client IP and white-list the spotify ones.

e.g

spclient.wg.spotify.com