Nimrod
Vibe Coder
- Joined
- Jun 1, 2007
- Messages
- 1,494
What is Unblock-us and how does it work?
Unblock-us is a great service which allows any device to access media streaming services like Netflix, Hulu and iPlayer from anywhere in the world without needing to use a VPN. It's a paid for service (and a little expensive in my view) but works with more devices than a VPN does (Apple TV's, Xbox 360, Playstation 3) as well as all your traditional devices like Phones, Tablets and PCs.
Interested in an account? Get one here: http://www.unblock-us.com (They offer a 7 day trial with no payment information needed)
The service works by switching your DNS server on either your device (via network settings) or on your router (to cover all devices in the house) then when a request is made to Netflix (or another media service), the DNS switches the IP to a reverse proxy which is hosted by Unblock-us which hides your real IP and makes the service think your from the desired region. You may think well a VPN does this to, but the key difference between a full VPN and unblock-us is once you actually stream a video from the service, the connection is direct (not via the reverse proxy which is only used for the logging in / browsing of content) so your get a much faster service. In most cases with Netflix, your get full HD (8mbit streaming) which is hard to acheive in peak times with most commercial VPN's which are oversubscribed (I know, I've tried a few including BlackVPN and PrivateInternetAccess which at the time of writing are the two most recommended services).
Now don't get my wrong, if you are only using it on your PC or Laptop (or even iPhones or 2.2+ Androids) where you can easily install and connect to a VPN, its still the better option as it hides the entire journey. Also a VPN is guranteed to work long into the future as its not tricking the service like unblock-us as there is a risk this loop hole could be blocked by updates to Netflix / iPlayer. But for some devices like Xbox 360's its just not possible to install and connect to a VPN client (well, you can use a VPN but it involves connecting to a VPN on your computer or router if supported and then sharing it to your Xbox, but thats not viable for most people).
Dangers of using Unblock-us's DNS servers:
There is one catch with unblock-us though which makes me feel uneasy. As your changing your DNS server to theirs for the reverse-proxy to kick in on the relevent services it does mean that every website you browse will involve you connecting to their DNS to request an IP and even though they should reply with the correct IP, it does mean they effectivily know every website you ever visit. They are a private company, and they are not clear on what information they store or capture. They could easily be collecting this data and selling it, or even capturing it for later use. (Or they could be entire honest and just want to provide you with an excellent service. But the point is its not known and sometimes not trusting is better than trusting).
Using the same method they use to connect you to Netflix US, they could easily at the flick of a button use to replace every advert with their own, or even make you think your connecting to your banks website and logging in when its actually one of their servers. They may not even do this on purpose, but if they got hacked and your using their DNS server your open up to massive abuse. Which is why deep down, I would never recommend anyone changing their DNS to anything besides either their ISP's, Googles Public ones, or OpenDNS's public ones.
Workaround to use your current DNS server:
However, there is a simple way you can keep using your current DNS and make the changes locally to your PC instead to use Unblock-us's reverse proxies, without a DNS change. This involves editing your PC's HOST File and making the changes that unblock-us do on their public DNS, to your local PC.
> If you don't know how to change your HOSTS file, there is a million guides already on the internet for every OS and device that supports it so a quick google can help. If your using Windows however, Insanenutter has a great step by step guide on how to edit your hosts file (though for a different reason) available here: https://digiex.net/guides-reviews/g...osts-file-edit-no-dns-vpn-proxy-required.html
For Netflix US for example, you need to make the following changes to your PC's HOSTS file:
204.12.200.61 movies.netflix.com
204.12.200.65 cbp-us.nccp.netflix.com
Once you make those changes, you will be able to access Netflix US on your PC without any other settings needing to be changed. For this to work though, your Unblock-us account has to be enabled and active for your IP range (Same as if you were using the DNS. If its not, quickly go to the Homepage and Login and it will become active until your home IP changes next)
However, for this to work on my Jailbroken Apple TV, I had to do a few more HOSTS entries that just the two above. It appears dedicated devices use various API's and other URL's to check your IP location. I've spent a good few hours packet sniffing a PS3, iPad, Apple TV, Xbox and more and got all the various DNS entries they connected to. Here is the complete list your need to put into your devices HOST file to work with Unblock-us's reverse proxies (or router if you can):
204.12.200.61 movies.netflix.com
204.12.200.65 cbp-us.nccp.netflix.com
204.12.200.130 movies1.netflix.com
204.12.200.104 movies2.netflix.com
204.12.200.14 netflix.com
204.12.200.7 moviecontrol.netflix.com
204.12.200.88 api-global.netflix.com
204.12.200.83 api-us.netflix.com
204.12.200.2 api.netflix.com
204.12.200.100 www2.netflix.com
204.12.200.119 redirects-us.nccp.netflix.com
204.12.200.118 redirects-eu.nccp.netflix.com
204.12.200.26 nccp-nrdp-31.cloud.netflix.net
204.12.200.92 ios.nccp.netflix.com
204.12.200.14 atv.nccp.netflix.com
204.12.200.11 uiboot.netflix.com
204.12.200.39 signup.netflix.com
204.12.200.14 iphone-api.netflix.com
204.12.200.14 nccp-fuji.netflix.com
204.12.200.27 nccp-fuji.cloud.netflix.net
204.12.200.22 nccp-nato.cloud.netflix.net
204.12.200.14 nccp-nato.netflix.com
204.12.200.14 mcdn.netflix.com
204.12.200.12 secure.netflix.com
204.12.200.13 htmltvui-api.netflix.com
204.12.200.14 nccp-ps3.netflix.com
204.12.200.18 nccp-ps3.cloud.netflix.net
204.12.200.17 api-user.netflix.com
204.12.200.42 mobile-api.netflix.com
204.12.200.14 api-public.netflix.com
You can do this again for any services you wish to use. To find out the IP's you just need to switch to their DNS and do a lookup on the domains you need to access, find out the reverse-proxy IP address and then hardcode it into your hosts file and revert back to your normal DNS server.
Now with this simple tweak, you can take advantage of their great service, without them tracking your entire internet and with no risk.
I've done this method myself just for Netflix US as thats all I use their service for. As my Apple TV is jailbroken, I SSH'ed in and made the same change to the HOSTS file. Only devices it doesn't work for however would be your games consoles or dedicated units which weren't rooted or jailbroken. Unless you had a really funky router where you could manually add DNS records and make the changes to that instead, but if you had one of those, you would properly know how to make the changes.
If you want to share any more IP configurations for different services on Unblock-us or have any questions, please drop a reply below and share
Interested in doing this as a network level instead of just per-device? Check out these Digiex Guides:
Configure DNSMASQ for Unblock-US / Unotelly (Avoid using there DNS servers for general traffic)
Using Unblock-Us on Mac OS X Mavericks with BIND (Use your own DNS Server)
Unblock-us is a great service which allows any device to access media streaming services like Netflix, Hulu and iPlayer from anywhere in the world without needing to use a VPN. It's a paid for service (and a little expensive in my view) but works with more devices than a VPN does (Apple TV's, Xbox 360, Playstation 3) as well as all your traditional devices like Phones, Tablets and PCs.
Interested in an account? Get one here: http://www.unblock-us.com (They offer a 7 day trial with no payment information needed)
The service works by switching your DNS server on either your device (via network settings) or on your router (to cover all devices in the house) then when a request is made to Netflix (or another media service), the DNS switches the IP to a reverse proxy which is hosted by Unblock-us which hides your real IP and makes the service think your from the desired region. You may think well a VPN does this to, but the key difference between a full VPN and unblock-us is once you actually stream a video from the service, the connection is direct (not via the reverse proxy which is only used for the logging in / browsing of content) so your get a much faster service. In most cases with Netflix, your get full HD (8mbit streaming) which is hard to acheive in peak times with most commercial VPN's which are oversubscribed (I know, I've tried a few including BlackVPN and PrivateInternetAccess which at the time of writing are the two most recommended services).
Now don't get my wrong, if you are only using it on your PC or Laptop (or even iPhones or 2.2+ Androids) where you can easily install and connect to a VPN, its still the better option as it hides the entire journey. Also a VPN is guranteed to work long into the future as its not tricking the service like unblock-us as there is a risk this loop hole could be blocked by updates to Netflix / iPlayer. But for some devices like Xbox 360's its just not possible to install and connect to a VPN client (well, you can use a VPN but it involves connecting to a VPN on your computer or router if supported and then sharing it to your Xbox, but thats not viable for most people).
Dangers of using Unblock-us's DNS servers:
There is one catch with unblock-us though which makes me feel uneasy. As your changing your DNS server to theirs for the reverse-proxy to kick in on the relevent services it does mean that every website you browse will involve you connecting to their DNS to request an IP and even though they should reply with the correct IP, it does mean they effectivily know every website you ever visit. They are a private company, and they are not clear on what information they store or capture. They could easily be collecting this data and selling it, or even capturing it for later use. (Or they could be entire honest and just want to provide you with an excellent service. But the point is its not known and sometimes not trusting is better than trusting).
Using the same method they use to connect you to Netflix US, they could easily at the flick of a button use to replace every advert with their own, or even make you think your connecting to your banks website and logging in when its actually one of their servers. They may not even do this on purpose, but if they got hacked and your using their DNS server your open up to massive abuse. Which is why deep down, I would never recommend anyone changing their DNS to anything besides either their ISP's, Googles Public ones, or OpenDNS's public ones.
Workaround to use your current DNS server:
However, there is a simple way you can keep using your current DNS and make the changes locally to your PC instead to use Unblock-us's reverse proxies, without a DNS change. This involves editing your PC's HOST File and making the changes that unblock-us do on their public DNS, to your local PC.
> If you don't know how to change your HOSTS file, there is a million guides already on the internet for every OS and device that supports it so a quick google can help. If your using Windows however, Insanenutter has a great step by step guide on how to edit your hosts file (though for a different reason) available here: https://digiex.net/guides-reviews/g...osts-file-edit-no-dns-vpn-proxy-required.html
For Netflix US for example, you need to make the following changes to your PC's HOSTS file:
204.12.200.61 movies.netflix.com
204.12.200.65 cbp-us.nccp.netflix.com
Once you make those changes, you will be able to access Netflix US on your PC without any other settings needing to be changed. For this to work though, your Unblock-us account has to be enabled and active for your IP range (Same as if you were using the DNS. If its not, quickly go to the Homepage and Login and it will become active until your home IP changes next)
However, for this to work on my Jailbroken Apple TV, I had to do a few more HOSTS entries that just the two above. It appears dedicated devices use various API's and other URL's to check your IP location. I've spent a good few hours packet sniffing a PS3, iPad, Apple TV, Xbox and more and got all the various DNS entries they connected to. Here is the complete list your need to put into your devices HOST file to work with Unblock-us's reverse proxies (or router if you can):
204.12.200.61 movies.netflix.com
204.12.200.65 cbp-us.nccp.netflix.com
204.12.200.130 movies1.netflix.com
204.12.200.104 movies2.netflix.com
204.12.200.14 netflix.com
204.12.200.7 moviecontrol.netflix.com
204.12.200.88 api-global.netflix.com
204.12.200.83 api-us.netflix.com
204.12.200.2 api.netflix.com
204.12.200.100 www2.netflix.com
204.12.200.119 redirects-us.nccp.netflix.com
204.12.200.118 redirects-eu.nccp.netflix.com
204.12.200.26 nccp-nrdp-31.cloud.netflix.net
204.12.200.92 ios.nccp.netflix.com
204.12.200.14 atv.nccp.netflix.com
204.12.200.11 uiboot.netflix.com
204.12.200.39 signup.netflix.com
204.12.200.14 iphone-api.netflix.com
204.12.200.14 nccp-fuji.netflix.com
204.12.200.27 nccp-fuji.cloud.netflix.net
204.12.200.22 nccp-nato.cloud.netflix.net
204.12.200.14 nccp-nato.netflix.com
204.12.200.14 mcdn.netflix.com
204.12.200.12 secure.netflix.com
204.12.200.13 htmltvui-api.netflix.com
204.12.200.14 nccp-ps3.netflix.com
204.12.200.18 nccp-ps3.cloud.netflix.net
204.12.200.17 api-user.netflix.com
204.12.200.42 mobile-api.netflix.com
204.12.200.14 api-public.netflix.com
You can do this again for any services you wish to use. To find out the IP's you just need to switch to their DNS and do a lookup on the domains you need to access, find out the reverse-proxy IP address and then hardcode it into your hosts file and revert back to your normal DNS server.
Now with this simple tweak, you can take advantage of their great service, without them tracking your entire internet and with no risk.
I've done this method myself just for Netflix US as thats all I use their service for. As my Apple TV is jailbroken, I SSH'ed in and made the same change to the HOSTS file. Only devices it doesn't work for however would be your games consoles or dedicated units which weren't rooted or jailbroken. Unless you had a really funky router where you could manually add DNS records and make the changes to that instead, but if you had one of those, you would properly know how to make the changes.
If you want to share any more IP configurations for different services on Unblock-us or have any questions, please drop a reply below and share

Interested in doing this as a network level instead of just per-device? Check out these Digiex Guides:
Configure DNSMASQ for Unblock-US / Unotelly (Avoid using there DNS servers for general traffic)
Using Unblock-Us on Mac OS X Mavericks with BIND (Use your own DNS Server)
we now have all the main DNS entries.