- Start migration of dns, network & vpn lib,

- Start migration of rx3_net_adm.
This commit is contained in:
AlkorZ3 committed 2026-04-13 16:35:39 +02:00
1 parent 0c05cfd6c0
commit 6d2fd44dba
15 files changed
+132 -30

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
host=$1
zone=$2
ip=$3
ttl=$4
date="$(date --rfc-3339 seconds)"
(
echo "prereq yxrrset ${host}.${zone}. A"
echo "update delete ${host}.${zone}. A"
echo "update add ${host}.${zone}. ${ttl} A ${ip}"
echo "update delete ${host}.${zone}. TXT"
echo "update add ${host}.${zone}. ${ttl} TXT ${date}"
echo ""
) | nsupdate