DNS-collector – DNS telemetry collection and processing tool

DNS-collector is a command-line DNS telemetry collector designed to sit between DNS infrastructure and monitoring, analytics or security systems. It captures DNS queries and responses, processes the resulting events through configurable pipelines, and forwards structured data to downstream systems without requiring every DNS server to implement its own integration.

The program is aimed at operators who need visibility into DNS activity across anything from small installations to large infrastructures. Its pipeline model separates collection, processing, routing and output, allowing a single collector to bridge DNS servers with several destinations while keeping the data path centrally configured.

This is free and open source software.

Key Features

  • Collects DNS traffic from servers such as BIND, PowerDNS and Unbound through DNStap streams or live packet capture.
  • Filters and normalizes records before forwarding them, helping reduce noise from health checks, probes or other unwanted traffic.
  • Can anonymize client addresses and enrich events with GeoIP, autonomous system information, threat intelligence, metadata and custom tags.
  • Routes events to destinations including ClickHouse, Kafka, Loki, Elasticsearch, syslog and Prometheus.
  • Supports output formats including text, JSON and PCAP, together with templated output for customized records.
  • Provides batching and configurable routing policies for building multi-stage processing pipelines.
  • Offers operational telemetry through a REST interface and Prometheus-compatible metrics.
  • Extends DNStap deployments with facilities such as encrypted transport, compression and additional metadata.
  • Understands DNS-specific fields such as EDNS data and query types, and can track request latency before export.

Website: github.com/dmachard/DNS-collector
Support:
Developer: Denis Machard
License: MIT License

DNS-collector is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Useful DNS Tools
DNSControlSystem for maintaining DNS zones
qCommand line DNS client
octoDNSManage DNS across multiple providers
nsupdate.infoImplement a free dynamic DNS service
DomainMODManage domains and other internet assets in a central location
PoweradminWeb-based DNS administration tool
dnsperfMeasure performance of authoritative domain name services
ctrldConfigurable DNS forwarding proxy
Atomia DNSMulti-tenant system for handling large amounts of DNS data
SPFtoolboxLook up DNS records
DesignateMulti-tenant DNSaaS service for OpenStack
dnsiTool to investigate the DNS
DiggerModern DNS lookup tool with a graphical interface
dnstToolset to assist DNS operators with zone and nameserver maintenance
dnspyreCommand-line DNS benchmark tool

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted