diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-09-28 12:46:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-09-30 14:23:30 +0200 |
commit | 72c2d39ecb2fcd4d6c78b65c56b7a9eab02a3048 (patch) | |
tree | 587446694d660b5d3a780a528976a383d4e07319 /src/resolve/resolved-dns-query.h | |
parent | 4d593fb151317f9054f308f4656cce63c1abbe52 (diff) | |
download | systemd-72c2d39ecb2fcd4d6c78b65c56b7a9eab02a3048.tar.gz |
resolved: beef up monitor protocol, include full query info
Diffstat (limited to 'src/resolve/resolved-dns-query.h')
-rw-r--r-- | src/resolve/resolved-dns-query.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-query.h b/src/resolve/resolved-dns-query.h index 43a833a08a..2723299bee 100644 --- a/src/resolve/resolved-dns-query.h +++ b/src/resolve/resolved-dns-query.h @@ -52,6 +52,11 @@ struct DnsQuery { * here, and use that instead. */ DnsPacket *question_bypass; + /* When we follow a CNAME redirect, we save the original question here, for informational/monitoring + * purposes. We'll keep adding to this whenever we go one step in the redirect, so that in the end + * this will contain the complete set of CNAME questions. */ + DnsQuestion *collected_questions; + uint64_t flags; int ifindex; |