Chaining in recursor #17470
|
I am trying to understand the concept of "chaining" in pdns recursor. I cannot find much about it in the docs. What does it mean exactly? How does it work? I can find some references here https://doc.powerdns.com/recursor/yamlsettings.html#recursor-max-chain-length and in stats here https://doc.powerdns.com/recursor/metrics.html#gathered-information but that's not much! (I cannot help with the docs, yet, as I don't understand it that much so far) |
Replies: 1 comment 2 replies
|
Hi Karel, When an incoming query received from a client triggers an outgoing query to an authoritative server, the recursor checks if the same outgoing query isn't already pending, triggered by a different incoming query, to prevent duplicating outgoing queries and improve performance. If there is indeed one, the new query is "chained" to the existing one and the incoming response from the authoritative server will be used for all "chained" queries. |
Hi Karel,
When an incoming query received from a client triggers an outgoing query to an authoritative server, the recursor checks if the same outgoing query isn't already pending, triggered by a different incoming query, to prevent duplicating outgoing queries and improve performance. If there is indeed one, the new query is "chained" to the existing one and the incoming response from the authoritative server will be used for all "chained" queries.