dnsspy

command module
v0.0.0-...-51b32ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 8 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL