mirror of
https://codeberg.org/privacy1st/netcup-dns
synced 2024-12-22 23:36:04 +01:00
docs: example configuration
This commit is contained in:
parent
fda4c0f170
commit
1d01344067
19
README.md
19
README.md
@ -2,6 +2,25 @@
|
|||||||
|
|
||||||
Update DNS records with your current external IP address using the netcup DNS API.
|
Update DNS records with your current external IP address using the netcup DNS API.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
For each netcup customer, create a `.ini` configuration file. Here is an example:
|
||||||
|
|
||||||
|
```ini
|
||||||
|
[credentials]
|
||||||
|
customer = 123456
|
||||||
|
api_key = abcdefghijklmnopqrstuvwxyz
|
||||||
|
api_password = abcdefghijklmnopqrstuvwxyz
|
||||||
|
|
||||||
|
[example.com]
|
||||||
|
hostname = @
|
||||||
|
type = A
|
||||||
|
|
||||||
|
[foo.bar]
|
||||||
|
hostname = @
|
||||||
|
type = A
|
||||||
|
```
|
||||||
|
|
||||||
## TODOs
|
## TODOs
|
||||||
|
|
||||||
Alternative external IP detection:
|
Alternative external IP detection:
|
||||||
|
Loading…
Reference in New Issue
Block a user