Hello,
I was wondering if it is possible to advertise a custom DNS to selected clients using /etc/dhcp
?
config host
option name 'SAMSUNG-TV'
option dns '1'
option mac 'xx:xx:xx:xx:xx:xx'
option ip '192.168.0.60'
option leasetime 'infinite'
# idea
# option set_dns '8.8.8.8'
Right now I am doing this using a firewall rule for which @vgaetera gave me the idea.
config redirect
option name 'AGH-DNS_SAMSUNG-TV'
option target 'DNAT'
list proto 'tcp'
list proto 'udp'
option src 'lan'
option src_ip '192.168.0.60'
option src_dport '53'
option dest 'lan'
option dest_ip '192.168.0.1'
option dest_port '65353'
Regards
TheHellSite