neilpang 8 years ago
parent
commit
5d6fd8099f
  1. 4
      dnsapi/dns_cf.sh
  2. 9
      dnsapi/dns_cx.sh
  3. 9
      dnsapi/dns_dp.sh
  4. 7
      dnsapi/dns_gd.sh
  5. 9
      dnsapi/dns_lexicon.sh
  6. 5
      dnsapi/dns_myapi.sh
  7. 7
      dnsapi/dns_ovh.sh
  8. 8
      dnsapi/dns_pdns.sh

4
dnsapi/dns_cf.sh

@ -78,7 +78,11 @@ dns_cf_add(){
}
#fulldomain
dns_cf_rm() {
fulldomain=$1
}
#################### Private functions bellow ##################################

9
dnsapi/dns_cx.sh

@ -56,6 +56,15 @@ dns_cx_add() {
return 1
}
#fulldomain
dns_cx_rm() {
fulldomain=$1
}
#usage: root sub
#return if the sub record already exists.
#echos the existing records count.

9
dnsapi/dns_dp.sh

@ -51,6 +51,15 @@ dns_dp_add() {
fi
}
#fulldomain
dns_dp_rm() {
fulldomain=$1
}
#usage: root sub
#return if the sub record already exists.
#echos the existing records count.

7
dnsapi/dns_gd.sh

@ -55,6 +55,13 @@ dns_gd_add(){
#fulldomain
dns_gd_rm() {
fulldomain=$1
}
#################### Private functions bellow ##################################

9
dnsapi/dns_lexicon.sh

@ -66,4 +66,13 @@ dns_lexicon_add() {
}
#fulldomain
dns_lexicon_rm() {
fulldomain=$1
}

5
dnsapi/dns_myapi.sh

@ -20,6 +20,11 @@ dns_myapi_add() {
#fulldomain
dns_myapi_rm() {
fulldomain=$1
}
#################### Private functions bellow ##################################

7
dnsapi/dns_ovh.sh

@ -183,6 +183,13 @@ dns_ovh_add(){
}
#fulldomain
dns_ovh_rm() {
fulldomain=$1
}
#################### Private functions bellow ##################################
_ovh_authentication() {

8
dnsapi/dns_pdns.sh

@ -61,6 +61,14 @@ dns_pdns_add() {
return 0
}
#fulldomain
dns_pdns_rm() {
fulldomain=$1
}
set_record() {
_info "Adding record"
root=$1

Loading…
Cancel
Save