Re: [Dnsmasq-discuss] Make HighLoad constant value configurable from config.h

2022-04-08 Thread Geert Stappers via Dnsmasq-discuss
On Fri, Apr 08, 2022 at 05:55:44PM +0300, Серж ИвановЪ wrote: > пт, 8 апр. 2022 г. в 17:46, Geert Stappers : > > On Fri, Apr 08, 2022 at 04:34:11PM +0300, Серж ИвановЪ wrote: > > > I am talking about this part of code in src/dhcp.c > > > ``` > > > struct ping_result *do_icmp_ping(time_t now,

Re: [Dnsmasq-discuss] Make HighLoad constant value configurable from config.h

2022-04-08 Thread Серж ИвановЪ
no problem, will do, if it is acceptable to merge it, please confirm, thanks пт, 8 апр. 2022 г. в 17:46, Geert Stappers : > On Fri, Apr 08, 2022 at 04:34:11PM +0300, Серж ИвановЪ wrote: > > I am talking about this part of code in src/dhcp.c > > ``` > > struct ping_result *do_icmp_ping(time_t

Re: [Dnsmasq-discuss] Make HighLoad constant value configurable from config.h

2022-04-08 Thread Geert Stappers via Dnsmasq-discuss
On Fri, Apr 08, 2022 at 04:34:11PM +0300, Серж ИвановЪ wrote: > I am talking about this part of code in src/dhcp.c > ``` > struct ping_result *do_icmp_ping(time_t now, struct in_addr addr, unsigned > int h > { > static struct ping_result dummy; > struct ping_result *r, *victim = NULL; > int count,

[Dnsmasq-discuss] [Feature-Request] Make HighLoad constant value configurable from config.h

2022-04-08 Thread Серж ИвановЪ
I am talking about this part of code in src/dhcp.c ``` struct ping_result *do_icmp_ping(time_t now, struct in_addr addr, unsigned int h { static struct ping_result dummy; struct ping_result *r, *victim = NULL; int count, max = (int)(0.6 * (((float)PING_CACHE_TIME)/

[Dnsmasq-discuss] [PATCH] server option needs a server

2022-04-08 Thread Geert Stappers via Dnsmasq-discuss
When using option '--server', is an upstream server mandatory. Expressing that by removing the [ ] that suggests that is optional. At the spanish translation is only a [ removed. Signed-off-by: Geert Stappers --- man/dnsmasq.8| 2 +- man/es/dnsmasq.8 | 2 +- man/fr/dnsmasq.8 | 2 +- 3

[Dnsmasq-discuss] Dnsmasq 2.86 whitelist

2022-04-08 Thread Kovács József via Dnsmasq-discuss
Hello Everybody, I have a problem, I would like to create a whitelist! In this case the domain resolving should work at the listed domains only, like if I would insert them into the hosts file. Is this possible? I would like to change blacklists or whitelists optionally. Could somebody

Re: [Dnsmasq-discuss] Extend server to accept hostnames for upstream resolver

2022-04-08 Thread Geert Stappers via Dnsmasq-discuss
On Thu, Apr 07, 2022 at 05:27:31PM +0200, Geert Stappers via Dnsmasq-discuss wrote: > On Thu, Apr 07, 2022 at 12:24:15PM +0100, Simon Kelley wrote: > > This seems like a sensible idea, but it does need a clear warning in the > > documentation that it will only work if the dnsmasq instance being >