lego/docs/content/dns/zz_gen_gravity.md
2025-12-29 18:33:53 +01:00

2 KiB
Generated

title date draft slug dnsprovider
Gravity 2019-03-03T16:39:46+01:00 false gravity
since code url
v4.30.0 gravity https://gravity.beryju.io/

Configuration for Gravity.

  • Code: gravity
  • Since: v4.30.0

Here is an example bash command using the Gravity provider:

GRAVITY_SERVER_URL="https://example.org:1234" \
GRAVITY_USERNAME="xxxxxxxxxxxxxxxxxxxxx" \
GRAVITY_PASSWORD="yyyyyyyyyyyyyyyyyyyyy" \
lego --dns gravity -d '*.example.com' -d example.com run

Credentials

Environment Variable Name Description
GRAVITY_PASSWORD Password
GRAVITY_SERVER_URL URL of the server
GRAVITY_USERNAME Username

The environment variable names can be suffixed by _FILE to reference a file instead of a value. More information [here]({{% ref "dns#configuration-and-credentials" %}}).

Additional Configuration

Environment Variable Name Description
GRAVITY_HTTP_TIMEOUT API request timeout in seconds (Default: 30)
GRAVITY_POLLING_INTERVAL Time between DNS propagation check in seconds (Default: 2)
GRAVITY_PROPAGATION_TIMEOUT Maximum waiting time for DNS propagation in seconds (Default: 60)
GRAVITY_SEQUENCE_INTERVAL Time between sequential requests in seconds (Default: 1)

The environment variable names can be suffixed by _FILE to reference a file instead of a value. More information [here]({{% ref "dns#configuration-and-credentials" %}}).

More information