File tree 7 files changed +159
-91
lines changed
7 files changed +159
-91
lines changed Original file line number Diff line number Diff line change 2
2
ip.log
3
3
dist
4
4
node_modules
5
+ .vscode
Original file line number Diff line number Diff line change 2
2
TOKEn = myapitoken
3
3
ZONE = example.org
4
4
DNS_RECORD = some.example.org
5
+ PROXIED = false
5
6
6
7
# Optional
7
8
# CRON=* * * * *
Original file line number Diff line number Diff line change @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ 1.2.1] - 2022-05-14
9
+
10
+ ### Added
11
+
12
+ - Support for ` proxied ` parameter thanks to @borisbm .
13
+
14
+ ### Security
15
+
16
+ - Updated dependencies.
17
+
8
18
## [ 1.2.0] - 2022-02-07
9
19
10
20
### Added
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ KEY=Global_API_Key
26
26
27
27
ZONE=example.org
28
28
DNS_RECORD=some.example.org
29
+ PROXIED=false
29
30
```
30
31
31
32
3 . Run the container
@@ -54,6 +55,7 @@ docker-compose up -d
54
55
| ` TOKEN ` | API Token that can be used instead of ` EMAIL ` & ` KEY ` . | |
55
56
| ` ZONE ` | Cloudflare zone where your domain is. | |
56
57
| ` DNS_RECORD ` | The actual DNS record that should be updated. | |
58
+ | ` PROXIED ` | Whether the record is proxied by CloudFlare or not. | |
57
59
| ` CRON ` | Frequency of updates. | \* /5 \* \* \* \* |
58
60
| ` RESOLVER ` | The endpoint used to determine your public ip. | https://api.ipify.org/ |
59
61
Original file line number Diff line number Diff line change 6
6
"build" : " tsc"
7
7
},
8
8
"dependencies" : {
9
- "axios" : " ^0.25.0 " ,
9
+ "axios" : " ^0.27.2 " ,
10
10
"cloudflare" : " ^2.9.1" ,
11
11
"cron" : " ^1.8.2" ,
12
- "dotenv" : " ^16.0.0 " ,
13
- "winston" : " ^3.5.1 "
12
+ "dotenv" : " ^16.0.1 " ,
13
+ "winston" : " ^3.7.2 "
14
14
},
15
15
"devDependencies" : {
16
- "@types/cloudflare" : " ^2.7.7 " ,
16
+ "@types/cloudflare" : " ^2.7.8 " ,
17
17
"@types/cron" : " ^1.7.3" ,
18
18
"ts-node-dev" : " ^1.1.8" ,
19
- "typescript" : " ^4.5.5 "
19
+ "typescript" : " ^4.6.4 "
20
20
}
21
21
}
You can’t perform that action at this time.
0 commit comments