]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add more dnstap/dnstap-output combinations
authorMark Andrews <marka@isc.org>
Mon, 21 Oct 2019 00:06:21 +0000 (11:06 +1100)
committerMark Andrews <marka@isc.org>
Mon, 21 Oct 2019 00:06:21 +0000 (11:06 +1100)
bin/tests/system/dnstap/bad-missing-dnstap-output-view.conf [new file with mode: 0644]
bin/tests/system/dnstap/good-dnstap-in-options.conf [new file with mode: 0644]
bin/tests/system/dnstap/good-dnstap-in-view.conf [new file with mode: 0644]

diff --git a/bin/tests/system/dnstap/bad-missing-dnstap-output-view.conf b/bin/tests/system/dnstap/bad-missing-dnstap-output-view.conf
new file mode 100644 (file)
index 0000000..4864fb0
--- /dev/null
@@ -0,0 +1,3 @@
+view "view" {
+       dnstap { client; auth; };
+};
diff --git a/bin/tests/system/dnstap/good-dnstap-in-options.conf b/bin/tests/system/dnstap/good-dnstap-in-options.conf
new file mode 100644 (file)
index 0000000..f7d55f7
--- /dev/null
@@ -0,0 +1,5 @@
+options {
+       dnstap-output           unix "/var/run/named/dnstap.sock";
+       dnstap-identity         hostname;
+       dnstap                  { client response; };
+};
diff --git a/bin/tests/system/dnstap/good-dnstap-in-view.conf b/bin/tests/system/dnstap/good-dnstap-in-view.conf
new file mode 100644 (file)
index 0000000..61a446b
--- /dev/null
@@ -0,0 +1,8 @@
+options {
+       dnstap-output           unix "/var/run/named/dnstap.sock";
+       dnstap-identity         hostname;
+};
+
+view "view" {
+       dnstap                  { client response; };
+};