Re: [Dnsmasq-discuss] Method to get Dnsmasq serve address of a host from interface address

2023-03-14 Thread Olivier
Hello, Could it be possible to add an example in interface-name section of dnsmasq.conf man page as IMHO, current content is not very easy to understand. Best regards ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk

[Dnsmasq-discuss] Using dhcp-hosts for static entries

2020-08-22 Thread Olivier
Hello, I've discovered dhcp-hostsfile option. Is it possible to use this file as an alternative way to define static DNS entries as you would with an /etc/hosts file (and as updating with a simple SIGUP seems be convenient to me) ? If I'm correctly understanding man page (see [1]), it should be

[Dnsmasq-discuss] How to return a DHCP Option value which repeats DHCP Client MAC address ?

2020-08-20 Thread Olivier
Le jeu. 20 août 2020 à 13:27, < dnsmasq-discuss-requ...@lists.thekelleys.org.uk> a écrit : > > AIUI is the question if there is something that does expanding > '${MAC_ADDRESS}' > > Yes, this is exactly what I'm looking for : variable expansion (and basic string computing like concatenation,

[Dnsmasq-discuss] How to return a DHCP Option value which repeats DHCP Client MAC address ?

2020-08-19 Thread Olivier
Hello, For some class of devices, I would like to return a DHCP Option value which repeats requester's MAC address (with case sensitivity control options). dhcp-vendorclass=foo,"Foo" dhcp-option=vendor:foo,43,"http://1.2.3.4/foo_.cfg" dhcp-vendorclass=bar,"Bar"

Re: [Dnsmasq-discuss] Please consider clarifying the man page about the tftp service

2020-01-27 Thread Olivier Cailloux
the command. If so, dnsmasq should say it. But I certainly could be wrong, being no expert in net booting. > > Cheers Thank you for your interest and time. -- Olivier > ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] Please consider clarifying the man page about the tftp service

2020-01-24 Thread Olivier Cailloux
do /usr/sbin/dnsmasq --port=0 "--dhcp-range=192.168.1.0,proxy" " --dhcp-boot=pxelinux.0" --enable-tftp --log-dhcp --tftp- root=/home/olivier/netboot sudo /usr/sbin/dnsmasq --port=0 "--dhcp-range=192.168.1.0,proxy" " --dhcp-boot=/pxelinux.0" --enable-tftp --lo

[Dnsmasq-discuss] DHCP: Allocate from different IP pools depending on MAC address

2019-09-27 Thread Olivier
Hello, I've got several Debian hosts using ISC DHCP server. In those, I'm currently using the following feature: "when a requesting host MAC address ends with 00, use group 0 when a requesting host MAC address ends with 01, use group 1 when a requesting host MAC address ends with 02, use group 0

[Dnsmasq-discuss] Specific /etc/hosts file for specific interface (split-DNS ?)

2019-09-25 Thread Olivier
Hello, I've got a Debian Stretch host for which I need to serve specific replies depending on the queried interface. For instance, if a DNS query is received on interface (say eth0.15 for example), then a specific cache and a specific /etc/hosts-like file be searched before querying a DNS server

Re: [Dnsmasq-discuss] [PATCH v2 0/3] Improvements for the french translation of the manual

2018-07-23 Thread Olivier Gayot
/fr.po` file, > as there might also be some changes needed there? Hi Gildas, I was planning to have a look there when I have some spare time. I'll keep you in Cc for any related work :) Kind regards, Olivier ___ Dnsmasq-discuss mailing list

[Dnsmasq-discuss] [PATCH v2 0/3] Improvements for the french translation of the manual

2018-07-09 Thread Olivier Gayot
Hi, Changes since v2: Removed unrelated/incomplete change in the [PATCH 1/3]. Added Reviewed-By: Nicolas Cavallari to the patch series. http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2018q3/012343.html -- 2.18.0 ___ Dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH 1/3] Fix some mistakes in french translation of the manual

2018-07-09 Thread Olivier Gayot
is here on the list and the > OP will simply need to resend a 'reroll' of the set of patches.: > > git send-email --reroll-count n Thank you, Joe. I've made the necessary change to the patch series and will send a 'reroll' as you recommended. Olivier __

[Dnsmasq-discuss] [PATCH v2 2/3] Fix recurrent minor spelling mistake in french manual

2018-07-09 Thread Olivier Gayot
The use of "peut-être" should be spelled "peut être" (without the hyphen) unless it can be replaced by "sans doute". It is roughly the same difference between "maybe" and "may be". As for "doit-être", it should always be spelled "doit être". Reviewed-By: Nicolas Cavallari --- man/fr/dnsmasq.8

[Dnsmasq-discuss] [PATCH v2 3/3] Document the --help option in the french manual

2018-07-09 Thread Olivier Gayot
The option was already described in the original manual page but was not replicated in the french translation. Reviewed-By: Nicolas Cavallari --- man/fr/dnsmasq.8 | 7 +++ 1 file changed, 7 insertions(+) diff --git a/man/fr/dnsmasq.8 b/man/fr/dnsmasq.8 index ef89d8a..88967df 100644 ---

[Dnsmasq-discuss] [PATCH v2 1/3] Fix some mistakes in french translation of the manual

2018-07-09 Thread Olivier Gayot
Various typos were present along with spelling mistakes and grammar errors. Some sentences were missing a few words to be easily understandable. Many of them probably remain though. Reviewed-By: Nicolas Cavallari --- man/fr/dnsmasq.8 | 140 +++ 1

[Dnsmasq-discuss] [PATCH 0/3] Improvements for the french translation of the manual

2018-07-07 Thread Olivier Gayot
describing the "--help" option. It was already present in the original version but not in the translation. Kind regards, Olivier ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailma

[Dnsmasq-discuss] [PATCH 3/3] Document the --help option in the french manual

2018-07-07 Thread Olivier Gayot
The option was already described in the original manual page but was not replicated in the french translation. --- man/fr/dnsmasq.8 | 7 +++ 1 file changed, 7 insertions(+) diff --git a/man/fr/dnsmasq.8 b/man/fr/dnsmasq.8 index 702a333..1e10419 100644 --- a/man/fr/dnsmasq.8 +++

[Dnsmasq-discuss] [PATCH 2/3] Fix recurrent minor spelling mistake in french manual

2018-07-07 Thread Olivier Gayot
The use of "peut-être" should be spelled "peut être" (without the hyphen) unless it can be replaced by "sans doute". It is roughly the same difference between "maybe" and "may be". As for "doit-être", it should always be spelled "doit être". --- man/fr/dnsmasq.8 | 96

[Dnsmasq-discuss] [PATCH 1/3] Fix some mistakes in french translation of the manual

2018-07-07 Thread Olivier Gayot
Various typos were present along with spelling mistakes and grammar errors. Some sentences were missing a few words to be easily understandable. Many of them probably remain though. --- man/fr/dnsmasq.8 | 144 --- 1 file changed, 74 insertions(+), 70

[Dnsmasq-discuss] [PATCH 2/2] rev-server: reject CIDR prefixes that are not /8 /16 /24 or /32 for IPv4

2017-03-05 Thread Olivier Gayot
The rev-server directive only handles the following CIDR prefixes properly: /8, /16, /24, /32. Any other value was silently converted to /16 which could result in unexpected behaviour. This patch rejects any other value instead of making a silent conversion. Signed-off-by: Olivier Gayot

[Dnsmasq-discuss] Accept /32 and reject anything but /8, /16, /24 or /32 in rev-server.

2017-03-05 Thread Olivier Gayot
noted. Kind regards, Olivier ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] [PATCH 1/2] rev-server: accept /32 as a valid CIDR prefix for IPv4

2017-03-05 Thread Olivier Gayot
as: server=/168.192.in-addr.arpa/1.2.3.4 This strange behaviour is fixed by accepting /32 CIDR prefixes as a valid value. Any other value will still be considered the same as /16. Signed-off-by: Olivier Gayot <olivier.ga...@sigexec.com> --- src/option.c | 31 +---

Re: [Dnsmasq-discuss] [PATCH] Accept /32 and /0 as valid CIDR prefixes for rev-server directive

2017-02-15 Thread Olivier Gayot
wo patches to address the first two issues. Would that be okay for you as a first step ? Kind regards, Olivier ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] Accept /32 and /0 as valid CIDR prefixes for rev-server directive

2017-02-15 Thread Olivier Gayot
On Tue, Feb 14, 2017 at 08:16:02AM -0600, /dev/rob0 wrote: > On Tue, Feb 14, 2017 at 12:31:21AM +0100, olivier.ga...@sigexec.com wrote: > > > > server=/42.10.168.192.in-addr.arpa/1.2.3.4 > > server=/in-addr.arpa/1.2.3.4 > > > > but the following do not: > > > >

[Dnsmasq-discuss] [PATCH] Accept /32 and /0 as valid CIDR prefixes for rev-server directive

2017-02-13 Thread olivier . gayot
From: Olivier Gayot <olivier.ga...@sigexec.com> [ excerpt from the man page ] The rev-server directive provides a syntactic sugar to make specifying address-to-name queries easier. For example --rev-server=1.2.3.0/24,192.168.0.1 is exactly equivalent to --server=/3.2.1.in-addr.arpa/192.1

[Dnsmasq-discuss] Keeping upstream answers order

2015-08-20 Thread Olivier Mauras
Hello, I use dnsmasq in front of a couple of Microsoft DNS servers. For some reason, the Microsoft DNS service has been configured to reply in order depending of the client subnet, always returning the nearest servers for some DNS entries. Sadly when asking these entries to dnsmasq, the

Re: [Dnsmasq-discuss] Problems with dnsmasq + authentication with AD

2015-03-25 Thread Olivier Mauras
Hello Erling, 2.48 is getting quite old, and i remember having encountered issues when first deploying the EL6 version. I've moved to newer versions long time ago and use dnsmasq in production in front of AD servers. I definitely can't reproduce that behaviour on 2.70, see below: # dig

Re: [Dnsmasq-discuss] Per entry TTL override

2014-04-02 Thread Olivier Mauras
On Mon, 2014-03-31 at 12:59 +0200, Olivier Mauras wrote: Hello, Is it thinkable to allow a per entry TTL override system ? I have actually two different needs that i'd like to discuss. First NXDOMAINS. I'd like to cache NXDOMAIN from some forwarded domains to a specific value. Cache time

Re: [Dnsmasq-discuss] Stats improvement

2014-03-29 Thread Olivier Mauras
On Thu, 2014-03-27 at 20:57 +, Simon Kelley wrote: On 26/03/14 05:12, Olivier Mauras wrote: Yes it should definitely be TXT records. Sounds really good to me. for upstream servers, why not having upstream.bind return total queries forwarded + list of upstream servers that can

[Dnsmasq-discuss] Cache improvements

2014-03-24 Thread Olivier Mauras
of cache entries. I sometimes - if not often - need to purge a single entry or a single domain from the cache, would be nice to be able to do so without clearing the whole cache. Thanks, Olivier ___ Dnsmasq-discuss mailing list Dnsmasq-discuss

[Dnsmasq-discuss] Stats improvement

2014-03-24 Thread Olivier Mauras
as it takes too long to retrieve them inside logs. I'd love to see a stats interface that would output total_queries, cache_hits, cache_misses, memory used by cache, etc Thanks, Olivier ___ Dnsmasq-discuss mailing list Dnsmasq-discuss

Re: [Dnsmasq-discuss] Stats improvement

2014-03-24 Thread Olivier Mauras
Mainly that it's barely usable with log_queries as greping log files of 4 to 6GB tends to not be that responsive... On 2014-03-24 13:33, Olaf Westrik wrote: On 2014-03-24 12:25, Olivier Mauras wrote: I'd love to see a stats interface that would output total_queries, cache_hits

Re: [Dnsmasq-discuss] Stats improvement

2014-03-24 Thread Olivier Mauras
On Mon, 2014-03-24 at 21:55 +, Simon Kelley wrote: On 24/03/14 11:25, Olivier Mauras wrote: Hello, I was wondering what would be the effort, and if there'd actually be any interest for some dnsmasq statistics improvements. (Yes i'm splitting dicussions ^^) For monitoring

Re: [Dnsmasq-discuss] Largest DNSMasq deployment?

2013-09-17 Thread Olivier Mauras
Right now i have 70 servers and 40 desktop pointing to my dnsmasq instance. Dnsmasq is serving queries up to 650qps. Once finished migrated i should have ~600 more desktop clients on this site. On 2013-09-17 18:55, Joshua J. Kugler wrote: I was having a discussion with a coworker about

[Dnsmasq-discuss] dnsmasq caching stats meaning

2013-06-26 Thread Olivier Mauras
Hello, I plan to deploy dnsmasq on a medium sized network as primary caching DNS for both workstations and servers - 1500 workstations / 600 servers. I'm currently testing it on a test subnet with around 50 workstations and have been wondering about the cache stats. dnsmasq[27357]: time

Re: [Dnsmasq-discuss] dnsmasq caching stats meaning

2013-06-26 Thread Olivier Mauras
On 2013-06-26 16:33, Simon Kelley wrote: On 26/06/13 15:21, Olivier Mauras wrote: Hello, I plan to deploy dnsmasq on a medium sized network as primary caching DNS for both workstations and servers - 1500 workstations / 600 servers. I'm currently testing it on a test subnet with around 50