dns_world4you: Fix upper case fqdn issues

Signed-off-by: Lorenz Stechauner <lorenz.stechauner@necronda.net>
This commit is contained in:
Lorenz Stechauner 2022-07-10 20:30:41 +02:00
parent a8f71f79fe
commit ed15ff0515

View File

@ -12,7 +12,7 @@ RECORD=''
# Usage: dns_world4you_add <fqdn> <value>
dns_world4you_add() {
fqdn="$1"
fqdn=$(echo "$1" | tr '[:upper:]' '[:lower:]')
value="$2"
_info "Using world4you to add record"
_debug fulldomain "$fqdn"
@ -74,7 +74,7 @@ dns_world4you_add() {
# Usage: dns_world4you_rm <fqdn> <value>
dns_world4you_rm() {
fqdn="$1"
fqdn=$(echo "$1" | tr '[:upper:]' '[:lower:]')
value="$2"
_info "Using world4you to remove record"
_debug fulldomain "$fqdn"