Namebench replacement?

Tomb01

macrumors 6502
Original poster
Jan 6, 2009
360
19
Colleyville, TX
there was a utility that analyzed dns performance called namebench. Sadly it is only 32 bit, so does not work on Catalina. Is anyone aware of something that replaces it? thanks in advance.
 

HDFan

macrumors 68000
Jun 30, 2007
1,893
450
NAMEinator DNS Benchmark tool (namebench successor) https://github.com/mwiora/NAMEinator
Works from Terminal in Catalina.

Couldn't get it work.

Instructions say:

go get github.com/miekg/dns
cd ~/go/src/github.com/mwiora/NAMEinator/

After running the get command mwiora/NAMEinator directory doesn't exist. miekg/dns does.

go build works there, but no executable called NAMEinator is created.
 

bogdanw

macrumors 6502a
Mar 10, 2009
546
299
The steps are:
1. install Go (macOS package installer from https://golang.org/doc/install)
2. go get github.com/mwiora/NAMEinator
3. go get github.com/miekg/dns
4. cd ~/go/src/github.com/mwiora/NAMEinator/
5. go build
6. ./NAMEinator
The folder structure
go.jpg

Results
NAMEinator.jpg
 
  • Like
Reactions: HDFan

bogdanw

macrumors 6502a
Mar 10, 2009
546
299
That worked. Thanks!
If you got it working, here is an AppleScript that can be saved as an app to run NAMEinator without opening Terminal:
Code:
display dialog "Running NAMEinator, please wait" giving up after 5
set DNSResults to do shell script "cd ~/go/src/github.com/mwiora/NAMEinator/; ./NAMEinator"
display dialog DNSResults buttons {"Close"} default button 1
The first dialog window closes after 5 seconds, the execution continues in the background and then it displays results like this:
NAMEinatorApp.jpg
 

HDFan

macrumors 68000
Jun 30, 2007
1,893
450