Skip to content

Conversation

@jmwample
Copy link
Contributor

@jmwample jmwample commented Dec 17, 2025

Problem

In situations where the secure nameservers used to resolve internal domains fail we have the static fallback table to seed and ensure conncetivity. However, it requires that lookups using the default resolver fail first before the static table can be used. So if the nameservers are blocked or severly slowed then every use of the API will take a very long time, significantly slowing everything down.

ref #6178 - initial implemenation of the static fallback table

Solution

Add pre-resolve stage that returns addrs if we have used static table previously. This ensures that we don't continually suffer the penalty of a lookup timeout, while also allowing for the possibility of going back to the default internal secure resolver if one or more nameservers becomes usable again at a future time.


This change is Reviewable

@jmwample jmwample merged commit ae54e86 into develop Dec 17, 2025
20 of 27 checks passed
@jmwample jmwample deleted the jmwample/dns-static-preresolve branch December 17, 2025 16:06
jmwample added a commit that referenced this pull request Jan 7, 2026
jmwample added a commit that referenced this pull request Jan 7, 2026
jstuczyn pushed a commit that referenced this pull request Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants