Test for DNS Latency with Go.
Simply run go run main.go
.
REPORT at 2021-12-21 16:51:50.266977 +0100 CET m=+30.001782751
REPORT: calls: '44'; timeouts (at 10s): '0'
REPORT: below 50ms: '41'; below 500ms: '3', below 1s: '0'; above 1s: '0'; above 5s: '0'
REPORT: latency min: '0s'; latency max: '56.397084ms'