fix(dns): retry configurable resolvers
Все проверки выполнены успешно
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.
Этот коммит содержится в:
Gleb Tv
2026-07-16 19:30:02 +03:00
родитель fd1a010e31
Коммит 579a14b403
6 изменённых файлов: 82 добавлений и 41 удалений

Просмотреть файл

@@ -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
}