Skip to main content

Module DnsCommands

Module DnsCommands 

Source
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§

DnsHealthStatus
Overall health status of the DNS server.
DnsResolutionResult
Result of a DNS resolution.
DnsServerInfo
Basic DNS server information.
ForwardAllowList
Forward allowlist for external domains.
ZoneInfo
Information about a DNS zone.
ZoneRecord
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.