routedns icon indicating copy to clipboard operation
routedns copied to clipboard

Router's `source` should also check ECS

Open Anuskuss opened this issue 9 months ago • 2 comments

If the client is behind a NAT, all request will look like they're coming from the same device. dnsmasq allows you to send that information via --add-subnet in the form of EDNS0 records but currently RouteDNS only consideres the source IP.

Anuskuss avatar Mar 24 '25 23:03 Anuskuss

You can use ecs-address with the ECS modifier?

cbuijs avatar Mar 25 '25 10:03 cbuijs

ecs-modifier is only for proxying queries. I need RouteDNS to parse the data and use it to make a decision in router.source.

Anuskuss avatar Mar 25 '25 15:03 Anuskuss

Fixed by #471.

Anuskuss avatar Dec 08 '25 20:12 Anuskuss