aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/unbound/unbound_status.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php
index 20d9f983..9b7be071 100644
--- a/config/unbound/unbound_status.php
+++ b/config/unbound/unbound_status.php
@@ -140,13 +140,14 @@ function execCmds() {
<tr>
<td class="tabcont" width="100%">
<?php
+ $entries = trim(system("/usr/local/sbin/unbound-control dump_cache | wc -l"));
defCmdT("Unbound status", "unbound-control status", "6");
defCmdT("Unbound stats", "unbound-control stats_noreset");
defCmdT("Unbound stubs", "unbound-control list_stubs", "8");
defCmdT("Unbound forwards", "unbound-control list_forwards");
defCmdT("Unbound local zones", "unbound-control list_local_zones");
defCmdT("Unbound local data", "unbound-control list_local_data");
- defCmdT("Unbound cache", "unbound-control dump_cache", "60");
+ defCmdT("Unbound cache ($entries entries)", "unbound-control dump_cache", "60");
defCmdT("Unbound configuration", "/bin/cat /usr/local/etc/unbound/unbound.conf", "60");
listCmds();
execCmds();