fix(dns): retry configurable resolvers
Все проверки выполнены успешно
CI / test (push) Successful in 2m32s
Docker / Build and publish worker image (push) Successful in 20m9s
Все проверки выполнены успешно
CI / test (push) Successful in 2m32s
Docker / Build and publish worker image (push) Successful in 20m9s
Treat resolver transport failures as inconclusive checks so they do not open outage alerts.
Этот коммит содержится в:
@@ -73,7 +73,9 @@ func Perform(c *models.Check) *Result {
|
||||
go localQuery(nsChan, zone, dns.TypeNS)
|
||||
nsResult := <-nsChan
|
||||
if nsResult.r == nil {
|
||||
result.State = stateERR
|
||||
// All recursive resolvers were unreachable, so this worker could not
|
||||
// establish whether the domain is healthy. Do not open an outage event.
|
||||
result.State = "FAIL"
|
||||
result.Error = fmt.Errorf("cannot retrieve the list of name servers for %s: %s", zone, nsResult.err)
|
||||
return result
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user