- Start migration of dns, network & vpn lib,
- Start migration of rx3_net_adm.
This commit is contained in:
1 parent
0c05cfd6c0
commit
6d2fd44dba
15 files changed
+132
-30
No files matched your search
Executable
+19
@@ -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
|
||||
Reference in new issue
Block a user