Netflix and other US-based streaming sites like Hulu aren’t currently available in several countries. As a semi-legit workaround, many blocked countries are resulting to using VPN services or DNS redirection services to get around geoblocks.
I personally prefer the DNS services over VPN due to the simplicity of the bypass. However, while the DNS settings can be applied at the router level (and automatically apply to all devices), it does mean that all traffic requests are resolved through the remote server. To avoid this, several rules can be put in place on an OpenWRT enabled router to redirect only requests for certain hosts — specifically the ones we are interested in bypassing the geoblock.
These same rules can be used for other geo-DNS services other than Unblock-Us, simply substitute the required DNS addresses.
Host-Specific Rules for Unblock-Us on OpenWRT
(or through the GUI, Network > DHCP and DNS > Sever Settings > General Settings)
config dnsmasq list server '/netflix.com/220.127.116.11' list server '/netflix.com/18.104.22.168' list server '/hulu.com/22.214.171.124' list server '/hulu.com/126.96.36.199' list server '/s.hulu.com/188.8.131.52' list server '/s.hulu.com/184.108.40.206' list server '/unblock-us.com/220.127.116.11' list server '/unblock-us.com/18.104.22.168'
The Chromecast doesn’t currently allow users to specify custom DNS settings. They’re fixed to the Google DNS service, but we can utilise custom Firewall rules on OpenWRT to redirect the requests to specific DNS requests. This doesn’t achieve the per-host redirection, but at least limits it to the Chromecast’s traffic.
(or through the GUI, Network > Firewall > Custom Rules)
iptables -t nat -I PREROUTING 1 -d 22.214.171.124 -j DNAT --to-destination 126.96.36.199 iptables -t nat -I PREROUTING 2 -d 188.8.131.52 -j DNAT --to-destination 184.108.40.206