Skip to main content

Module StartupTime

Module StartupTime 

Source
Expand description

DNS server startup-time storage. The wall-clock instant the Hickory server bound its UDP socket is captured once and returned to the webview via dns_get_server_info.

Two siblings live here for cohesion: init_dns_startup_time (fire-and-forget setter called from the bind path) and private Get (read accessor used by dns_get_server_info).

Staticsยง

DNS_STARTUP_TIME ๐Ÿ”’

Functionsยง

Get ๐Ÿ”’
init_dns_startup_time
Records the moment the DNS server starts. Idempotent - the OnceCell swallows subsequent calls.