Updated DNS API Dev Guide (markdown)

master
neil 2021-01-16 23:18:42 +08:00
parent 93cfa9238a
commit 86ad1b49f2
1 changed files with 3 additions and 1 deletions

@ -103,13 +103,15 @@ dns_myapi_add() {
#### 3. Detect which part is your root zone. #### 3. Detect which part is your root zone.
The full domain could be in one of the following formats: The full domain could be in either one of the following formats:
1. `_acme-challenge.www.example.com` 1. `_acme-challenge.www.example.com`
2. `_acme-challenge.example.com` 2. `_acme-challenge.example.com`
3. `_acme-challenge.example.co.uk` 3. `_acme-challenge.example.co.uk`
4. `_acme-challenge.www.example.co.uk` 4. `_acme-challenge.www.example.co.uk`
5. `_acme-challenge.sub1.sub2.www.example.co.uk` 5. `_acme-challenge.sub1.sub2.www.example.co.uk`
6. `sub1.sub2.example.co.uk` 6. `sub1.sub2.example.co.uk`
7. `example.com`
8. `example.co.uk`
For most of the dns providers, you must determine which part is the domain root zone(example.com or example.co.uk), and which part is the subdomain(_acme-challenge or _acme-challenge.www) For most of the dns providers, you must determine which part is the domain root zone(example.com or example.co.uk), and which part is the subdomain(_acme-challenge or _acme-challenge.www)