Browse Source
Update dns_dynv6.sh
Add support for domains like '*.v6.rocks'
pull/3071/head
12bbf7608ae1
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_dynv6.sh
|
@ -80,7 +80,7 @@ _generate_new_key() { |
|
|
_get_domain() { |
|
|
_get_domain() { |
|
|
_full_domain="$1" |
|
|
_full_domain="$1" |
|
|
_debug "getting domain for $_full_domain" |
|
|
_debug "getting domain for $_full_domain" |
|
|
if ! _contains "$_full_domain" 'dynv6.net' && ! _contains "$_full_domain" 'dns.army' && ! _contains "$_full_domain" 'dns.navy'; then |
|
|
|
|
|
|
|
|
if ! _contains "$_full_domain" 'dynv6.net' && ! _contains "$_full_domain" 'dns.army' && ! _contains "$_full_domain" 'dns.navy' && ! _contains "$_full_domain" 'v6.rocks' ; then |
|
|
_err "The hosts does not seem to be a dynv6 host" |
|
|
_err "The hosts does not seem to be a dynv6 host" |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|