[Pdns-users] edns client subnet with netmask
Xek PL
pl-xek at yandex.ru
Thu Sep 8 08:45:23 UTC 2011
Hi Peter,
I've tested with revision 2258.
edns-client-subnet feature works with all netmaks for IPv4
Thanks!
Regards,
Paul
07.09.2011, 16:02, "Peter van Dijk" <peter.van.dijk at netherlabs.nl>:
> Hello Paul,
>
> On Sep 2, 2011, at 9:05 AM, Xek PL wrote:
>
>> ц┌б I'm testing edns-client-subnet feature (pdns-static-3.0-1.x86_64.rpm)
>>
>> ц┌б When request goes with netmask /32 ц┌б (e.g. 1.2.3.0/32)- it's OK.
>> ц┌б Pipe backend receive IP/32 in last field.
>> ц┌б RECV: Q example.com IN SOA -1 127.0.0.1 0.0.0.0 1.2.3.0/32
>>
>> ц┌б But when request has smaller netmask (1.2.3.0/24) , information about client subnet doesn't sent to pipe backend:
>> ц┌б RECV: Q example.com IN SOA -1 127.0.0.1 0.0.0.0 127.0.0.1/32
>
> This turned out to be a bug in our edns-subnet parser (and writer). It has been fixed in revision 2258.
>
> Thank you for your report!
>
> Kind regards,
> Peter van Dijk
> Netherlabs
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list