rfc2136.toml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Name = "RFC2136"
  2. Description = ''''''
  3. URL = "https://www.rfc-editor.org/rfc/rfc2136.html"
  4. Code = "rfc2136"
  5. Since = "v0.3.0"
  6. Example = '''
  7. RFC2136_NAMESERVER=127.0.0.1 \
  8. RFC2136_TSIG_KEY=lego \
  9. RFC2136_TSIG_ALGORITHM=hmac-sha256. \
  10. RFC2136_TSIG_SECRET=YWJjZGVmZGdoaWprbG1ub3BxcnN0dXZ3eHl6MTIzNDU= \
  11. lego --email you@example.com --dns rfc2136 --domains my.example.org run
  12. ## ---
  13. keyname=lego; keyfile=lego.key; tsig-keygen $keyname > $keyfile
  14. RFC2136_NAMESERVER=127.0.0.1 \
  15. RFC2136_TSIG_KEY="$keyname" \
  16. RFC2136_TSIG_ALGORITHM="$( awk -F'[ ";]' '/algorithm/ { print $2 }' $keyfile )." \
  17. RFC2136_TSIG_SECRET="$( awk -F'[ ";]' '/secret/ { print $3 }' $keyfile )" \
  18. lego --email you@example.com --dns rfc2136 --domains my.example.org run
  19. '''
  20. [Configuration]
  21. [Configuration.Credentials]
  22. RFC2136_TSIG_KEY = "Name of the secret key as defined in DNS server configuration. To disable TSIG authentication, leave the `RFC2136_TSIG*` variables unset."
  23. RFC2136_TSIG_SECRET = "Secret key payload. To disable TSIG authentication, leave the` RFC2136_TSIG*` variables unset."
  24. RFC2136_TSIG_ALGORITHM = "TSIG algorithm. See [miekg/dns#tsig.go](https://github.com/miekg/dns/blob/master/tsig.go) for supported values. To disable TSIG authentication, leave the `RFC2136_TSIG*` variables unset."
  25. RFC2136_NAMESERVER = 'Network address in the form "host" or "host:port"'
  26. [Configuration.Additional]
  27. RFC2136_POLLING_INTERVAL = "Time between DNS propagation check"
  28. RFC2136_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation"
  29. RFC2136_TTL = "The TTL of the TXT record used for the DNS challenge"
  30. RFC2136_DNS_TIMEOUT = "API request timeout"
  31. RFC2136_SEQUENCE_INTERVAL = "Time between sequential requests"
  32. [Links]
  33. API = "https://www.rfc-editor.org/rfc/rfc2136.html"