[Dnsmasq-discuss] multiple upstream servers

Daryl Richards daryl at isletech.net
Thu Jul 30 16:19:33 BST 2020


On 2020-07-30 08:09, wkitty42 at gmail.com wrote:
> On 7/29/20 7:59 PM, Dan Schaper wrote:
>> You've told dnsmasq to send a lease with option 6 (DNS) set to
>> 10.88.13.3. Where dnsmasq forwards the queries to is not relevant to
>> your issue, you only have one upstream server configured.
> 
> are you saying that this
> 
>>> dhcp-option=tag:red,option:dns-server,10.88.13.3
>>> dhcp-option=tag:green,option:dns-server,10.88.13.4
> 
> is not defining two upstream servers?
> 
>>> dhcp-option=option:dns-server,10.88.13.4
>>> server=10.88.13.4#53
> 
> or is one of both of these overriding that?

No - what you are specifying is that the client's DNS server IP will get 
set to 10.88.13.3 or 10.88.13.4. Otherwise, the client will get the IP 
address of the dnsmasq server which will use 10.88.13.4 always, as that 
is what you have configured.



More information about the Dnsmasq-discuss mailing list