Skip to content

lilydjwg/dnssnoop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

What

This program tries to trace which process sends out what DNS queries.

Note that this is NOT accurate. Race conditions can happen and lead to wrong data.

Dependencies

Usage

Setup iptables:

sudo iptables -I OUTPUT -d 127.0.0.1 -p udp --dport 53 -j NFQUEUE --queue-num 2 --queue-bypass

Run it (Ctrl-C to stop):

sudo ./dnssnoop

Output fields:

TIME PID COMMAND_LINE DNS_QUESTION

About

show which process did what DNS queries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages