From f3d53630c302dffb9b429b2cbc0aa2c079116118 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 21 Oct 2019 11:06:21 +1100 Subject: [PATCH] add more dnstap/dnstap-output combinations --- .../system/dnstap/bad-missing-dnstap-output-view.conf | 3 +++ bin/tests/system/dnstap/good-dnstap-in-options.conf | 5 +++++ bin/tests/system/dnstap/good-dnstap-in-view.conf | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 bin/tests/system/dnstap/bad-missing-dnstap-output-view.conf create mode 100644 bin/tests/system/dnstap/good-dnstap-in-options.conf create mode 100644 bin/tests/system/dnstap/good-dnstap-in-view.conf 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 index 0000000000..4864fb0def --- /dev/null +++ b/bin/tests/system/dnstap/bad-missing-dnstap-output-view.conf @@ -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 index 0000000000..f7d55f7bf0 --- /dev/null +++ b/bin/tests/system/dnstap/good-dnstap-in-options.conf @@ -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 index 0000000000..61a446b2db --- /dev/null +++ b/bin/tests/system/dnstap/good-dnstap-in-view.conf @@ -0,0 +1,8 @@ +options { + dnstap-output unix "/var/run/named/dnstap.sock"; + dnstap-identity hostname; +}; + +view "view" { + dnstap { client response; }; +};