get_dns_stats: Expose total cache size and cached text entries

It wasn't possible from script land to determine the total size
of the cache table held by the DNS_Mgr. Add the total and also
also the TEXT entries count.
This commit is contained in:
Arne Welzel 2023-03-03 10:48:50 +01:00
parent 16bdcd27bd
commit 2251c67e56
6 changed files with 16 additions and 0 deletions

View file

@ -209,6 +209,7 @@ public:
unsigned long cached_hosts;
unsigned long cached_addresses;
unsigned long cached_texts;
unsigned long cached_total;
};
/**