For a individual target hosts, i.e. not a whole domain, if you're the one
doing the lookup, you could also use /etc/hosts.


On Thu, Aug 14, 2014 at 9:03 PM, Chris Barnes <[email protected]>
wrote:

> Awesome thanks for the tip with dnsmasq.
>
> --
> Kind Regards,
>
> Christopher Barnes
>
> e. [email protected]
> On 14/08/2014 6:51 PM, "Michael Chesterton" <[email protected]>
> wrote:
>
> > On 14/08/14 09:44, Chris Barnes wrote:
> > > Hi Christopher,
> > >
> > > So that works perfectly for Netflix because any part of that service
> that
> > > cares about Geolocation is in the Netflix domain.
> > >
> > > Hulu on the other hand, has services that are outside of the Hulu
> domain
> > > that take issue with my location - a248.e.akamai.net.
> > >
> > >
> > > you might be wondering why i dont just use a VPN?
> > >
> > > Well I dont want to tunnel all streaming traffic accross it and Netflix
> > > doesnt require all connections to be from the U.S. Only when you browse
> > the
> > > Netflix catalog and when you chose a show/movie to watch does the
> service
> > > check location, after that the web browser, Apple TV, other media
> device
> > is
> > > redirected to a CDN to stream the content. and that CDN doesnt care
> > where I
> > > am from. So I get better throughput by not tunnelling the video stream.
> > >
> > >
> > > Now a hosts file would fix this problem very nicely.....but Apple TV
> > doesnt
> > > have a hosts that is accessible and thats where I do most my streaming
> > from.
> > >
> > > Interestingly, I can watch Hulu on my PC with my current setup with
> zero
> > > problems. Its when I try on the Apple TV that it talks to
> > a248.e.akamai.net
> > > and throws an error that I'm outside the U.S.
> > >
> >
> > I believe dnsmasq lets you change host addresses of single hosts in
> > a large domain with a 1 line entry, not a bind solution, but it's really
> > easy to do with dnsmasq, i have no idea how to do it with bind.
> >
> > dnsmasq has this functionality for things like blocking ads, but you
> > can use it for any purpose
> >
> > # Add domains which you want to force to an IP address here.
> > # The example below send any host in double-click.net to a local
> > # web-server.
> > #address=/double-click.net/127.0.0.1
> >
> > # --address (and --server) work with IPv6 addresses too.
> > #address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83
> >
> > # Add the IPs of all queries to yahoo.com, google.com, and their
> > # subdomains to the vpn and search ipsets:
> > #ipset=/yahoo.com/google.com/vpn,search
> >
> >
> > --
> > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> >
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>



-- 
Christopher Vance
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to