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 proactive alerts about DNS/DHCP issues.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- technitium-dns
- license
- MIT
- homepage
- https://github.com/TechnitiumSoftware/DnsServer
- metadata
- { "openclaw": { "requires": { "env": [ "TECHNITIUM_URL", "TECHNITIUM_TOKEN" ], "bins": [ "python3" ] } } }
- description
- 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 proactive alerts about DNS/DHCP issues.
03 SKILL.md 正文
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 failures1: one or more monitored checks detected a critical condition2: 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, orsyncFailed - 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:
- Run the health check only when due; avoid checking every wake.
- If JSON
okis true, stay silent. - If
okis false, summarize only actionable failures. - 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
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.