rfc2136.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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=example.com \
  9. RFC2136_TSIG_ALGORITHM=hmac-sha256. \
  10. RFC2136_TSIG_SECRET=YWJjZGVmZGdoaWprbG1ub3BxcnN0dXZ3eHl6MTIzNDU= \
  11. lego --email you@example.com --dns rfc2136 -d '*.example.com' -d example.com run
  12. ## ---
  13. keyname=example.com; keyfile=example.com.key; tsig-keygen $keyname > $keyfile
  14. RFC2136_NAMESERVER=127.0.0.1 \
  15. RFC2136_TSIG_FILE="$keyfile" \
  16. lego --email you@example.com --dns rfc2136 -d '*.example.com' -d example.com run
  17. '''
  18. [Configuration]
  19. [Configuration.Credentials]
  20. RFC2136_TSIG_KEY = "Name of the secret key as defined in DNS server configuration. To disable TSIG authentication, leave the `RFC2136_TSIG_KEY` variable unset."
  21. RFC2136_TSIG_SECRET = "Secret key payload. To disable TSIG authentication, leave the `RFC2136_TSIG_SECRET` variable unset."
  22. 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_KEY` or `RFC2136_TSIG_SECRET` variables unset."
  23. RFC2136_NAMESERVER = 'Network address in the form "host" or "host:port"'
  24. [Configuration.Additional]
  25. RFC2136_TSIG_FILE = "Path to a key file generated by tsig-keygen"
  26. RFC2136_POLLING_INTERVAL = "Time between DNS propagation check in seconds (Default: 2)"
  27. RFC2136_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation in seconds (Default: 60)"
  28. RFC2136_TTL = "The TTL of the TXT record used for the DNS challenge in seconds (Default: 120)"
  29. RFC2136_SEQUENCE_INTERVAL = "Time between sequential requests in seconds (Default: 60)"
  30. RFC2136_DNS_TIMEOUT = "API request timeout in seconds (Default: 10)"
  31. [Links]
  32. API = "https://www.rfc-editor.org/rfc/rfc2136.html"