Re: [Dnsmasq-discuss] rev-server=fe80::/10, 192.168.178.1 no longer accepted (version 2.86)

2021-09-10 Thread Simon Kelley
On 10/09/2021 11:27, Dominik DL6ER wrote: > Hey Joerg, > > On Fri, 2021-09-10 at 10:13 +0200, jo...@schuetter.org wrote: >> rev-server=fe80::/10,192.168.178.1 > > dnsmasq always only accepted IPv6 prefixes that are a multiple of > 4. There was just no enforcing of this before v2.86. > > Looking

Re: [Dnsmasq-discuss] [PATCH]

2021-09-10 Thread Simon Kelley
On 10/09/2021 09:37, Dominik DL6ER wrote: > I agree this is a good solution, patch attached. I hope to have caught > all places (I don't have the dependencies to build all possible > combinations myself). > Ah, thank you! I combined that with the one that started this thread and committed them.

Re: [Dnsmasq-discuss] [PATCH]

2021-09-10 Thread Petr Menšík
On 9/10/21 10:37 AM, Dominik DL6ER wrote: > Hey Petr and Simon, > > On Thu, 2021-09-09 at 23:35 +0100, Simon Kelley wrote: >> Much tidier is to simplify things and add an extra parameter to >> log_query which is the type, if type is non-zero, log_query calls >> querystr(), so >> >>

Re: [Dnsmasq-discuss] rev-server=fe80::/10, 192.168.178.1 no longer accepted (version 2.86)

2021-09-10 Thread joerg
Hello Dominik On 2021-09-10 12:27, Dominik DL6ER wrote: Hey Joerg, On Fri, 2021-09-10 at 10:13 +0200, jo...@schuetter.org wrote: rev-server=fe80::/10,192.168.178.1 dnsmasq always only accepted IPv6 prefixes that are a multiple of 4. There was just no enforcing of this before v2.86. From

Re: [Dnsmasq-discuss] rev-server=fe80::/10, 192.168.178.1 no longer accepted (version 2.86)

2021-09-10 Thread Dominik DL6ER
Hey Joerg, On Fri, 2021-09-10 at 10:13 +0200, jo...@schuetter.org wrote: > rev-server=fe80::/10,192.168.178.1 dnsmasq always only accepted IPv6 prefixes that are a multiple of 4. There was just no enforcing of this before v2.86. Looking at the v2.85 code, dnsmasq will have added > fe80::/8 for

Re: [Dnsmasq-discuss] [PATCH]

2021-09-10 Thread Dominik DL6ER
Hey Petr and Simon, On Thu, 2021-09-09 at 23:35 +0100, Simon Kelley wrote: > Much tidier is to simplify things and add an extra parameter to > log_query which is the type, if type is non-zero, log_query calls > querystr(), so > > log_query(flags, name, addr, querystr("description", type)); > >

[Dnsmasq-discuss] rev-server=fe80::/10, 192.168.178.1 no longer accepted (version 2.86)

2021-09-10 Thread joerg
Hello After upgrading dnsmasq from 2.85 to 2.86 (debian sid) the rev-server lines regarding IPv6 are no longer accepted error: bad IPv6 prefix at line 26 of /etc/dnsmasq.d/05-local.conf config line: rev-server=fe80::/10,192.168.178.1 Best Regards

Re: [Dnsmasq-discuss] ipv6 - How to add static route with metric

2021-09-10 Thread Daniel via Dnsmasq-discuss
Hello Simon Le 10/09/2021 à 00:52, Simon Kelley a écrit : On 09/09/2021 10:22, Daniel via Dnsmasq-discuss wrote: Hello, using dnsmasq for office network, I would like to add an ipv6 static route. My configuration looks like dhcp-range=set:computer6, fd00:5678:beef:cafe::ff:0,

Re: [Dnsmasq-discuss] ipv6 - How to add static route with metric

2021-09-10 Thread Daniel via Dnsmasq-discuss
Hello Petr Le 10/09/2021 à 00:10, Petr Menšík a écrit : Hello Daniel, dnsmasq --help dhcp6 does not list options 3 and 6. According to Iana list [1], those are OPTION_IA_NA and OPTION_ORO. It does not seem they are correct for IPv6. I can see there plenty of options, but did not find way to