feat: add direct DNS updates to Go agent

This commit is contained in:
benya
2026-07-21 04:03:49 +03:00
parent c31e52a90c
commit 6e9b5a99c2
20 changed files with 442 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=rmm-agent-go
PKG_VERSION:=0.5.2
PKG_VERSION:=0.6.0
PKG_RELEASE:=1
PKG_MAINTAINER:=RMM OpenWrt

View File

@@ -2,6 +2,10 @@ SERVER_URL="https://rmm.example.com"
ENROLLMENT_TOKEN=""
INTERVAL_SECONDS="30"
CHECK_TARGETS="1.1.1.1 8.8.8.8"
DIRECT_DNS_ENABLED="false"
DNS_UPDATE_INTERVAL_SECONDS="300"
PUBLIC_IPV4_URL="https://api.ipify.org"
PUBLIC_IPV6_URL="https://api6.ipify.org"
TUNNEL_IDENTITY_FILE="/etc/rmm-agent/tunnel_key"
LOCK_FILE="/tmp/rmm-agent-go.lock"
SPOOL_DIR="/tmp/rmm-agent-go-results"