In my recursor I add EDNS client subnet information so that my auth
servers can process it in LUA records. My personal network has both
IPv4 (192.168.0.0/16) and IPv6 (fd80:ae6b:5f43::/48) subnets.

Until this morning, I had this setting in recursor.conf:

ecs-add-for=0.0.0.0/0, ::

The intention was to add EDNS client subnet information to all
queries. However, only queries which arrived on IPv4 got the correct
subnet added; queries which arrived on IPv6 got the default '127.0.0'
added.

I changed the configuration line to:

ecs-add-for=192.168.0.0/16, fd80:ae6b:5f43::/48

Now queries from both source subnets get the proper subnet added on
the way out, and the LUA record processing works as it should.

Unless I've misunderstood something, this appears to be a bug, as "::"
should have matched any incoming IPv6 address.
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to