Validate upstream reachability on first DNS configuration (#1489)

* Test upstream DNS for availability as soon as they are received from management

* Use root zone for DNS tests
This commit is contained in:
Viktor Liu
2024-01-23 17:23:12 +01:00
committed by GitHub
parent 5ac9f9fe2f
commit 88117f7d16
8 changed files with 119 additions and 23 deletions

View File

@@ -71,3 +71,5 @@ func buildRecordKey(name string, class, qType uint16) string {
key := fmt.Sprintf("%s_%d_%d", name, class, qType)
return key
}
func (d *localResolver) probeAvailability() {}