command
module
Version:
v0.1.7
Opens a new window with list of versions in this module.
Published: Jan 3, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
hetzner-dnsapi-proxy
hetzner-dnsapi-proxy proxies DNS API update requests to the Hetzner DNS API.
Authorization takes place via a list of domains and host addresses allowed to update them for now.
Container image
Get the container image from Docker Hub
TODO
- More elaborate authentication / authorization mechanism
- Add tests
Supported DNS APIs
Environment variables
Variable |
Type |
Description |
Required |
Default |
API_TOKEN |
string |
Auth token for the API |
Y |
|
API_TIMEOUT |
int |
Timeout for calls to the API in seconds |
N |
15 seconds |
RECORD_TTL |
int |
TTL that is set when creating/updating records |
N |
60 seconds |
ALLOWED_DOMAINS |
string |
Combination of domains and CIDRs allowed to update them, example:
example1.com,127.0.0.1/32;_acme-challenge.example2.com,127.0.0.1/32 |
Y |
|
LISTEN_ADDR |
string |
Listen address of hetzner-dnsapi-proxy |
N |
:8081 |
TRUSTED_PROXIES |
string |
List of trusted proxy host addresses separated by comma |
N |
Trust all proxies |
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
pkg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.