更新版本到2.0

This commit is contained in:
Alex Yang
2026-01-25 16:13:52 +08:00
parent ecbc20d89f
commit a5dc5841fb
54 changed files with 76520 additions and 2914 deletions

24
dns-server.service Normal file
View File

@@ -0,0 +1,24 @@
[Unit]
Description=Monitor Agent (Binary Service)
After=network.target
Wants=network.target
[Service]
Type=forking
User=root
Group=root
ExecStart=/root/dns/start.sh start
ExecStop=/root/dns/start.sh stop
WorkingDirectory=/root/dns
Restart=always
RestartSec=3
StartLimitInterval=60s
StartLimitBurst=5
KillSignal=SIGTERM
TimeoutStopSec=10
PrivateTmp=true
ProtectSystem=strict
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target