Simple implementation of single-resolver-call without fallback
authorJulien Pivotto <roidelapluie@inuits.eu>
Fri, 28 May 2021 21:40:32 +0000 (23:40 +0200)
committerJulien Pivotto <roidelapluie@inuits.eu>
Fri, 28 May 2021 21:42:22 +0000 (23:42 +0200)
commite3b594c94c6660a1965f087d454e62aa0353c040
tree8d6d05ecb79e54f0e7316615fc0bd18b44e7aa4d
parent54cba1b2d11cebbbf126c6454a56d6b0a498c7dd
Simple implementation of single-resolver-call without fallback

This approach ensures that we only call a single time the resolver in
the dns probes.

Otherwise, if we got an error in the first call, we would do a second
call.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
prober/utils.go
prober/utils_test.go