From f6c2b342dbb90ed52447a31e439931cabdbd28c6 Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 23 Aug 2023 13:38:47 +0200 Subject: [PATCH] README.md aktualisiert --- README.md | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2b77d45..c58deae 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # DynDNS with dedyn/deSEC (https://desec.io) -This is needed if you want to make services available from the Internet. This may also be needed to validate SSL-ACME-Challenges used by letsencrypt. +This is needed if you want to make services available from the Internet from a changing (dynamic) IP. This may also be needed to validate SSL-ACME-Challenges used by letsencrypt. deSEC is my preferred DNS provider but there are others too. # Disclaimer @@ -13,11 +13,11 @@ You also should test this on an non-productive Test-System to fit your needs. # Quick-Install -1. Register on the https://desec.io/ website +## 1. Register on the https://desec.io/ website -2. Create a domain - Click on + in https://desec.io/domains +## 2. Create a domain - Click on + in https://desec.io/domains -3. Create a CNAME wildcard for your domain +## 3. Create a CNAME wildcard for your domain - click on your domain - click on "+" - Record Set Type: CNAME @@ -25,22 +25,33 @@ You also should test this on an non-productive Test-System to fit your needs. - Target hostname: choosen-domainname.dedyn.io. (finalizing "." is important) - click on "Save" -4. SSH into your Server and write the config customized with your data: +## 4. Get an auth Token + - Click on "Token Management" + - click on "+" + - optinally give a name + - click on "Save" + - copy your "token's secret value" + +## 5. SSH into your Server and write the config customized with your data: ``` -echo 'dedynpw="LONG_PASSPHRASE_FROM_DESEC" +echo 'dedynpw="TOKENS_SECRET_VALUE_FROM_DESEC" dedynhosts="choosen-domainname.dedyn.io" # should IPv6 be done? possible are "yes", "no" or "only" doipv6="yes"' >/usr/local/etc/dedyn.conf ``` -5. Download +## 6. Download ``` wget https://gitea.ds9.dedyn.io/olli/debian.ansible.dedyn.client/raw/branch/main/install.sh ``` -6. Run the Script +## 7. Run the Script This runs some other Playbooks needed by this playbook. ``` bash install.sh ``` + +# After the Installation +- When changing IP, the address should update every half hour +- you can manually update with ```sudo dedyn.sh``` \ No newline at end of file