Browse Source
Merge pull request #3381 from dgasaway/patch-1
Change ipconfig.co to ifconfig.co
pull/3383/head
neil
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
dnsapi/dns_namecheap.sh
|
@ -157,7 +157,7 @@ _namecheap_set_publicip() { |
|
|
|
|
|
|
|
|
if [ -z "$NAMECHEAP_SOURCEIP" ]; then |
|
|
if [ -z "$NAMECHEAP_SOURCEIP" ]; then |
|
|
_err "No Source IP specified for Namecheap API." |
|
|
_err "No Source IP specified for Namecheap API." |
|
|
_err "Use your public ip address or an url to retrieve it (e.g. https://ipconfig.co/ip) and export it as NAMECHEAP_SOURCEIP" |
|
|
|
|
|
|
|
|
_err "Use your public ip address or an url to retrieve it (e.g. https://ifconfig.co/ip) and export it as NAMECHEAP_SOURCEIP" |
|
|
return 1 |
|
|
return 1 |
|
|
else |
|
|
else |
|
|
_saveaccountconf NAMECHEAP_SOURCEIP "$NAMECHEAP_SOURCEIP" |
|
|
_saveaccountconf NAMECHEAP_SOURCEIP "$NAMECHEAP_SOURCEIP" |
|
@ -175,7 +175,7 @@ _namecheap_set_publicip() { |
|
|
_publicip=$(_get "$addr") |
|
|
_publicip=$(_get "$addr") |
|
|
else |
|
|
else |
|
|
_err "No Source IP specified for Namecheap API." |
|
|
_err "No Source IP specified for Namecheap API." |
|
|
_err "Use your public ip address or an url to retrieve it (e.g. https://ipconfig.co/ip) and export it as NAMECHEAP_SOURCEIP" |
|
|
|
|
|
|
|
|
_err "Use your public ip address or an url to retrieve it (e.g. https://ifconfig.co/ip) and export it as NAMECHEAP_SOURCEIP" |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|