Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 0651d91

Browse files
committed
Update sample configurations.
1 parent 08eb718 commit 0651d91

3 files changed

Lines changed: 5 additions & 14 deletions

File tree

DNSAgent/sample-options.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"ListenOn": "127.0.0.1:53",
44
"DefaultNameServer": "8.8.8.8:53",
55
"QueryTimeout": 4000,
6-
"CompressionMutation": false
6+
"CompressionMutation": false,
7+
"CacheResponse": true,
8+
"CacheAge": 0,
9+
"NetworkWhitelist": null
710
}

DNSAgent/sample-rules.cfg

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,5 @@
88
"NameServer": "114.114.114.114:53",
99
"QueryTimeout": 1000,
1010
"CompressionMutation": false
11-
},
12-
{
13-
"Pattern": "baidu\\.com$",
14-
"Address": "127.0.0.1"
15-
},
16-
{
17-
"Pattern": "www\\.facebook\\.com$",
18-
"Address": "2a03:2880:f003:b01:face:b00c:0:1"
19-
},
20-
{
21-
"Pattern": "www\\.facebook\\.com$",
22-
"Address": "31.13.69.144"
2311
}
2412
]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ A sample configuration:
3939
### options.cfg:
4040
```
4141
{
42-
"HideOnStart": true,
42+
"HideOnStart": false,
4343
"ListenOn": "127.0.0.1:53",
4444
"DefaultNameServer": "8.8.8.8:53",
4545
"QueryTimeout": 4000,

0 commit comments

Comments
 (0)