Merge remote-tracking branch 'upstream/dev' into all-inkl-kasserver-dns-script

This commit is contained in:
Martin Kammerlander committed 2019-12-12 16:36:41 +01:00
commit 239d53426a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ dns_unoeuro_add() {
fi
_info "Adding record"
if _uno_rest POST "my/products/$h/dns/records" "{\"name\":\"$fulldomain\",\"type\":\"TXT\",\"data\":\"$txtvalue\",\"ttl\":120}"; then
if _uno_rest POST "my/products/$h/dns/records" "{\"name\":\"$fulldomain\",\"type\":\"TXT\",\"data\":\"$txtvalue\",\"ttl\":120,\"priority\":0}"; then
if _contains "$response" "\"status\": 200" >/dev/null; then
_info "Added, OK"
return 0