From 1d01344067a47bf799cabe365091adb81def3b9e Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 28 Mar 2023 17:16:11 +0200 Subject: [PATCH] docs: example configuration --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index f2a1890..5da177a 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,25 @@ 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 Alternative external IP detection: