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 | |
|---|---|
| DNSControl | System for maintaining DNS zones |
| q | Command line DNS client |
| octoDNS | Manage DNS across multiple providers |
| nsupdate.info | Implement a free dynamic DNS service |
| ExternalDNS | Automatically keep Kubernetes resources and their DNS records in sync |
| DNSViz | Visualise DNS and DNSSEC problems at a glance |
| dnsglobe | Check how DNS records propagate around the world |
| DNSDiag | Pinpoint DNS delays and troubleshoot lookup failures |
| DomainMOD | Manage domains and other internet assets in a central location |
| Poweradmin | Web-based DNS administration tool |
| dnsperf | Measure performance of authoritative domain name services |
| ctrld | Configurable DNS forwarding proxy |
| Atomia DNS | Multi-tenant system for handling large amounts of DNS data |
| SPFtoolbox | Look up DNS records |
| Flamethrower | Stress DNS servers with high-volume queries to test performance |
| DNS-collector | Collect, transform and route DNS traffic data for monitoring and analysis |
| Designate | Multi-tenant DNSaaS service for OpenStack |
| Zonemaster-CLI | Put DNS zones through extensive automated checks from a terminal |
| dnsi | Tool to investigate the DNS |
| Digger | Modern DNS lookup tool with a graphical interface |
| dnst | Toolset to assist DNS operators with zone and nameserver maintenance |
| dnspyre | Command-line DNS benchmark tool |
| dns-lexicon | Manage DNS records across providers through a consistent interface |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.