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 at the v2.85 code, dnsmasq will have added
>> fe80::/8
> for you in version v2.85 without any warnings.
> 
> I submitted patches for supporting arbitrary prefix lengths (IPv4
> is even more restrictive (only /8, /16, /24 and /32 are allowed)
> last year. I already rebased my patches on the current master and
> will submit them in the next few days. This means support for /10
> might come in the next release (if the patches are accepted).
> 


For IPv6, this seems like an obviously good thing to do, since one
--rev-server can create as most eight .....ip6.arpa, but for IPv4, that
goes up to 128 since for instance 192.168.1.0/25 expands to

0.1.168.192.in-addr.arpa
1.1.168.192.in-addr.arpa
.
.
127.1.168.192.in-addr.arpa


I guess that now we have efficient searches over domains, that's more
likely to be OK, but it needs some consideration.


Cheers,

Simon.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to