diff --git a/CHANGES b/CHANGES index a58674d956..febce4882d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4268. [func] "rndc status" now reports the path to the + configuration file. [RT #36470] + 4267. [test] Check sdlz error handling. [RT #41142] 4266. [placeholder] diff --git a/bin/named/server.c b/bin/named/server.c index 06559ec1e9..3938141851 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -8939,6 +8939,9 @@ ns_server_status(ns_server_t *server, isc_buffer_t **text) { snprintf(line, sizeof(line), "last configured: %s\n", configtime); CHECK(putstr(text, line)); + snprintf(line, sizeof(line), "configuration file: %s\n", ns_g_conffile); + CHECK(putstr(text, line)); + #ifdef ISC_PLATFORM_USETHREADS snprintf(line, sizeof(line), "CPUs found: %u\n", ns_g_cpus_detected); CHECK(putstr(text, line));