I run Ubuntu 16.04 LTS.
I want to redirect DNS requests coming from some ip[-range] to another instance of dnsmasq
on port 1995
. To do so I added these lines in /etc/dnsmasq.conf
file :
dhcp-range=set:red,10.10.10.11,10.10.10.222,255.255.255.0,12h
dhcp-option=tag:red,6,10.10.10.10:1995
But when I restart dnsmasq
it fails telling that Bad IP address on line ...
I also tried
dhcp-option=tag:red,6,10.10.10.10#1995
This also fails as Bad IP Address
Now, tell me how to specify the port number of other DNS Servers in dhcp-option
?