[Dnsmasq-discuss] Having dnsmasq use non-default routing table
Matthias May
matthias.may at westermo.com
Fri Sep 22 22:40:56 UTC 2023
On 22/09/2023 18:27, Wink Saville wrote:
> 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://urldefense.com/v3/__https://chat.openai.com/share/47fe1f23-57b6-4bbb-b51d-c4bf3818ef__;!!I9LPvj3b!BOetutoPDMZVnmN8eLyHRg_93gZ4QBXVK9yRGbAdpa0cFIkcjOvTnrwVxE7UDVbqoi1GyC1C38Fqgutf$ df
>
> And Bard answer: https://urldefense.com/v3/__https://g.co/bard/share/866e99f101bf__;!!I9LPvj3b!BOetutoPDMZVnmN8eLyHRg_93gZ4QBXVK9yRGbAdpa0cFIkcjOvTnrwVxE7UDVbqoi1GyC1C319ebuBN$
>
> If I've got the question wrong provide the proper question and I'll ask
>
> -- Wink
>
Hi Wink
The link to openai returns a 404. What is the answer it provided? (pure
interest).
The bard answer looks to me like garbage. I don't think the parameters
it refers to actually exist...
BR
Matthias
More information about the Dnsmasq-discuss
mailing list