fixed TTL

This commit is contained in:
Llewellyn van der Merwe 2017-08-01 16:50:31 +01:00
parent 2a7ab4bbe7
commit 63e5c010cb
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
1 changed files with 1 additions and 1 deletions

View File

@ -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"