Subject: | rndc status show config file name |
Okay if rndc status shows the path name of the configuration file?
diff --git a/bin/named/server.c b/bin/named/server.c
index a0e774f..80d217e 100644
--- a/bin/named/server.c
+++ b/bin/named/server.c
@@ -8262,6 +8262,7 @@ ns_server_status(ns_server_t *server, isc_buffer_t
*text) {
"version: %s%s%s%s <id:%s>\n"
"boot time: %s\n"
"last configured: %s\n"
+ "configuration file: %s\n"
#ifdef ISC_PLATFORM_USETHREADS
"CPUs found: %u\n"
"worker threads: %u\n"
@@ -8278,6 +8279,7 @@ ns_server_status(ns_server_t *server, isc_buffer_t
*text) {
"server is up and running",
ns_g_version, ob, alt, cb, ns_g_srcid,
boottime, configtime,
+ ns_g_conffile,
#ifdef ISC_PLATFORM_USETHREADS
ns_g_cpus_detected, ns_g_cpus, ns_g_udpdisp,
#endif