[Dnsmasq-discuss] DNS based on MAC address
Mykola Kyrylenko
mykola at kyrylenko.com
Wed Jun 11 23:49:31 UTC 2014
Thanks for the help. Works perfectly.
I had to install a custom firmware first, before the 'dnsmasq.conf' would
stick.
regards,
Mykola
On 12 June 2014 05:41, Simon Kelley <simon at thekelleys.org.uk> wrote:
> On 09/06/14 09:38, Mykola Kyrylenko wrote:
> > Hi,
> >
> > I am not sure if this has been discussed before.
> > I have a Roku outside of USA. For me to operate it, I need to use a
> Smart
> > DNS service (Overplay).
> > Unfortunately, the Roku does not allow setting the DNS manually, which
> > means I need to do it in the router.
> > I tried this, but the performance of my other devices, particularly the
> > Panasonic TV, suffered. The TV cannot set DNS manually either.
> >
> > My router is an Asus RT-N56U. I managed to Telnet in, and there is a
> > '/etc/dnsmasq.conf' file.
> >
> > Would it be possible to set the DNS for the Roku to the Overplay one,
> based
> > on the Roku's MAC address?
> > All the other devices will get the default DNS from my ISP.
> >
> > Looking at the configuration file, 'dhcp-host' can set the IP address
> based
> > on MAC address, and 'server' specifies the DNS based on domain. This
> not
> > quite what I want.
> >
> > regards,
> > Mykola
> >
> >
>
> You mean, send a different DNS server in the DHCP reply to the Roku?
> Yes, that's possible. Something like
>
> dhcp-mac=set:roku,<MAC address of Roku>
> dhcp-option=tag:roku,option:dns-server,<IP of overplay DNS server>
>
> should do the trick.
>
>
> Cheers,S
>
> Simon.
>
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140612/2e6aba46/attachment.html>
More information about the Dnsmasq-discuss
mailing list