Commit 5d6fd809 authored by neilpang's avatar neilpang
Browse files
parent 800e3f45
...@@ -78,7 +78,11 @@ dns_cf_add(){ ...@@ -78,7 +78,11 @@ dns_cf_add(){
} }
#fulldomain
dns_cf_rm() {
fulldomain=$1
}
#################### Private functions bellow ################################## #################### Private functions bellow ##################################
......
...@@ -56,6 +56,15 @@ dns_cx_add() { ...@@ -56,6 +56,15 @@ dns_cx_add() {
return 1 return 1
} }
#fulldomain
dns_cx_rm() {
fulldomain=$1
}
#usage: root sub #usage: root sub
#return if the sub record already exists. #return if the sub record already exists.
#echos the existing records count. #echos the existing records count.
......
...@@ -51,6 +51,15 @@ dns_dp_add() { ...@@ -51,6 +51,15 @@ dns_dp_add() {
fi fi
} }
#fulldomain
dns_dp_rm() {
fulldomain=$1
}
#usage: root sub #usage: root sub
#return if the sub record already exists. #return if the sub record already exists.
#echos the existing records count. #echos the existing records count.
......
...@@ -55,6 +55,13 @@ dns_gd_add(){ ...@@ -55,6 +55,13 @@ dns_gd_add(){
#fulldomain
dns_gd_rm() {
fulldomain=$1
}
#################### Private functions bellow ################################## #################### Private functions bellow ##################################
......
...@@ -66,4 +66,13 @@ dns_lexicon_add() { ...@@ -66,4 +66,13 @@ dns_lexicon_add() {
} }
#fulldomain
dns_lexicon_rm() {
fulldomain=$1
}
...@@ -20,6 +20,11 @@ dns_myapi_add() { ...@@ -20,6 +20,11 @@ dns_myapi_add() {
#fulldomain
dns_myapi_rm() {
fulldomain=$1
}
#################### Private functions bellow ################################## #################### Private functions bellow ##################################
......
...@@ -183,6 +183,13 @@ dns_ovh_add(){ ...@@ -183,6 +183,13 @@ dns_ovh_add(){
} }
#fulldomain
dns_ovh_rm() {
fulldomain=$1
}
#################### Private functions bellow ################################## #################### Private functions bellow ##################################
_ovh_authentication() { _ovh_authentication() {
......
...@@ -61,6 +61,14 @@ dns_pdns_add() { ...@@ -61,6 +61,14 @@ dns_pdns_add() {
return 0 return 0
} }
#fulldomain
dns_pdns_rm() {
fulldomain=$1
}
set_record() { set_record() {
_info "Adding record" _info "Adding record"
root=$1 root=$1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment