File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ dns_nanelo_add() {
2525 _saveaccountconf_mutable NANELO_TOKEN " $NANELO_TOKEN "
2626
2727 _info " Adding TXT record to ${fulldomain} "
28- response=" $( _get " $NANELO_API$NANELO_TOKEN /dns/addrecord?type=TXT&name=${fulldomain} &value=${txtvalue} " ) "
28+ response=" $( _get " $NANELO_API$NANELO_TOKEN /dns/addrecord?type=TXT&ttl=60& name=${fulldomain} &value=${txtvalue} " ) "
2929 if _contains " ${response} " ' success' ; then
3030 return 0
3131 fi
@@ -49,7 +49,7 @@ dns_nanelo_rm() {
4949 _saveaccountconf_mutable NANELO_TOKEN " $NANELO_TOKEN "
5050
5151 _info " Deleting resource record $fulldomain "
52- response=" $( _get " $NANELO_API$NANELO_TOKEN /dns/deleterecord?type=TXT&name=${fulldomain} &value=${txtvalue} " ) "
52+ response=" $( _get " $NANELO_API$NANELO_TOKEN /dns/deleterecord?type=TXT&ttl=60& name=${fulldomain} &value=${txtvalue} " ) "
5353 if _contains " ${response} " ' success' ; then
5454 return 0
5555 fi
You can’t perform that action at this time.
0 commit comments