Skip to content
프로젝트

소개

DNS 로그를 수집하고 이상을 감지해 네트워크에서 무슨 일이 일어나는지 파악하세요. DNS 서버와 데이터 스택 사이의 빠져 있던 연결 고리입니다.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

DNS-collector

release docker Go version Go tests Go coverage Go bench

What is DNS-collector?

DNS-collector is a lightweight tool that captures DNS queries and responses from your DNS servers, processes them intelligently, and sends clean data to your monitoring, analytics and security systems.

What it does:

  • Captures at scale: Ingests streams from BIND, PowerDNS, Unbound, etc., via high-speed DNStap protocol or live wire packet capture.
  • Filters & normalizes: Discards noise (health checks, internal probes, spam) at wire speed before reaching storage.
  • Enriches on-the-fly: Decorates records with GeoIP, ASN, threat intelligence, metadata, and custom tags.
  • Streams everywhere: Dispatches batched events to ClickHouse, Kafka, Loki, Elasticsearch, Syslog, Prometheus, and more.

Why DNS-collector?

The missing high-performance data collector between DNS servers and your SIEM/observability/analytics stack.

  • From Homelabs to Enterprises: High-performance DNS telemetry pipeline with a lightweight footprint for any scale of DNS infrastructure (BIND, PowerDNS, Unbound, etc.)
  • DNS-Native & Edge Processing: Understands EDNS, query types, latency tracking, and anonymizes user IPs before storage.
  • Flexible outputs: Files, syslog, databases, monitoring tools and more...
  • Production ready: Used in real networks, tested with major DNS servers
  • Enhanced DNStap: TLS encryption, compression, and more metadata capabilities

🚀 Quick Start

Download the latest release and create a simple config.yml pipeline:

pipelines:
  - name: tap
    dnstap:
      listen-ip: 0.0.0.0
      listen-port: 6000
    transforms:
      normalize:
        qname-lowercase: true
    routing-policy:
      forward: [ console ]
  - name: console
    stdout:
      mode: text

Default setup listens on tcp/6000 for DNStap streams and outputs to stdout.

Run the collector:

./dnscollector -config config.yml

run

📚 Documentation

Topic Description
📝 Formats Supported output formats (text, JSON, PCAP, Jinja2, etc.)
🔧 Configuration Complete config reference
📥 Collectors Input sources (network packet sniffer, DNStap server, etc.)
📤 Loggers Output destinations (Kafka, Prometheus, syslog, Loki, etc.)
🔄 Transformers Data enrichment options
🐳 Docker Container deployment
🔍 Examples Ready-to-use configs
🔗 Sources & Sinks Integration with popular tools and DNS servers
⭐ Enhanced DNStap Enhanced DNSTap features
📊 Telemetry REST API and Prometheus metrics
⚡ Performance Tuning Performance tuning guide

👥 Contributions

Contributions are welcome! Check out:

🧰 Related Projects:

관련 프로젝트 살펴보기

불러오는 중…