mirror of
https://github.com/namibia/demo-sync.git
synced 2024-11-21 19:15:10 +00:00
fixed TTL
This commit is contained in:
parent
2a7ab4bbe7
commit
63e5c010cb
2
getip.sh
2
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"
|
||||
|
Loading…
Reference in New Issue
Block a user