Skip to content

remind101/dnsdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNSDog

DNSDog is a small utility for generating metrics for DNS queries and replies and sending them to statsd. It's functionally similar to the DNS plugin for collectd but optimized for datadog.

Installation

Grab the latest release from here.

Usage

Start watching for DNS packets on eth0 and send them to statsd:

$ dnsdog -iface eth0 -statsd "127.0.0.1:8125"

Metrics

DNSDog generates the following metrics and tags:

dns.query{op_code}
dns.question{op_code,query,query_type}
dns.reply{response_code}
dns.reply.question{response_code,query,query_type}
dns.answer{response_code,query,query_type}
dns.reply.time{response_code}