-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
35 lines (33 loc) · 1.11 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// eslint-disable-next-line import/no-named-default
import { default as Conf } from 'conf'
const PROJECT_NAME = 'nsrace'
const DEFAULT_CONFIG = {
// Check https://public-dns.info/ for more servers.
// And https://public-dns.info/nameserver/cn.html too.
servers: {
dns: [
'117.50.11.11', // OneDNS
'223.5.5.5', // Ali Public DNS
'119.29.29.29', // DNSPod Public DNS+
'180.76.76.76', // Baidu Public DNS
'101.226.4.6', // DNSPai (360) - 电信
'123.125.81.6', // DNSPai (360) - 联通
'101.226.4.6', // DNSPai (360) - 移动
'101.226.4.6', // DNSPai (360) - 铁通
'101.6.6.6', // DNS666 (TUNA) - 清华大学
'1.2.4.8', // CNNIC sDNS
'8.8.8.8', // Google Public DNS
'1.1.1.1', // Cloudflare DNS
'4.2.2.1', // Level 3 Public DNS
'9.9.9.9', // Quad9
'208.67.222.222', // OpenDNS
],
doh: [
'1.1.1.1', // Cloudflare DNS
'8.8.8.8', // Google Public DNS
'9.9.9.9', // Quad9
'208.67.222.222', // OpenDNS
],
},
}
export const config = new Conf({ projectName: PROJECT_NAME, defaults: DEFAULT_CONFIG })