Skip to content
/ dnsspy Public
forked from plar/dnsspy

Simple DNS traffic spy in Go

License

Notifications You must be signed in to change notification settings

ubogdan/dnsspy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple DNS traffic spy in Go

Go version of DNSPeep.

You can read more about dnspeep and Rust in Julia Evans blog post.

Rust version src.

Requirements

$ sudo apt install libpcap-dev

Build

$ go build main.go

Run

$ sudo ./main
interface=lo, bpf filter=udp and port 53
----------------------------------------------------------------
Type  Query                            SrcIP            Response
----- -------------------------------- ---------------- --------
A     vortex.data.microsoft.com        127.0.0.53       CNAME asimov.vortex.data.trafficmanager.net
                                                        64.4.54.254
AAAA  vortex.data.microsoft.com        127.0.0.53       CNAME asimov.vortex.data.trafficmanager.net
                                                        CNAME global.vortex.data.trafficmanager.net
A     d.dropbox.com                    127.0.0.53       CNAME d.v.dropbox.com
                                                        CNAME d-edge.v.dropbox.com
                                                        162.125.6.20

About

Simple DNS traffic spy in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%