TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
3.86k stars 403 forks source link

Feature Request: Generating `dnstap` logs #667

Open zbalkan opened 1 year ago

zbalkan commented 1 year ago

Summary

Many DNS servers use text logging while it can be noisy and it does not include DNS responses in the logs. There are two ways to log both requests and responses: tcpdump parsing or dnstap usage. Instead of having all the pcaps, sFlow, or NetFlow data being redirected, it is easier to use dnstap for DNS specific logs and metrics.

About dnstap

dnstap uses a wire-protocol for high-performance. Adding a dnstap receiver on the Wazuh agent would allow high level log reading for DNS servers listed:

A schema for a dnstap enabled DNS server

image

Proposal

Implementing dnstap for Technitium DNS server for bot observability and security monitoring.

Requirements

ShreyasZare commented 1 year ago

Thanks for the details feature request. The dnstap feature has been on my to-do list from some time. Will plan it once a few other features that are already planned are implemented.