Add dnstap-output support for tcp
Description
goals:Add dnstap-output support for tcp
Request
Now the output of dnstap only supports file and unix domain socket to generate logs. I expect to output logs in the form of tcp, so that the log server can be on other hosts. Reduce the overhead of the dns server itself.
The reason for such a requirement is that in the production environment, even if the dns server itself generates logs, they will still be output to other places for analysis and detection through tcp/udp. It is better to output directly to other hosts.
Links / references
Like coredns, it supports tcp output log.
dnstap /tmp/dnstap.sock
dnstap unix:///tmp/dnstap.sock full
dnstap tcp://127.0.0.1:6000 full
dnstap tcp://example.com:6000 full