[Dnsmasq-discuss] Having dnsmasq use non-default routing table

Wink Saville wink at saville.com
Fri Sep 22 16:27:21 UTC 2023


On Fri, Sep 22, 2023, 06:34 Luigi Baldoni <aloisio at gmx.com> wrote:
>
>   Hello,
> after a few days of fruitless efforts, I thought of asking you all directly.
>
> I need dnsmasq to send its queries to the upstream server via a different
> route than everything else. I've tried adding the @interface parameter to
> the --server option but I don't think I quite understand how it's supposed
> to work.
> Then I've attempted to mark the packets originating from the dnsmasq process
> via the iptables owner module, also with little success.
>
> Before I proceed any further with these experiments, I would like to know
> whether I'm missing something, or if someone has found a different way to
> do this.
>
> Thanks


I think your question is: How do I configure dnsmasq on Linux to send
its upstream DNS queries using a specific route?

Here is GPT-4 answer:
https://chat.openai.com/share/47fe1f23-57b6-4bbb-b51d-c4bf3818ef df

And Bard answer: https://g.co/bard/share/866e99f101bf

If I've got the question wrong provide the proper question and I'll ask

-- Wink



More information about the Dnsmasq-discuss mailing list