- Add that log-servfail prints an IP address and more information

about one of the last failures for that query.
This commit is contained in:
W.C.A. Wijngaards
2021-04-29 10:24:35 +02:00
parent 45328d37b1
commit ecb8aed2f2
5 changed files with 81 additions and 1 deletions
+1
View File
@@ -279,6 +279,7 @@ setup_config(FILE* in, int* lineno, int* pass_argc, char* pass_argv[])
fprintf(cfg, " username: \"\"\n");
fprintf(cfg, " pidfile: \"\"\n");
fprintf(cfg, " val-log-level: 2\n");
fprintf(cfg, " log-servfail: yes\n");
fprintf(cfg, "remote-control: control-enable: no\n");
while(fgets(line, MAX_LINE_LEN-1, in)) {
parse = line;