Grandma's Fridge

A TitanOfOld dev blog

Blocking Netflix over IPv6

I use a tunnel broker to get IPv6 connectivity in my house. Netflix isn't fond of that. So, I configured my EdgeRouter to only return the IPv4 addresses.

cbuijs over at he.net gave us a neat little trick to use:

server=/netflix.com/#
address=/netflix.com/::
server=/netflix.net/#
address=/netflix.net/::
server=/nflxext.com/#
address=/nflxext.com/::
server=/nflximg.net/#
address=/nflximg.net/::
server=/nflxvideo.net/#
address=/nflxvideo.net/::

This forces dnsmasq, which is used by EdgeRouter, to hand out IPv4 addresses for all the Netflix resources. This is fairly easy to implement in the EdgeRouter.

Once logged in, go to the Config Tree tab, and descend down the tree through service > dns > forwarding. Then, we just add each line from the trick above as its own option entry, like so:

Screen shot of EdgeRouter config tree

Click preview then apply. No reboot required, and profit immediately.