|
|
@ -22,7 +22,6 @@ dns_simply_add() { |
|
|
|
_simply_save_config |
|
|
|
|
|
|
|
_debug "First detect the root zone" |
|
|
|
|
|
|
|
if ! _get_root "$fulldomain"; then |
|
|
|
_err "invalid domain" |
|
|
|
return 1 |
|
|
@ -37,7 +36,6 @@ dns_simply_add() { |
|
|
|
_err "Could not add DNS record" |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
|
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
@ -244,5 +242,6 @@ _simply_rest() { |
|
|
|
_err "It seems that your api key or accountnumber is not correct." |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
|
|
|
|
return 0 |
|
|
|
} |