Using Unblock-Us on Mac OS X Mavericks with BIND (Use your own DNS Server)

Discussion in 'Networking Guides' started by Nimrod, Jan 18, 2014.

  1. Nimrod

    Nimrod Exotic Vendor

    Joined:
    Jun 1, 2007
    Messages:
    1,991
    Likes Received:
    533
    Location:
    London, United Kingdom
    A quick and simple guide on how to use Unblock-US with your own DNS Server on Mac OS X Mavericks

    This guide requires you to have a basic knowledge of Networking (IP Addresses)
    If you haven't signed up for Unblock-US you should give it a go! You can get a 7 day trial with no payment information here: http://www.unblock-us.com

    If you don't want to setup your own DNS server and instead want to make the changes to just one device, I recommend using this guide instead which is for HOST files:
    https://digiex.net/guides-reviews/g...hing-dns-server-watch-netflix-outside-us.html

    If your not using Mavericks, but instead an older version of OS X then BIND is already installed and I recommend this awesome guide by Frank: ยป Unblock-us for Mac OS

    To get BIND on your Mavericks install, you first need to download it from the following location:
    Index of /download/bind/macosx/10.9-Mavericks/

    I recommend the latest version: ISCBIND-9.8.6-x86_64-10.9.zip

    Once installed, right click Finder on the Dock and select 'Go to Folder' and type in /etc

    Sort by Date Modified and you should see named.conf as the top file. Open this in a text editor of your choice, I recommend Subline Text 2.

    Paste in the below configuration:

    Code:
    //
     // Include keys file
     //
     include "/etc/rndc.key";
    
    // Declares control channels to be used by the rndc utility.
     //
     // It is recommended that 127.0.0.1 be the only address used.
     // This also allows non-privileged users on the local host to manage
     // your name server.
    
    //
     // Default controls
     //
     controls {
      inet 127.0.0.1 port 54 allow {any;}
      keys { "rndc-key"; };
     };
    
    options {
      forwarders {
       8.8.8.8;
       8.8.4.4;
      };
    
     listen-on-v6 { ::1; };
      listen-on { 127.0.0.1; };
      listen-on { [B]YOURLOCALIPHERE EG: 192.168.1.10[/B]; };
     };
    
    zone "netflix.com" {
      type forward;
      forwarders {
       208.122.23.22;
       208.122.23.23;
      };
     };
     zone "unblock-us.com" {
      type forward;
      forwarders {
       208.122.23.22;
       208.122.23.23;
      };
     };
    
    Edit the bit I bolded and replace it with your local IP address, or any other IP address you wish it to listen to.

    Once done, save the file. Then edit your DNS server on your local devices to your Mac's internal IP and your done! It will now use Google DNS for all your outgoing traffic except for Netflix.com which will go via Unblock-US's DNS Server. You can edit or add additional records for other providers like Hulu.com if you use them.

    Hope this helps! :)
     
  2. havokz

    havokz New Member

    Joined:
    Mar 6, 2014
    Messages:
    1
    Likes Received:
    0
    Hi. I have mavericks osx server 3.0.3 and this config does not work. Unblock-us does work and the netflix user interface also however when I try to watch anything I get a N8102-154-24 error.

    Have you come across anything like this before? This is driving me crazy for the last 10 days.

    (I'm in South Africa)
     
  3. Nimrod

    Nimrod Exotic Vendor

    Joined:
    Jun 1, 2007
    Messages:
    1,991
    Likes Received:
    533
    Location:
    London, United Kingdom
    That sound's like not all the DNS entries for sub domains on .netflix.com are redirecting to Unblock-US's service. You may find your device has them cached from when you used it without Unblock-US, in which case just flush your DNS cache (method varys depending on device/operating system your using). Give that a try!

    Alternatively do a lookup for movies.netflix.com on your custom DNS server, and then your ISP dns servers. You should get a different IP on each, this will confirm your custom DNS server is serving entires from Unblock-US and not forwarding it to one of the forwarders from your config file.
     

Share This Page