~synfinner/GoDNSchk

Golang program to grab DNS records for recon
Add go.mod
Add comments to import section
Removed domain file

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~synfinner/GoDNSchk
read/write
git@git.sr.ht:~synfinner/GoDNSchk

You can also use your local clone with git send-email.

GoDNSchk

This is a simple golang program to pull DNS information for some basic recon.

Current Record Pulls:

  • A

The script is meant for reading hosts from a file and then resolving them!

While being bored, I timed some lookups. Running against 3,782 domains, it took ~32 seconds to complete. YMMV

Take 2 of me being bored... resolving 1 million domains took only 50 minutes.

Example output:

synbook-pro :: Go/GoDNSchks ยป go run godnschk.go test.txt
A Records for ahaa.dk :
---------------------
185.10.10.80
2001:67c:3c0:12::53
---------------------
[+]Error:  lookup 1internetdrive.com: no such host

A Records for about.com :
---------------------
151.101.194.137
151.101.2.137
151.101.66.137
151.101.130.137
2a04:4e42:600::645
2a04:4e42::649
2a04:4e42:200::645
2a04:4e42:400::645
---------------------

A Records for amrer.net :
---------------------
50.22.218.215
---------------------

Of course, you'll probably want to compile ;) go build


Misc. Comments

Please keep in mind that this project is EXTREMELY alpha-stage. The code could probably be better, channels are probably broken in some way, etc...

I'm still learning and trying to improve, get off my back.