[SOLVED] Different DNS for one client
Moderator: Moderators
[SOLVED] Different DNS for one client
Have any way to set via dhcp different dns for one host ?
Last edited by possebom on Sat Aug 09, 2014 2:05 pm, edited 1 time in total.
Re: Different DNS for one client
I've wanted to do the same thing 

Re: Different DNS for one client
Thank you I will try this and back later for show the resultispyisail wrote:I think you best option would be command line
http://wiki.openwrt.org/doc/howto/dhcp.dnsmasq

I think Gargoyle not using standard dhcp file because this using /etc/ether file instead dhcp static block.
Re: Different DNS for one client
It's works !!
This for block porn in my daughter notebook.
Thanks ispyisail.
Code: Select all
root@Gargoyle:~# uci add dhcp mac
cfg0a8f76
root@Gargoyle:~# uci set dhcp.@mac[-1].mac=5C:F9:38:XX:XX:XX
root@Gargoyle:~# uci set dhcp.@mac[-1].networkid=kidsnote
root@Gargoyle:~# uci add_list dhcp.@mac[-1].dhcp_option=6,208.67.222.123,208.67.220.123
root@Gargoyle:~# uci commit dhcp
root@Gargoyle:~# /etc/init.d/dnsmasq reload
Thanks ispyisail.
Re: [SOLVED] Different DNS for one client
Thanks for this info
A couple of questions come to mind
1. Does it still work if "Force clients to Routers DNS service" is ticked? (This question depends on the one above)

2. Does the client's internet still work if they manually change the DNS on their device?
If you are only worried about porn maybe you would use OpenDNS family filter for everyone?
A couple of questions come to mind
1. Does it still work if "Force clients to Routers DNS service" is ticked? (This question depends on the one above)

2. Does the client's internet still work if they manually change the DNS on their device?
If you are only worried about porn maybe you would use OpenDNS family filter for everyone?