zone_status

Function zone_status 

Source
pub async fn zone_status(
    __arg0: State<AppState>,
    __arg1: Path<String>,
) -> Result<Json<ZoneStatusResponse>, ApiError>
Expand description

Get zone status

Returns the raw rndc zonestatus text plus a typed dnssec block parsed from rndc dnssec -status (ADR-0001): policy, signed flag, and per-key role, states and rollover timing. The block is omitted (never an error) when the signing state cannot be determined, so the endpoint stays cheap and robust to poll.