@@ -78,7 +78,11 @@ dns_cf_add(){
}
+#fulldomain
+dns_cf_rm() {
+ fulldomain=$1
+}
#################### Private functions bellow ##################################
@@ -56,6 +56,15 @@ dns_cx_add() {
return 1
+
+dns_cx_rm() {
#usage: root sub
#return if the sub record already exists.
#echos the existing records count.
@@ -51,6 +51,15 @@ dns_dp_add() {
fi
+dns_dp_rm() {
@@ -55,6 +55,13 @@ dns_gd_add(){
+dns_gd_rm() {
@@ -66,4 +66,13 @@ dns_lexicon_add() {
+dns_lexicon_rm() {
@@ -20,6 +20,11 @@ dns_myapi_add() {
+dns_myapi_rm() {
@@ -183,6 +183,13 @@ dns_ovh_add(){
+dns_ovh_rm() {
_ovh_authentication() {
@@ -61,6 +61,14 @@ dns_pdns_add() {
return 0
+dns_pdns_rm() {
set_record() {
_info "Adding record"
root=$1