summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/nsd-checkconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nsd/nsd-checkconf.c')
-rw-r--r--usr.sbin/nsd/nsd-checkconf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/nsd/nsd-checkconf.c b/usr.sbin/nsd/nsd-checkconf.c
index d940aadc133..ce088e6db7f 100644
--- a/usr.sbin/nsd/nsd-checkconf.c
+++ b/usr.sbin/nsd/nsd-checkconf.c
@@ -315,6 +315,8 @@ config_print_zone(nsd_options_t* opt, const char* k, int s, const char *o,
SERV_GET_BIN(do_ip6, o);
SERV_GET_BIN(hide_version, o);
SERV_GET_BIN(zonefiles_check, o);
+ SERV_GET_BIN(log_time_ascii, o);
+ SERV_GET_BIN(round_robin, o);
/* str */
SERV_GET_STR(database, o);
SERV_GET_STR(identity, o);
@@ -346,6 +348,7 @@ config_print_zone(nsd_options_t* opt, const char* k, int s, const char *o,
SERV_GET_INT(rrl_ipv6_prefix_length, o);
SERV_GET_INT(rrl_whitelist_ratelimit, o);
#endif
+ SERV_GET_INT(zonefiles_write, o);
/* remote control */
SERV_GET_BIN(control_enable, o);
SERV_GET_IP(control_interface, control_interface, o);
@@ -427,6 +430,8 @@ config_test_print_server(nsd_options_t* opt)
print_string_var("zonelistfile:", opt->zonelistfile);
print_string_var("xfrdir:", opt->xfrdir);
printf("\txfrd_reload_timeout: %d\n", opt->xfrd_reload_timeout);
+ printf("\tlog-time-ascii: %s\n", opt->log_time_ascii?"yes":"no");
+ printf("\tround-robin: %s\n", opt->round_robin?"yes":"no");
printf("\tverbosity: %d\n", opt->verbosity);
for(ip = opt->ip_addresses; ip; ip=ip->next)
{
@@ -441,6 +446,7 @@ config_test_print_server(nsd_options_t* opt)
printf("\trrl-whitelist-ratelimit: %d\n", (int)opt->rrl_whitelist_ratelimit);
#endif
printf("\tzonefiles-check: %s\n", opt->zonefiles_check?"yes":"no");
+ printf("\tzonefiles-write: %d\n", opt->zonefiles_write);
printf("\nremote-control:\n");
printf("\tcontrol-enable: %s\n", opt->control_enable?"yes":"no");