Re: [Dnsmasq-discuss] dnsmasq does not forward requests with no default route is set
Is there a route in the kernel to that works when the default route is not present? the @ppp2 syntax sets SO_BINDTODEVICE on the socket used to talk upstream, but that's not going to work unless there's a route. Simon. On 30.12.2025 07:04, Luigi Baldoni via Dnsmasq-discuss wrote: Hello, before stating the obvious, this happens when server=@ppp2 is set. On my system I have concurrent ppp connections, each used independently. If ppp0 is down or a default route through it is not set, dnsmasq won't forward queries to the upstream resolver, even though it seems to use only ppp2 in normal conditions. At least that's what tcpdump shows. Any idea what's happening? I could try using uid-based policy routing I suppose, but I don't get why this would be necessary. Regards ___ Dnsmasq-discuss mailing list [email protected] https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss ___ Dnsmasq-discuss mailing list [email protected] https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] dnsmasq does not forward requests with no default route is set
Ok, my bad. rp_filter on ppp2 was causing incoming packets to be dropped. Case closed, sorry about the noise. ___ Dnsmasq-discuss mailing list [email protected] https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] dnsmasq does not forward requests with no default route is set
Hello, I must amend my previous statement: now running dnsmasq with a combination of uid-based NAT and ip rule to ensure the traffic is indeed routed through ppp2 and indeed it is and I can see the replies coming back. Only dnsmasq doesn't seem to heed them. Am I doing something wrong? Regards ___ Dnsmasq-discuss mailing list [email protected] https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] dnsmasq does not forward requests with no default route is set
Hello, before stating the obvious, this happens when server=@ppp2 is set. On my system I have concurrent ppp connections, each used independently. If ppp0 is down or a default route through it is not set, dnsmasq won't forward queries to the upstream resolver, even though it seems to use only ppp2 in normal conditions. At least that's what tcpdump shows. Any idea what's happening? I could try using uid-based policy routing I suppose, but I don't get why this would be necessary. Regards ___ Dnsmasq-discuss mailing list [email protected] https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
