|
@ -4,8 +4,7 @@ |
|
|
#Nsd_Command="sudo nsd-control reload" |
|
|
#Nsd_Command="sudo nsd-control reload" |
|
|
|
|
|
|
|
|
# args: fulldomain txtvalue |
|
|
# args: fulldomain txtvalue |
|
|
dns_nsd_add() |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
dns_nsd_add() { |
|
|
fulldomain=$1 |
|
|
fulldomain=$1 |
|
|
txtvalue=$2 |
|
|
txtvalue=$2 |
|
|
ttlvalue=300 |
|
|
ttlvalue=300 |
|
@ -44,8 +43,7 @@ dns_nsd_add() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# args: fulldomain txtvalue |
|
|
# args: fulldomain txtvalue |
|
|
dns_nsd_rm() |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
dns_nsd_rm() { |
|
|
fulldomain=$1 |
|
|
fulldomain=$1 |
|
|
txtvalue=$2 |
|
|
txtvalue=$2 |
|
|
ttlvalue=300 |
|
|
ttlvalue=300 |
|
|