fcdns 0.4.4 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,219 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ ### [0.5.1](https://github.com/BlackGlory/fcdns/compare/v0.5.0...v0.5.1) (2022-08-05)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * bundle ([f80e617](https://github.com/BlackGlory/fcdns/commit/f80e6170e3cd50488992a47615b8c8e150c0609c))
11
+
12
+ ## [0.5.0](https://github.com/BlackGlory/fcdns/compare/v0.4.5...v0.5.0) (2022-08-05)
13
+
14
+
15
+ ### ⚠ BREAKING CHANGES
16
+
17
+ * Old route cache and test cache are discarded.
18
+
19
+ ### Features
20
+
21
+ * **scripts:** add scripts ([2caea3b](https://github.com/BlackGlory/fcdns/commit/2caea3b4e3c945cc450371b378bc630f9f8185a1))
22
+ * set process.title ([ea17e1b](https://github.com/BlackGlory/fcdns/commit/ea17e1bae4d70f85a0e7337fed577f34ae8298fe))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * scripts ([b664c6b](https://github.com/BlackGlory/fcdns/commit/b664c6b0bd2dc2e66e694b7d07bc1f56a961f18d))
28
+ * the syntax of option ([208c2c8](https://github.com/BlackGlory/fcdns/commit/208c2c8133859a2f2c18c74277a4de9e6e314a50))
29
+
30
+
31
+ * replace NDJSON with extra-disk-cache ([01c33ac](https://github.com/BlackGlory/fcdns/commit/01c33accaec74851ad68431adf524137d7dac7ab))
32
+
33
+ ### [0.4.5](https://github.com/BlackGlory/fcdns/compare/v0.4.4...v0.4.5) (2022-07-30)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * cli ([abaa8c5](https://github.com/BlackGlory/fcdns/commit/abaa8c5344527605ffe4f2cb702f410f51b04bb7))
39
+
40
+ ### [0.4.4](https://github.com/BlackGlory/fcdns/compare/v0.4.3...v0.4.4) (2022-07-30)
41
+
42
+ ### [0.4.3](https://github.com/BlackGlory/fcdns/compare/v0.4.2...v0.4.3) (2022-07-30)
43
+
44
+ ### [0.4.2](https://github.com/BlackGlory/fcdns/compare/v0.4.1...v0.4.2) (2022-07-26)
45
+
46
+
47
+ ### Features
48
+
49
+ * add timeout option ([42e044b](https://github.com/BlackGlory/fcdns/commit/42e044b972e6a99739d078fb085814fb5ff67929))
50
+
51
+ ### [0.4.1](https://github.com/BlackGlory/fcdns/compare/v0.4.0...v0.4.1) (2022-07-25)
52
+
53
+
54
+ ### Bug Fixes
55
+
56
+ * cli options ([0b4fa30](https://github.com/BlackGlory/fcdns/commit/0b4fa30ea4b41248a2593c5719030bcb2b55c5ea))
57
+
58
+ ## [0.4.0](https://github.com/BlackGlory/fcdns/compare/v0.3.16...v0.4.0) (2022-07-25)
59
+
60
+
61
+ ### ⚠ BREAKING CHANGES
62
+
63
+ * - Remove loose mode, because it doesn't work very well
64
+ - Remove microcaching, as caching is best implemented as a relay server
65
+
66
+ ### Features
67
+
68
+ * remove loose mode and microcaching ([986e58f](https://github.com/BlackGlory/fcdns/commit/986e58f4cc88ab3c77f3149e7a5dc644ee370d79))
69
+
70
+ ### [0.3.16](https://github.com/BlackGlory/fcdns/compare/v0.3.15...v0.3.16) (2022-07-25)
71
+
72
+ ### [0.3.15](https://github.com/BlackGlory/fcdns/compare/v0.3.14...v0.3.15) (2022-04-16)
73
+
74
+
75
+ ### Bug Fixes
76
+
77
+ * hostname blacklist ([0e21a21](https://github.com/BlackGlory/fcdns/commit/0e21a214c13633ee4a3b2fe6353ae97d72f3fa65))
78
+
79
+ ### [0.3.14](https://github.com/BlackGlory/fcdns/compare/v0.3.13...v0.3.14) (2022-04-16)
80
+
81
+
82
+ ### Features
83
+
84
+ * add hostname blacklist ([f196de1](https://github.com/BlackGlory/fcdns/commit/f196de13e742935ccdf4f67e1b54f73b057e15e8))
85
+
86
+
87
+ ### Bug Fixes
88
+
89
+ * make hostname list files optional ([ab2352f](https://github.com/BlackGlory/fcdns/commit/ab2352ff55dd05f947fa8eedd9dc6706e36c67ad))
90
+
91
+ ### [0.3.13](https://github.com/BlackGlory/fcdns/compare/v0.3.12...v0.3.13) (2022-04-01)
92
+
93
+ ### [0.3.12](https://github.com/BlackGlory/fcdns/compare/v0.3.11...v0.3.12) (2022-03-26)
94
+
95
+
96
+ ### Bug Fixes
97
+
98
+ * try fix the out of range problem about SOA serial ([ebc5275](https://github.com/BlackGlory/fcdns/commit/ebc5275cd7ec3074e07558b52ca93d492919f07c))
99
+
100
+ ### [0.3.11](https://github.com/BlackGlory/fcdns/compare/v0.3.10...v0.3.11) (2022-03-26)
101
+
102
+
103
+ ### Bug Fixes
104
+
105
+ * make sure to throw errors ([85ee589](https://github.com/BlackGlory/fcdns/commit/85ee58964c0b20df765c1d61dc4e3fb5e2c95dfd))
106
+
107
+ ### [0.3.10](https://github.com/BlackGlory/fcdns/compare/v0.3.9...v0.3.10) (2022-03-23)
108
+
109
+
110
+ ### Bug Fixes
111
+
112
+ * edge case ([9162617](https://github.com/BlackGlory/fcdns/commit/9162617e2ace75b22e418674320f79858bbdc959))
113
+
114
+ ### [0.3.9](https://github.com/BlackGlory/fcdns/compare/v0.3.8...v0.3.9) (2022-03-20)
115
+
116
+
117
+ ### Bug Fixes
118
+
119
+ * logging ([4902a1f](https://github.com/BlackGlory/fcdns/commit/4902a1f1390a83d02dbbf48395c74d791f5f27da))
120
+
121
+ ### [0.3.8](https://github.com/BlackGlory/fcdns/compare/v0.3.7...v0.3.8) (2022-03-20)
122
+
123
+
124
+ ### Bug Fixes
125
+
126
+ * logging ([21a71d5](https://github.com/BlackGlory/fcdns/commit/21a71d5988da3b32564b058be51fe98366bb3ccf))
127
+
128
+ ### [0.3.7](https://github.com/BlackGlory/fcdns/compare/v0.3.6...v0.3.7) (2022-03-20)
129
+
130
+
131
+ ### Bug Fixes
132
+
133
+ * forward entire response instead of answers ([326fbaf](https://github.com/BlackGlory/fcdns/commit/326fbaf40bc028bdd8c1d3b7c5c540430aa0e7dd))
134
+
135
+ ### [0.3.6](https://github.com/BlackGlory/fcdns/compare/v0.3.5...v0.3.6) (2022-03-03)
136
+
137
+ ### [0.3.5](https://github.com/BlackGlory/fcdns/compare/v0.3.4...v0.3.5) (2022-02-28)
138
+
139
+ ### [0.3.4](https://github.com/BlackGlory/fcdns/compare/v0.3.3...v0.3.4) (2022-02-28)
140
+
141
+ ### [0.3.3](https://github.com/BlackGlory/fcdns/compare/v0.3.2...v0.3.3) (2022-01-02)
142
+
143
+ ### [0.3.2](https://github.com/BlackGlory/fcdns/compare/v0.3.1...v0.3.2) (2021-12-21)
144
+
145
+ ### [0.3.1](https://github.com/BlackGlory/fcdns/compare/v0.3.0...v0.3.1) (2021-12-17)
146
+
147
+ ## [0.3.0](https://github.com/BlackGlory/fcdns/compare/v0.2.7...v0.3.0) (2021-12-17)
148
+
149
+
150
+ ### ⚠ BREAKING CHANGES
151
+
152
+ * - The minimum version is Node.js v16
153
+
154
+ * upgrade dependencies ([c9072dc](https://github.com/BlackGlory/fcdns/commit/c9072dc80e8f6867aca7f0a9d05abec154195f21))
155
+
156
+ ### [0.2.7](https://github.com/BlackGlory/fcdns/compare/v0.2.6...v0.2.7) (2021-12-12)
157
+
158
+ ### [0.2.6](https://github.com/BlackGlory/fcdns/compare/v0.2.5...v0.2.6) (2021-10-17)
159
+
160
+ ### [0.2.5](https://github.com/BlackGlory/fcdns/compare/v0.2.4...v0.2.5) (2021-10-14)
161
+
162
+ ### [0.2.4](https://github.com/BlackGlory/fcdns/compare/v0.2.3...v0.2.4) (2021-10-06)
163
+
164
+
165
+ ### Features
166
+
167
+ * add loose mode ([561f7f9](https://github.com/BlackGlory/fcdns/commit/561f7f9181a5bd76e5093ed5e7fc65daadd4702d))
168
+
169
+ ### [0.2.3](https://github.com/BlackGlory/fcdns/compare/v0.2.2...v0.2.3) (2021-09-18)
170
+
171
+ ### [0.2.2](https://github.com/BlackGlory/fcdns/compare/v0.2.1...v0.2.2) (2021-07-12)
172
+
173
+
174
+ ### Bug Fixes
175
+
176
+ * isHostnamePattern ([eee8e03](https://github.com/BlackGlory/fcdns/commit/eee8e03703e4cac962db6b2d05965f877051c30b))
177
+
178
+ ### [0.2.1](https://github.com/BlackGlory/fcdns/compare/v0.2.0...v0.2.1) (2021-07-09)
179
+
180
+
181
+ ### Features
182
+
183
+ * improve hostname pattern ([f86b9a6](https://github.com/BlackGlory/fcdns/commit/f86b9a64c92160dc5995fa1dc77e0a1f2c1daa3d))
184
+
185
+ ## [0.2.0](https://github.com/BlackGlory/fcdns/compare/v0.1.6...v0.2.0) (2021-07-09)
186
+
187
+
188
+ ### ⚠ BREAKING CHANGES
189
+
190
+ * rename whitelist.txt to ip-whitelist.txt
191
+
192
+ ### Features
193
+
194
+ * add hostname whitelist ([f96d2f3](https://github.com/BlackGlory/fcdns/commit/f96d2f38daf1506e168d7e380b09edad87165d06))
195
+ * support to parse ip addresses in whitelist ([10024db](https://github.com/BlackGlory/fcdns/commit/10024db45acb5201f67ecc64a7e2cf54ade396b4))
196
+
197
+ ### [0.1.6](https://github.com/BlackGlory/fcdns/compare/v0.1.5...v0.1.6) (2021-05-17)
198
+
199
+ ### [0.1.5](https://github.com/BlackGlory/fcdns/compare/v0.1.4...v0.1.5) (2021-05-14)
200
+
201
+ ### [0.1.4](https://github.com/BlackGlory/fcdns/compare/v0.1.3...v0.1.4) (2021-05-08)
202
+
203
+ ### [0.1.3](https://github.com/BlackGlory/fcdns/compare/v0.1.2...v0.1.3) (2021-05-08)
204
+
205
+ ### [0.1.2](https://github.com/BlackGlory/fcdns/compare/v0.1.1...v0.1.2) (2021-04-22)
206
+
207
+
208
+ ### Bug Fixes
209
+
210
+ * handle uncaught errors ([a324ed8](https://github.com/BlackGlory/fcdns/commit/a324ed8241feb1aab029b5bd23d3f792bce42c58))
211
+
212
+ ### [0.1.1](https://github.com/BlackGlory/fcdns/compare/v0.1.0...v0.1.1) (2021-04-14)
213
+
214
+ ## 0.1.0 (2021-04-12)
215
+
216
+
217
+ ### Features
218
+
219
+ * init ([5185bb9](https://github.com/BlackGlory/fcdns/commit/5185bb9103536124b15192b340bd0a91d1eb49af))
package/README.md CHANGED
@@ -14,20 +14,19 @@ Usage: fcdns [options]
14
14
  DNS relay server with fact-checking.
15
15
 
16
16
  Options:
17
- -V, --version output the version number
17
+ -V, --version output the version number
18
18
  --test-server <server>
19
19
  --untrusted-server <server>
20
20
  --trusted-server <server>
21
- --port [port] (default: "53")
22
- --timeout [seconds] (default: "30")
23
- --ip-whitelist [filename] (default: "ip-whitelist.txt")
24
- --hostname-whitelist [filename] (default: "hostname-whitelist.txt")
25
- --hostname-blacklist [filename] (default: "hostname-blacklist.txt")
26
- --route-cache [filename] (default: "route.txt")
27
- --test-cache [filename] (default: "test.txt")
28
- --test-timeout [ms] (default: "200")
29
- --log [level] (default: "info")
30
- -h, --help display help for command
21
+ --port [port] (default: "53")
22
+ --timeout [seconds] (default: "30")
23
+ --ip-whitelist [filename] (default: "ip-whitelist.txt")
24
+ --hostname-whitelist [filename] (default: "hostname-whitelist.txt")
25
+ --hostname-blacklist [filename] (default: "hostname-blacklist.txt")
26
+ --cache [filename] (default: "cache.db")
27
+ --test-timeout [ms] (default: "200")
28
+ --log [level] (default: "info")
29
+ -h, --help display help for command
31
30
  ```
32
31
 
33
32
  Example: