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