Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong dns_rm function called #2377

Closed
gwttk opened this issue Jul 5, 2019 · 1 comment
Closed

wrong dns_rm function called #2377

gwttk opened this issue Jul 5, 2019 · 1 comment

Comments

@gwttk
Copy link

gwttk commented Jul 5, 2019

Steps to reproduce

acme.sh  --issue  --test \
        -d wf7443.gwent.win  --challenge-alias cavo.cf.gwent.win  --dns dns_cf  \
        -d cavo.gwent.win  --challenge-alias cavo.cf.gwent.win  --dns dns_cf \
        -d api.gwent.win  --challenge-alias cavo.cf.gwent.win  --dns dns_cf \
        -d apisvr.wo-smart.com  --challenge-alias apisvr.wo-smart.com  --dns dns_ali --debug 2 2>&1 | tee full.log

Debug log

[Fri Jul  5 14:46:10 CST 2019] Removing DNS records.
[Fri Jul  5 14:46:10 CST 2019] d='wf7443.gwent.win'
[Fri Jul  5 14:46:10 CST 2019] txtdomain='_acme-challenge.wf7443.gwent.win'
[Fri Jul  5 14:46:10 CST 2019] aliasDomain='_acme-challenge.cavo.cf.gwent.win'
[Fri Jul  5 14:46:10 CST 2019] txt='8i5FHAjm_4NveVx3bCKx3ULobo1DsJm6FoJKScE8xo8'
[Fri Jul  5 14:46:10 CST 2019] d_api='/root/.acme.sh/dnsapi/dns_cf.sh'
[Fri Jul  5 14:46:10 CST 2019] It seems that your api file doesn't define dns_ali_rm
[Fri Jul  5 14:46:10 CST 2019] d='cavo.gwent.win'
[Fri Jul  5 14:46:10 CST 2019] txtdomain='_acme-challenge.cavo.gwent.win'
[Fri Jul  5 14:46:10 CST 2019] aliasDomain='_acme-challenge.cavo.cf.gwent.win'
[Fri Jul  5 14:46:10 CST 2019] txt='LoNkvjLbW8K_YcZfCBA0-ildVgzwihhrQAL6qR_xcSA'
[Fri Jul  5 14:46:10 CST 2019] d_api='/root/.acme.sh/dnsapi/dns_cf.sh'
[Fri Jul  5 14:46:10 CST 2019] It seems that your api file doesn't define dns_ali_rm
[Fri Jul  5 14:46:10 CST 2019] d='api.gwent.win'
[Fri Jul  5 14:46:10 CST 2019] txtdomain='_acme-challenge.api.gwent.win'
[Fri Jul  5 14:46:10 CST 2019] aliasDomain='_acme-challenge.cavo.cf.gwent.win'
[Fri Jul  5 14:46:10 CST 2019] txt='H1BIKOipN7M4fBnHKr5flFSIYHfjbnUSTVVjNHZSIZU'
[Fri Jul  5 14:46:10 CST 2019] d_api='/root/.acme.sh/dnsapi/dns_cf.sh'
[Fri Jul  5 14:46:10 CST 2019] It seems that your api file doesn't define dns_ali_rm
[Fri Jul  5 14:46:10 CST 2019] d='apisvr.wo-smart.com'
[Fri Jul  5 14:46:10 CST 2019] txtdomain='_acme-challenge.apisvr.wo-smart.com'
[Fri Jul  5 14:46:10 CST 2019] aliasDomain='_acme-challenge.apisvr.wo-smart.com'
[Fri Jul  5 14:46:10 CST 2019] txt='7ZXvnhTpvtB-vsdB_Subm4mk3wxOIwiGr8-5mQbbgwg'
[Fri Jul  5 14:46:10 CST 2019] d_api='/root/.acme.sh/dnsapi/dns_ali.sh'
[Fri Jul  5 14:46:10 CST 2019] Removing txt: 7ZXvnhTpvtB-vsdB_Subm4mk3wxOIwiGr8-5mQbbgwg for domain: _acme-challenge.apisvr.wo-smart.com
[Fri Jul  5 14:46:10 CST 2019] First detect the root zone

full.log

It calls dns_ali_rm when d_api='/root/.acme.sh/dnsapi/dns_cf.sh'?
The TXT records won't get deleted because of this.

Neilpang pushed a commit that referenced this issue Jul 24, 2019
@Neilpang
Copy link
Member

抱歉, 这是一个 bug,
麻烦更新到 最新的 dev 再试一次, 应该好了

acme.sh  --upgrade  -b dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants