TVNZ Ondemand App behind UnblockUS Service

, posted: 27-Feb-2013 19:39

Recently TVNZ brought out an Ondemand App for IOS.  Whoohoo!!

Happily I downloaded it and gave it a spin but to my dismay nothing would show up.  

I had a thought though, I use the  service for accessing overseas media services.  A quick change to my iPhone to set the DNS to my ISPs DNS servers confirmed that this was the problem.

The router I use is a TP-Link WR1043ND - but using the firmware (v1.4.7) - in this I have the unblockUS DNS servers which means all traffic is generally sent through them.  They confirmed that TVNZ was not a service they deal wtih and so it was best to not use their DNS servers if trying to access them.

That meant I was up for changing my phones DNS settings everytime I wanted to try using the TVNZ Ondemand app.  

Screw that I thought.

So a bit of googling revealed I should be able to use different DNS servers depending on the client doing the accessing - ok I thought, before stumbling upon being able to use different DNS servers based on the domain trying to be accessed - perfect!!

I'm not entirely sure of the full mechanics of it, but essentially on the router I was able to say, if accessing any domain that contains (the video provider used by TVNZ) then use my Telecom domain servers.

This is done by editing the dnsmasq.conf file in the /etc/ directory of my router.

I went for a pretty broad bruch stroke approach and inserted at the bottom:

# add entries to use telecom DNS servers for domain.

After restarting the router I tried the app and off it went.  

There's a couple of refinements possible, that is defining the servers down to a lower level.  I turned on dnsmap logging:
and this showed the domains being accessed and the name servers being used. 

So your homework dear reader is to try and limit the domains further.  That said, I had a look through BrightCove's customers and the only one I saw was ITV (accessible via UnblockUS) -and it didn't seem to be affected, so I've left mine as it.

Update, based on a commend @bagheera made, I reversed the process, put telecoms DNS servers under my router and used DNSMasq.conf to put all the overseas services to - see the post at

Other related posts:
The New Age of Online Television
TVNZ Ondemand App behind UnblockUS Service - part II

comments powered by Disqus

davidcole's profile

davidcole Cole
Lower Hutt
New Zealand

Been thinking it would be nice to have a blog but not sure if I have enough to say.

I'm an I.T worker from Wellington New Zealand.

I like my toys so this will probably have posts about my dealings with those.

My Cellphone is an iPhone 5s

I run a NextPVR based PVR at home to replace my video recorder, DVD player and to host all my music. I'm also really big on Plex, for centralising all my music, videos and I've written a plugin or two for it for accessing live TV and for storing recordings with metadata.

Wemos D1 Mini Door Contact (pl...
(16-Nov-2017 07:58, 12982 views)
TVNZ Ondemand App behind Unblo...
(27-Feb-2013 19:39, 12723 views)
OpenHAB and Bluetooth beacons ...
(19-Dec-2016 21:39, 11090 views)
Controlling a 12v fan from a r...
(17-Jan-2017 07:49, 10281 views)
eReceipts - Why don't we have ...
(12-Jan-2012 10:01, 10090 views)
PDF Forms - why you no boxes?...
(26-Jun-2012 09:04, 8548 views)
Free $80 - come and get ur mon...
(20-Sep-2011 13:11, 8307 views)
RM3's also - but this time wit...
(16-Jul-2017 20:16, 7670 views)
Paradox IP150 and Home Automat...
(6-Mar-2019 21:57, 7493 views)
Contactless Payments - part 2...
(21-Sep-2011 15:12, 5868 views)