← 返回
未分类 Key 中文

Technitium DNS

Monitor and inspect Technitium DNS Server via its HTTP API. Use for read-only health checks, DNS stats, zones, DHCP leases, token/session validation, and pro...
通过 HTTP API 监控和检查 Technitium DNS服务器。仅用于只读健康检查、DNS 统计、区域、DHCP 租约、令牌/会话验证及专业功能...
naamah75 naamah75 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 1
Stars
📥 282
下载
💾 0
安装
1
版本
#dns#homelab#latest#monitoring#technitium

概述

Technitium DNS

Use this skill to perform read-only checks against a Technitium DNS Server instance.

Configuration

Set these environment variables before running scripts:

export TECHNITIUM_URL="http://dns-server.example:5380"
export TECHNITIUM_TOKEN="..."

Technitium v15+ accepts API/session tokens with:

Authorization: Bearer <token>

Prefer a dedicated limited/read-only user and a non-expiring API token for monitoring.

Health Check

Run the bundled helper:

python3 scripts/technitium_health_check.py

Or from another working directory:

TECHNITIUM_URL="http://dns-server.example:5380" \
TECHNITIUM_TOKEN="..." \
python3 /path/to/technitium-dns/scripts/technitium_health_check.py

The script prints JSON:

{
  "ok": true,
  "checked": [],
  "failures": []
}

Exit codes:

  • 0: no critical failures
  • 1: one or more monitored checks detected a critical condition
  • 2: configuration or core API/session check failed

What It Checks

Read-only endpoints:

  • /api/user/session/get — token/session validity and server info
  • /api/settings/get — version, uptime timestamp, DNS settings availability
  • /api/dashboard/stats/get?type=LastHour&utc=true — DNS stats
  • /api/zones/list — disabled, expired, or sync-failed zones
  • /api/dhcp/leases/list — DHCP lease visibility, if permitted/used

Alerts/failures are intended for:

  • API/server unreachable
  • invalid/expired token
  • zone disabled, isExpired, or syncFailed
  • abnormal SERVFAIL/refused/dropped error rate

DHCP permission failure is reported as a warning in checked because many deployments do not use Technitium DHCP or restrict DHCP permissions.

Proactive Use

For heartbeat/proactive monitoring:

  1. Run the health check only when due; avoid checking every wake.
  2. If JSON ok is true, stay silent.
  3. If ok is false, summarize only actionable failures.
  4. Do not modify settings, zones, DHCP, cache, or logs without explicit user confirmation.

API Docs

Technitium DNS Server API docs:

https://github.com/TechnitiumSoftware/DnsServer/blob/master/APIDOCS.md

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-08 02:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,957
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 472 📥 78,773
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,043