Integrations for SecondDNS — a secondary DNS service that keeps your zones in sync via AXFR zone transfers. This repository contains hosting panel plugins and monitoring templates that automate zone registration and health checks.
All integrations use the same pattern: catch the panel event, call the SecondDNS API, let AXFR do the rest.
| Panel | Mechanism | Tested on |
|---|---|---|
| cPanel/WHM | Standardized Hooks via manage_hooks (4 events) |
cPanel/WHM v82+ |
| CyberPanel | Django signals (postWebsiteCreation, postZoneCreation) |
CyberPanel 2.4.5 |
| DirectAdmin | Custom hooks (dns_create_post, dns_delete_post) |
DirectAdmin 1.699 |
| Plesk | Event Manager (12 events, incl. rename + aliases) | Plesk Obsidian 18.0.77.2 |
All installers accept --api-key=YOUR_API_KEY and are safe to run as root:
# cPanel/WHM
curl -sL https://raw.githubusercontent.com/seconddns/dns_integrations/main/hosting-panels/cpanel/install.sh \
| bash -s -- --api-key=YOUR_API_KEY
# CyberPanel
curl -sL https://raw.githubusercontent.com/seconddns/dns_integrations/main/hosting-panels/cyberpanel/install.sh \
| bash -s -- --api-key=YOUR_API_KEY
# DirectAdmin
curl -sL https://raw.githubusercontent.com/seconddns/dns_integrations/main/hosting-panels/directadmin/install.sh \
| bash -s -- --api-key=YOUR_API_KEY
# Plesk
curl -sL https://raw.githubusercontent.com/seconddns/dns_integrations/main/hosting-panels/plesk/install.sh \
| bash -s -- --api-key=YOUR_API_KEYSee the README in each directory for options, AXFR configuration, and troubleshooting.
| Tool | Type | What it checks |
|---|---|---|
| Nagios / Icinga | Check plugin (bash) | Zone sync status, stale zones, master reachability |
| Zabbix | HTTP Agent template | Zone counters, triggers, graphs — no agent required |
Both integrations use the SecondDNS API key. See the README in each directory for installation and configuration.
- SecondDNS account and API key — get one here
- TCP port 53 open from your server to the SecondDNS secondary nameserver IP
- BIND or PowerDNS configured with
allow-transferandalso-notifyfor the secondary IP
Dual-licensed:
- GPL-3.0 — free for open-source and personal use
- Commercial — available for commercial deployments; contact SecondDNS for details