From ec60c4fc5661a23988bf73c7405ec0880afca1e1 Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 8 May 2016 18:15:36 +0800 Subject: [PATCH] Created How to use lexicon dns api (markdown) --- How-to-use-lexicon-dns-api.md | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 How-to-use-lexicon-dns-api.md diff --git a/How-to-use-lexicon-dns-api.md b/How-to-use-lexicon-dns-api.md new file mode 100644 index 0000000..2195118 --- /dev/null +++ b/How-to-use-lexicon-dns-api.md @@ -0,0 +1,36 @@ +## lexicon is a python tool for a number dns providers. + +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 +* Vultr + + +You can check its project page: https://github.com/AnalogJ/lexicon + +You must install `python` and `lexicon` before using it. + +## Examples: +### 1. Using lexicon cloudflare api: +``` +export LEXICON_CLOUDFLARE_USERNAME="xxxx@xxx.com" +export LEXICON_CLOUDFLARE_TOKEN="XXXXXXXXXXXXXXX" + +acme.sh --issue -d test.acme.sh --dns dns_lexicon +``` + + +For more examples, please check lexicon page: https://github.com/AnalogJ/lexicon + + +