Re: [Dnsmasq-discuss] [PATCH] Optimize speed on massive server=/.../... records

2022-11-26 Thread Simon Kelley
Patch tweaked and applied. Given the rate of good changes coming in, I'm not going to make the final 2.88 release this weekend. Let's give it a few more days to settle. Cheers, Simon. On 25/11/2022 13:11, Petr Menšík wrote: When looking what this change did, I have noticed mark_servers()

Re: [Dnsmasq-discuss] [PATCH] Optimize speed on massive server=/.../... records

2022-11-25 Thread Petr Menšík
When looking what this change did, I have noticed mark_servers() cleanup of local_domains is using serv->next after it has freed serv. Use additional variable just like in cleanup_servers(). Patch attached. On 11/21/22 23:22, Simon Kelley wrote: Thanks for this. It was in my mind that vary

Re: [Dnsmasq-discuss] [PATCH] Optimize speed on massive server=/.../... records

2022-11-21 Thread Simon Kelley
Thanks for this. It was in my mind that vary large number of domains would be --local=/domain/ or --address=/domain/, not forwarding to servers. I've applied something that looks very like your patch, but with cosmetic code changes. Cheers, Simon. On 20/11/2022 05:50, Ye Zhou wrote: Hi

Re: [Dnsmasq-discuss] [PATCH] Optimize speed on massive server=/.../... records

2022-11-20 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Nov 20, 2022 at 01:50:10PM +0800, Ye Zhou wrote: > Hi all, > > I'm attaching a patch to optimize a speed issue introduced in version 2.86. Now is the patch attached > I have two ISP upstreams and need to forward different sites to different > ISP's DNS providers. For example: > >