Expand description
§DNS Commands Module
This module provides Tauri commands to expose DNS server information to the webview and other components. It allows querying DNS server state, zone information, forward allowlist, health status, and performing DNS resolution tests.
Structs§
- DnsHealth
Status - Overall health status of the DNS server.
- DnsResolution
Result - Result of a DNS resolution.
- DnsServer
Info - Basic DNS server information.
- Forward
Allow List - Forward allowlist for external domains.
- Zone
Info - Information about a DNS zone.
- Zone
Record - A single DNS zone record.
Statics§
- DNS_
STARTUP_ 🔒TIME - DNS server startup timestamp.
Functions§
- dns_
get_ forward_ allowlist - Gets the forward allowlist for external domains.
- dns_
get_ health_ status - Gets overall health status of the DNS server.
- dns_
get_ server_ info - Gets basic DNS server information.
- dns_
get_ zone_ info - Gets information about the editor.land DNS zone.
- dns_
health_ check - Performs a quick DNS health check.
- dns_
resolve - Resolves a domain name through the DNS server.
- dns_
test_ resolution - Tests if a domain resolves correctly.
- get_
dns_ 🔒startup_ time - Gets the DNS startup time.
- init_
dns_ startup_ time - Initializes the DNS startup time.