15 Commits

Author SHA1 Message Date
Gustavo Arnosti Neves
1b25c70fc5
Updated ID retrieval from response
Tested calls with a response string and it was not extracting the ID.  
Used @wilddom's fork ID parsing and it works.  
Did not include get_root again as he did ($_domain_name comes with appropriate string).
His fork: 931f93c5bb
    
Only thing I wanted now was to disable/fix the `get_root` so it does not use the main domain when it fails on a subdomain.  
For example, if it fails on sub.domain.com it will try with domain.com and since I have both on Dynu, I don't really want that (I want it to just fail and then try again later).  
I guess I will open an issue for that...
2018-09-06 19:20:10 -03:00
Gustavo Arnosti Neves
56af0e2c52
Fix removal of DNS record after completion
Changes undocumented API function to `dns/records/$_domain_name`.  
Since it checks for root right before asking for the ID, there is not need to check again and the `$_domain_name` should be accurate.  
Just changed the function name and it worked for me (no need to patch sed), but not sure why the other patch wants to change the sed call.  
----------------------------------------
API Reference: https://www.dynu.com/en-US/Resources/API/Documentation#DNSRecords
2018-09-06 07:03:17 -03:00
neilpang
eef4acd07d fix https://github.com/Neilpang/acme.sh/issues/874 2017-06-14 23:25:20 +08:00
shar0119
2310a9bbc0 Removed grep -Po
Removed usage of grep -Po.
2017-04-30 10:32:56 -07:00
shar0119
8470c60e06 Using _egrep_o() instead of grep -o -e
Modified code to use egrep instead of grep -o -e.
2017-04-14 12:46:00 -07:00
shar0119
394b1002b3 Corrected formatting error.
Part of dns_dynu_rm() impementation.
2017-04-13 20:54:57 -07:00
shar0119
9a61d6293d Implemented dns_dynu_rm()
Implemented dns_dynu_rm() method.
2017-04-13 20:48:39 -07:00
shar0119
6d7f6750e9 Updated author name and link to report bugs 2017-04-03 21:22:58 -07:00
shar0119
695482ded7 Added author name and link to report bugs 2017-04-03 21:21:50 -07:00
shar0119
e137792efd Commented out Dynu_ClientId and Dynu_Secret 2017-03-28 08:11:04 -07:00
shar0119
b7b934913e Removed unnecessary spaces 2017-03-27 13:39:31 -07:00
shar0119
cd8fcbf9c6 Spaces in assignment removed. 2017-03-27 12:38:12 -07:00
shar0119
d0300d4443 Changes as requested per Commit 9c90b21
In dnsapi/dns_dynu.sh line 115:
  export _H1="Authorization: Basic $(printf "%s" "$Dynu_ClientId:$Dynu_Secret" | _base64)"
         ^-- SC2155: Declare and assign separately to avoid masking return values.
2017-03-27 12:27:21 -07:00
shar0119
5c78e0a462 removed source acme.sh 2017-03-16 13:42:30 -07:00
shar0119
7044236824 Create dns_dynu.sh
Add DNS API support for Dynu.
2017-03-15 11:40:32 -07:00