[Pdns-users] edns client subnet with netmask
pl-xek at yandex.ru
Thu Sep 8 08:45:23 UTC 2011
I've tested with revision 2258.
edns-client-subnet feature works with all netmaks for IPv4
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. 22.214.171.124/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 126.96.36.199/32
>> ц┌б But when request has smaller netmask (188.8.131.52/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
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
More information about the Pdns-users