From 63e5c010cb2e6b41939f4cd804879c06a2b657a5 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Tue, 1 Aug 2017 16:50:31 +0100 Subject: [PATCH] fixed TTL --- getip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getip.sh b/getip.sh index cce2721..409e423 100755 --- a/getip.sh +++ b/getip.sh @@ -242,7 +242,7 @@ function setDNS () { echo "started" # add new a record to tmp file echoTweak "${row[1]}" 16 '\040' >> "/tmp/vdm_$tmpFile" - echoTweak "1" 8 '\040' >> "/tmp/$tmpFile" + echoTweak "1" 8 '\040' >> "/tmp/vdm_$tmpFile" echo "IN A ${row[2]}" >> "/tmp/vdm_$tmpFile" # add new a record to zone file mv "/tmp/vdm_$tmpFile" "$FILEPATH"