IPTV box (vodafone) working with Pi-Hole (DNS/DHCP server)

André Perdigão
2 min readJun 13, 2020

Portuguese version below.

This is for people who have DHCP enabled in Pi-Hole, making it possible to offer the DNS server provided by Pi-Hole to all devices connected to your network.

Some IPTV set top boxes, such as ones from Vodafone, stop working if you have a Pi-Hole with DHCP enabled on your network, due to the way the boxes work. If your Pi-Hole is serving as a DHCP server, the boxes will contact Pi-Hole to get an IP and the DNS server is also sent back. The issue is that the boxes need to use the original DNS server in the router, instead the Pi-Hole one.

It’s very easy to fix this issue, we need to add configurations to the dnsmasq service embedded in Pi-Hole.

  1. Create a file in /etc/dnsmasq.d/03-vodafone.conf
  2. Add the following code:
# Adds a vodafone tag if the device vendor has the content MSFT_IPTV
dhcp-vendorclass=set:vodafone,MSFT_IPTV
# Adds a vodafone tag if the device vendor has the content ARRIS_VIP
dhcp-vendorclass=set:vodafone,ARRIS_VIP
# Adds a vodafone tag if the device MAC address starts with 50:95:51 which correspond to Arris set top boxes
dhcp-mac=set:vodafone,50:95:51:*:*:*
# Add the mac address of your box below
#…

--

--