Add VirakCloud DNS API support

This commit is contained in:
Amin Sharifi committed 2026-01-04 16:29:30 +03:30
1 parent 877cbe04c9
commit ef035248c3
1 file changed
+1
+1
View File
@@ -43,6 +43,7 @@ dns_virakcloud_add() {
_info "Adding TXT record"
if _virakcloud_rest POST "domains/${_domain}/records" "{\"record\":\"${fulldomain}\",\"type\":\"TXT\",\"ttl\":3600,\"content\":\"${txtvalue}\"}"; then
if echo "$response" | grep -q "success" || echo "$response" | grep -q "\"data\""; then
_info "Added, OK"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.