Updated dnsapi (markdown)
parent
8441e26d15
commit
11e13e1c2a
19
dnsapi.md
19
dnsapi.md
|
@ -3012,6 +3012,25 @@ The `BUNNY_API_KEY` will be saved in `~/.acme.sh/account.conf` and will be reuse
|
||||||
|
|
||||||
If you find any bugs with the Bunny DNS API integration, please report them here: https://github.com/Neilpang/acme.sh/issues/4296
|
If you find any bugs with the Bunny DNS API integration, please report them here: https://github.com/Neilpang/acme.sh/issues/4296
|
||||||
|
|
||||||
|
## 151. Use Selfhost DNS API
|
||||||
|
|
||||||
|
- create a new TXT record for a subdomainname with the needed prefix e.g. "_acme-challenge.example.com" (default) or "alias.example.com" (dns alias mode)
|
||||||
|
- for wildcard subdomains add a second TXT record for the identical subdomainname
|
||||||
|
- edit the TXT record and note the ID in (...) behind the subdomainname
|
||||||
|
- export each subdomainname (including the prefix) and the corresponding record IDs in SELFHOSTDNS_MAP like "subdomainname:RID1:RID2"
|
||||||
|
- at least one RID must be set, up to two are supported for wildcard subdomains
|
||||||
|
- each entry must be seperated by a space
|
||||||
|
- export username and password in SELFHOSTDNS_USERNAME and SELFHOSTDNS_PASSWORD
|
||||||
|
|
||||||
|
_Note: For `username` you have to use your account / customer number. You can find them in any invoice or on the right top of the selfhost dashboard._
|
||||||
|
|
||||||
|
```
|
||||||
|
export SELFHOSTDNS_USERNAME="myname"
|
||||||
|
export SELFHOSTDNS_PASSWORD="mypass"
|
||||||
|
export SELFHOSTDNS_MAP="_acme-challenge.example.com:12345:98765 alias.example.com:11111"
|
||||||
|
|
||||||
|
acme.sh --issue -d example.com --dns dns_selfhost
|
||||||
|
```
|
||||||
|
|
||||||
# ##################
|
# ##################
|
||||||
# Use custom API
|
# Use custom API
|
||||||
|
|
Loading…
Reference in New Issue