Quote from: Patrick M. Hausen on December 12, 2025, 10:22:53 AMIch verwende Kea und Unbound mit AGH und das funktioniert prima. Ich registriere allerdings keine dynamischen Leases im DNS - das hatte ich auch mit ISC nicht getan. Statische Leases funktionieren prima.
root@fwall:~ # cat dnscheck.sh
#!/usr/local/bin/bash
LOGFILE="/root/log/unbound_monitor.log"
TIMESTAMP=$(date "+%Y-%m-%d %H:%M:%S")
if ! pgrep -x "unbound" > /dev/null; then
echo "$TIMESTAMP: Unbound process not found, restarting..." >> $LOGFILE
/usr/local/sbin/configctl unbound restart
echo "$TIMESTAMP: Unbound restart command executed" >> $LOGFILE
fi
root@fwall:~ # cat /etc/cron.d/dnscheck
*/5 * * * * root /root/dnscheck.sh > /dev/null