]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Log protobuf messages for cache hits. Add policy tags in gettag() 4016/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 21 Jun 2016 15:01:43 +0000 (17:01 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 21 Jun 2016 15:01:43 +0000 (17:01 +0200)
commit02b47f439e8c9068ed9a381c365c27e80322113d
tree539a99d1f2b5602586a0a84cd22915d280960d29
parentd0b41a387db8e1ad1f7a431adfdc41c9ebdcf023
rec: Log protobuf messages for cache hits. Add policy tags in gettag()

gettag()` can now return an optional policy tags table in addition to
the existing `tag` integer.
Question and response protobuf messages are now sent even on cache hits.
When protobuf logging is enabled, the protobuf response message is
added to the cache and retrieved together with the response.
docs/markdown/recursor/scripting.md
pdns/lua-recursor4.cc
pdns/lua-recursor4.hh
pdns/pdns_recursor.cc
pdns/recpacketcache.cc
pdns/recpacketcache.hh