[Dnsmasq-discuss] strict-order and EDNS0

2024-07-11 Thread Karel Bílek
Hello. I have a question about interaction of strict-order and EDNS0. I am looking at dnsmasq source code and I am not sure if I read it correctly. When I look into source code, I see this in `src/forward.c`: ``` /* Note: if we send extra options in the EDNS0 header, we can't recreate the

[Dnsmasq-discuss] Experimental python binding

2024-07-11 Thread Petr Menšík
Hi! I have been spending recently much time in gdb looking into bind9 code. But as an excercise I have created potential base for pretty printers in gdb. You may know it is possible to define custom display functions written in python in gdb. That helps especially when lot of members, which

Re: [Dnsmasq-discuss] Experimental python binding

2024-07-11 Thread Geert Stappers
On Thu, Jul 11, 2024 at 07:45:13PM +0200, Petr Menšík wrote: > ... have put together interesting piece for code for swig tool. Not knowning what "swig tool" is and being curious about it, I report back: SWIG (Simplified Wrapper and Interface Generator) is a software development tool that connec

Re: [Dnsmasq-discuss] How to NOT bind dnsmasq to lo?

2024-07-11 Thread Tim Tassonis
On 7/10/24 23:06, Sven Geuer wrote: Additionally: On Wed, 2024-07-10 at 21:55 +0200, Tim Tassonis wrote: [...] DHCP_OPT="192.168.8.9,192.1688.8.99,255.255.255.0,192.168.8.255,8h" dnsmasq --log-queries --user=dnsmasq \ --dhcp-leasefile=/var/lib/misc/qemu-vde-dnsmasq.leases \    

Re: [Dnsmasq-discuss] How to NOT bind dnsmasq to lo?

2024-07-11 Thread Tim Tassonis
On 7/10/24 22:29, Buck Horn via Dnsmasq-discuss wrote: Hi Tim, On 10.07.24 21:55, Tim Tassonis wrote: Hi all However, I however would like to run a second instance of dnsmasq binding only to a tap0, for a virtual network (vde2) for some qemu virtual machines, and I can't seem to get that to

Re: [Dnsmasq-discuss] How to NOT bind dnsmasq to lo?

2024-07-11 Thread Tim Tassonis
On 7/10/24 22:29, Buck Horn via Dnsmasq-discuss wrote: Hi Tim, On 10.07.24 21:55, Tim Tassonis wrote: Hi all However, I however would like to run a second instance of dnsmasq binding only to a tap0, for a virtual network (vde2) for some qemu virtual machines, and I can't seem to get that to

Re: [Dnsmasq-discuss] How to NOT bind dnsmasq to lo?

2024-07-11 Thread Tim Tassonis
On 7/10/24 22:52, Sven Geuer wrote: Hi Tim, On Wed, 2024-07-10 at 21:55 +0200, Tim Tassonis wrote: Hi all I tried using dnsmasq as local resolver, which in general works fine. However, I however would like to run a second instance of dnsmasq binding only to a tap0, for a virtual network (vd