mirror of
https://github.com/coredns/coredns.git
synced 2025-12-14 22:35:10 -05:00
dnstap tls support (#5917)
Signed-off-by: dmachard <5562930+dmachard@users.noreply.github.com>
This commit is contained in:
@@ -44,6 +44,7 @@ func TestConfig(t *testing.T) {
|
||||
{"dnstap.sock", true, "unix", []byte("NAME"), []byte("VER")},
|
||||
{"127.0.0.1:6000", false, "tcp", []byte("NAME2"), []byte("VER2")},
|
||||
}},
|
||||
{"dnstap tls://127.0.0.1:6000", false, []results{{"127.0.0.1:6000", false, "tls", []byte(hostname), []byte("-")}}},
|
||||
}
|
||||
for i, tc := range tests {
|
||||
c := caddy.NewTestController("dns", tc.in)
|
||||
|
||||
Reference in New Issue
Block a user