-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
DNS API Test
neil edited this page Sep 14, 2020
·
16 revisions
There is a CI workflow to test your dns api when you send PR to add new dns api.
This test must be passing before your PR can get merged.
export MyDnsKey1=myValue1
export MyDnsKey2=myValue2
acme.sh --issue -d mytest.myExample.com --dns dns_myapi
Open the menu: "Settings"
-> "Secrets"
-> "New secret"
The secrets are only visible to yourself, nobody else can read the secrets.
Set the following secrets:
TokenName1 = MyDnsKey1
TokenValue1 = myValue1
TokenName2 = MyDnsKey2
TokenValue2 = myValue2
TEST_DNS = dns_myapi
TestingDomain = mytest.myExample.com
TEST_DNS_SLEEP = 120
The TEST_DNS_SLEEP
is the time (in seconds) to sleep to wait for your DNS records to propagate.
Different DNS providers may require different propagate time, please ask your DNS provider support for the time.
Usually, it's larger than 120
seconds.
Buy me a beer, Donate to acme.sh if it saves your time. Your donation makes acme.sh better: https://donate.acme.sh/
如果 acme.sh 帮你节省了时间,请考虑赏我一杯啤酒🍺, 捐助: https://donate.acme.sh/ 你的支持将会使得 acme.sh 越来越好. 感谢