Skip to content

fix DNS checks: fast during startup, throttle after first connection#1131

Open
ArneBab wants to merge 1 commit intohyphanet:nextfrom
ArneBab:reduced-dns-throttling-while-unconnected
Open

fix DNS checks: fast during startup, throttle after first connection#1131
ArneBab wants to merge 1 commit intohyphanet:nextfrom
ArneBab:reduced-dns-throttling-while-unconnected

Conversation

@ArneBab
Copy link
Copy Markdown
Contributor

@ArneBab ArneBab commented Apr 6, 2026

DNS requests are throttled to reduce visibility of requests on DNS servers.

The throttling caused seednode checks to be delayed by 30s per seed, slowing down initial connection.

The fix reduces the throttling while the node is unconnected and increases the throttling once at least one node is connected.

@ArneBab ArneBab changed the title fix DNS: fast checks during startup, throttle after first connection fix DNS checks: fast during startup, throttle after first connection Apr 6, 2026
DNS requests are throttled to reduce visibility of requests on DNS
servers.

The throttling caused seednode checks to be delayed by 30s per seed,
slowing down initial connection.

The fix reduces the throttling while the node is unconnected and
increases the throttling once at least one node is connected.
@ArneBab ArneBab force-pushed the reduced-dns-throttling-while-unconnected branch from ae918df to 75796db Compare April 6, 2026 21:24
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.

1 participant