cloudflare-ddns.git
2 months agoupdate README main
Christian Cleberg [Thu, 15 Feb 2024 19:19:16 +0000 (13:19 -0600)]
update README

9 months agoMerge pull request #14 from AssortedFantasy/patch-1
Stas Yakobov [Tue, 18 Jul 2023 12:26:40 +0000 (15:26 +0300)]
Merge pull request #14 from AssortedFantasy/patch-1

Add regex verification for IP address returned from external source.

9 months agoMerge pull request #16 from jarppiko/main
Stas Yakobov [Tue, 18 Jul 2023 12:24:59 +0000 (15:24 +0300)]
Merge pull request #16 from jarppiko/main

FIX: delete a space causing a CF API error from the `dns_record` example

9 months agoFIX: delete space from the dns_record example
jarppiko [Mon, 17 Jul 2023 20:02:01 +0000 (23:02 +0300)]
FIX: delete space from the dns_record example

The example `dns_record` variable has space between the records. But this causes the following error with the FC API:

```{"success":false,"errors":[{"code":10000,"message":"PUT method not allowed for the api_token authentication scheme"}]}```

Removing the space between the records fixes the issue.

10 months agoAdd regex verification for IP address returned from external source.
Jehanzeb Mirza [Thu, 15 Jun 2023 03:22:23 +0000 (23:22 -0400)]
Add regex verification for IP address returned from external source.

Validates that the IP returned from checkamazon.amazonaws.com is a valid IPv4 Address. Regex was slightly modified from https://stackoverflow.com/a/36760050 to work in bash.

11 months agoMerge pull request #13 from m-krebs/patch-1
Stas Yakobov [Fri, 2 Jun 2023 20:10:28 +0000 (23:10 +0300)]
Merge pull request #13 from m-krebs/patch-1

fix typos

11 months agoUpdate update-cloudflare-dns.sh
Stas Yakobov [Fri, 2 Jun 2023 20:05:42 +0000 (23:05 +0300)]
Update update-cloudflare-dns.sh

11 months agofix typos
Michael Krebs [Thu, 1 Jun 2023 11:18:16 +0000 (13:18 +0200)]
fix typos

14 months agotypo fix
Stas Yakobov [Mon, 13 Feb 2023 09:33:04 +0000 (11:33 +0200)]
typo fix

16 months agoadded test config
Stas Yakobov [Mon, 2 Jan 2023 09:14:12 +0000 (11:14 +0200)]
added test config

16 months agoreplaced "readarray" with "read" for better os support
Stas Yakobov [Mon, 2 Jan 2023 09:13:42 +0000 (11:13 +0200)]
replaced "readarray" with "read" for better os support

16 months agoMerge pull request #10 from sockethunter/sockethunter-patch-1
Stas Yakobov [Wed, 21 Dec 2022 21:04:03 +0000 (23:04 +0200)]
Merge pull request #10 from sockethunter/sockethunter-patch-1

Update update-cloudflare-dns.sh

16 months agoUpdate update-cloudflare-dns.sh
Mert Can Icpinar [Wed, 21 Dec 2022 20:58:35 +0000 (21:58 +0100)]
Update update-cloudflare-dns.sh

If there are multiple DNS records with the same name, the script cannot select the specific record to update. I added the 'type' option to the Cloudflare API calls to eliminate this misunderstanding.
I only added the A option because the script only queries for the current A record in line 97 and I can't test IPv6 properly.

For more info, see the documentation:
https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records

17 months agoMerge pull request #9 from mengzhuo/main
Stas Yakobov [Wed, 16 Nov 2022 03:59:44 +0000 (05:59 +0200)]
Merge pull request #9 from mengzhuo/main

force external IP on ipv4

17 months agoforce external IP on ipv4
Meng Zhuo [Wed, 16 Nov 2022 01:48:39 +0000 (09:48 +0800)]
force external IP on ipv4

17 months agoMerge pull request #8 from lacrimal/main
Stas Yakobov [Sat, 12 Nov 2022 20:07:31 +0000 (22:07 +0200)]
Merge pull request #8 from lacrimal/main

Added multi domains at once and alternate conf file as parameter

18 months agoUpdate README.md
lacrimal [Sun, 23 Oct 2022 03:09:48 +0000 (05:09 +0200)]
Update README.md

add configuration options description for config as parameter

18 months agoadd multi A records, conf file canbe pass as parameter, readme changess
ja [Sun, 23 Oct 2022 02:37:13 +0000 (04:37 +0200)]
add multi A records, conf file canbe pass as parameter, readme changess

19 months agoMerge pull request #6 from GwnDaan/patch-1
Stas Yakobov [Tue, 20 Sep 2022 07:05:48 +0000 (10:05 +0300)]
Merge pull request #6 from GwnDaan/patch-1

Add extra documentation on how to find Zone ID

19 months agoAdd extra info on how to find Zone ID
Daan Steenbergen [Mon, 19 Sep 2022 08:18:36 +0000 (10:18 +0200)]
Add extra info on how to find Zone ID

19 months agoAdd Zone ID documentation links
Daan Steenbergen [Mon, 19 Sep 2022 08:14:18 +0000 (10:14 +0200)]
Add Zone ID documentation links

20 months agofixed Creating Cloudflare API Token
Stas Yakobov [Wed, 31 Aug 2022 19:31:57 +0000 (22:31 +0300)]
fixed Creating Cloudflare API Token

20 months agoadded Creating Cloudflare API token
Stas Yakobov [Tue, 30 Aug 2022 07:39:51 +0000 (10:39 +0300)]
added Creating Cloudflare API token

21 months agoUpdate FUNDING.yml
Stas Yakobov [Mon, 1 Aug 2022 10:45:54 +0000 (13:45 +0300)]
Update FUNDING.yml

21 months agoCreate FUNDING.yml
Stas Yakobov [Sat, 23 Jul 2022 13:23:15 +0000 (16:23 +0300)]
Create FUNDING.yml

22 months agoAdded Limitations
Stas Yakobov [Thu, 30 Jun 2022 13:16:11 +0000 (16:16 +0300)]
Added Limitations

2 years agoadded support fot nslookup for dns resolve
fire1ce [Mon, 11 Apr 2022 20:23:45 +0000 (23:23 +0300)]
added support fot nslookup for dns resolve

2 years agoadded support fot nslookup for dns resolve
fire1ce [Mon, 11 Apr 2022 20:22:54 +0000 (23:22 +0300)]
added support fot nslookup for dns resolve

2 years agoreadme update
fire1ce [Sat, 9 Apr 2022 11:00:16 +0000 (14:00 +0300)]
readme update

2 years agoreadme update
fire1ce [Sat, 9 Apr 2022 10:58:34 +0000 (13:58 +0300)]
readme update

2 years agofix for date no showing in logs
fire1ce [Fri, 4 Feb 2022 16:01:00 +0000 (18:01 +0200)]
fix for date no showing in logs

2 years agonew config file for the script
fire1ce [Fri, 4 Feb 2022 15:43:59 +0000 (17:43 +0200)]
new config file for the script

2 years agoremoved
fire1ce [Fri, 4 Feb 2022 15:43:46 +0000 (17:43 +0200)]
removed

2 years agoReadme Update to new scrip
fire1ce [Fri, 4 Feb 2022 15:43:16 +0000 (17:43 +0200)]
Readme Update to new scrip

2 years agoFull script rewrite
fire1ce [Fri, 4 Feb 2022 15:43:01 +0000 (17:43 +0200)]
Full script rewrite

2 years agobetter .gitignore
fire1ce [Fri, 4 Feb 2022 14:59:59 +0000 (16:59 +0200)]
better .gitignore

2 years agoOptimized the scrip with less API calls
fire1ce [Wed, 12 Jan 2022 12:16:49 +0000 (14:16 +0200)]
Optimized the scrip with less API calls

2 years agofix for empty string ip
fire1ce [Mon, 10 Jan 2022 12:57:27 +0000 (14:57 +0200)]
fix for empty string ip

2 years agoadded Telegram notification
fire1ce [Sun, 9 Jan 2022 00:55:53 +0000 (02:55 +0200)]
added Telegram notification