SkillAgentSearch skills...

DnsTrace

Monitor DNS queries by host processes using eBPF!

Install / Use

/learn @furkanonder/DnsTrace
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <h2>DnsTrace</h2> <h3> Monitor DNS queries by host processes using eBPF!</h3> <a href="https://github.com/furkanonder/dnstrace/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/furkanonder/dnstrace"></a> <a href="https://github.com/furkanonder/dnstrace/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/furkanonder/dnstrace"></a> <a href="https://github.com/furkanonder/dnstrace/blob/main/LICENSE"><img alt="GitHub license" src="https://img.shields.io/github/license/furkanonder/dnstrace"></a> <a href="https://pepy.tech/project/dnstrace"><img alt="Downloads" src="https://pepy.tech/badge/dnstrace"></a> </div>

Demo

Quick Start

Prerequisites

DnsTrace requires BCC (BPF Compiler Collection) to be installed on your system. Follow the BCC installation guide for your Linux distribution.

Installation

Install DnsTrace using pipx:

pipx install dnstrace

Usage

Run DnsTrace with root privileges:

sudo dnstrace

Command Line Options

sudo dnstrace [OPTIONS]

Options:
  -t, --tail     Stream live DNS queries (tail mode)
  -d, --domain   Show DNS query domains
  -h, --help     Show help message

Examples

Basic monitoring:

sudo dnstrace

Stream live queries:

sudo dnstrace --tail

Show domains with live-streaming:

sudo dnstrace --tail --domain

📊 Display Modes

Table Mode (Default)

  • Real-time statistics dashboard
  • Query type distribution charts
  • Process attribution and interface details
  • Responsive column layout

Tail Mode (--tail)

  • Live-streaming of DNS queries
  • Optional domain display with --domain flag
View on GitHub
GitHub Stars178
CategoryDevelopment
Updated16d ago
Forks10

Languages

Python

Security Score

100/100

Audited on Mar 20, 2026

No findings