Replies: 2 comments 1 reply
-
No, recursor cannot do that, but authoritative servers can use EDNS Client Subnet to vary their responses based on client network info. You need to setup that in your auth(s) and also have to configure the recursor to pass ECS info to these auths. The recursor caches will take the ECS info into account when constructing answers from the cache. Alternatively, you might wan to look into dnsdist, which can route queries based on many client or request properties. |
Beta Was this translation helpful? Give feedback.
-
You can use dnsdist instead recursor with using EDNS client subnet or Proxy. Then you need enable LUA records and ECS working on pdns authority and finally create RR with LUA type and view functions |
Beta Was this translation helpful? Give feedback.
-
1,Can recursor find different authoritative servers based on the source IP or network segment to obtain different resolution information?
Beta Was this translation helpful? Give feedback.
All reactions