-
-
Notifications
You must be signed in to change notification settings - Fork 5k
How to use lexicon DNS API
As I'm writing this doc, it supports the following dns api: The current supported providers are:
- Cloudflare
- DigitalOcean
- DNSimple
- DnsMadeEasy
- DNSPark
- EasyDNS
- Namesilo
- NS1
- PointHQ
- Rage4
- TransIP
- Vultr
You can check its project page: https://github.com/AnalogJ/lexicon
You must install python
and lexicon
before using it.
export PROVIDER=cloudflare
export LEXICON_CLOUDFLARE_USERNAME="xxxx@xxx.com"
export LEXICON_CLOUDFLARE_TOKEN="XXXXXXXXXXXXXXX"
acme.sh --issue -d test.acme.sh --dns dns_lexicon
Namesilo applies any submitted changes to DNS records every 15 minutes. To make sure verification aligns with propagation, --dnssleep
must be set for 16 minutes (960 seconds). You may generate a new API key (namesilo-api-token) at the api manager under Account Options after logging in.
export PROVIDER=namesilo
export LEXICON_NAMESILO_TOKEN="namesilo-api-token"
acme.sh --issue -d test.acme.sh --dns dns_lexicon --dnssleep 960
export PROVIDER=TRANSIP
export LEXICON_TRANSIP_USERNAME="username"
export LEXICON_TRANSIP_API_KEY="/path/to/file.key"
acme.sh --issue -d test.acme.sh --dns dns_lexicon
For more examples, please check lexicon page: https://github.com/AnalogJ/lexicon
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 越来越好. 感谢