[Dnsmasq-discuss] multiple upstream servers
S Irlapati
irlapati at gmail.com
Wed Jul 29 18:21:12 BST 2020
Hi Folks,
I am trying to configure dnsmasq to selectively send requests to
different upstream servers based on their IP addresses which have been
given by them by dnsmasq. Here are the relevant lines of code.
dhcp-host=00:a1:b0:08:61:67,floater,tag:red,192.168.13.109
dhcp-host=00:c0:a8:be:ed:d0,Ziong,tag:green,192.168.13.110
dhcp-option=tag:red,option:dns-server,10.88.13.3
dhcp-option=tag:green,option:dns-server,10.88.13.4
server=10.88.13.4#53
The above does not work. I can make query from floater and it still uses
sever 10.88.13.4
If the server option is taken out, then dnsmasq does not forward the
queries anywhere. It is like the dhcp-option has no effect.
I came with this kind of configuration by doing google searches, but
they were 7 year old posts.
Can someone please help find the right configuration or guess what could
be wrong with the configuration?
Sam
More information about the Dnsmasq-discuss
mailing list