You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,27 @@ Daze is implemented in pure Go language, so it can run on almost any operating s
47
47
0. Chrome. Chrome does not support setting proxies, so a third-party plugin must be used. [Proxy SwitchyOmega](https://chrome.google.com/webstore/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif?hl=en) works very well.
48
48
0. Firefox can configure a proxy in `Connection Settings` -> `Manual proxy configuration` -> `SOCKSv5 Host=127.0.0.1` and `Port=1080`. If you see an option `Use remote DNS` on the page, check it.
49
49
50
+
## Configuration: Bandwidth Limiter
51
+
52
+
You can limit the maximum bandwidth used by daze. Generally speaking, for daze server, it is recommended to set the bandwidth to a value slightly smaller than the physical bandwidth.
53
+
54
+
```sh
55
+
# For daze server, set -b 320k if your physical bandwidth is 3M, where 320 = 3 * 1024 / 8 - 64.
56
+
$ daze server ... -b 320k
57
+
# For daze client, in most cases no configuration is necessary.
58
+
$ daze client ...
59
+
```
60
+
61
+
## Configuration: DNS
62
+
63
+
The DNS server and DNS protocol used by daze can be specified through command line parameters.
64
+
65
+
-`DNS: daze ... -dns 1.1.1.1:53`
66
+
-`DoT: daze ... -dns 1.1.1.1:853`
67
+
-`DoH: daze ... -dns https://1.1.1.1/dns-query`
68
+
69
+
This [article](https://www.cloudflare.com/learning/dns/dns-over-tls/) briefly describes the difference between them.
70
+
50
71
## Configuration: Protocols
51
72
52
73
Daze currently has 4 protocols.
@@ -117,27 +138,6 @@ Daze also uses a CIDR(Classless Inter-Domain Routing) file to route addresses. T
117
138
118
139
By default, daze has configured rule.cidr for China's mainland. You can update it manually via `daze gen cn`, this will pull the latest data from [http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest](http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest).
119
140
120
-
## Configuration: DNS
121
-
122
-
The DNS server and DNS protocol used by daze can be specified through command line parameters.
123
-
124
-
-`DNS: daze ... -dns 1.1.1.1:53`
125
-
-`DoT: daze ... -dns 1.1.1.1:853`
126
-
-`DoH: daze ... -dns https://1.1.1.1/dns-query`
127
-
128
-
This [article](https://www.cloudflare.com/learning/dns/dns-over-tls/) briefly describes the difference between them.
129
-
130
-
## Configuration: Bandwidth Limiter
131
-
132
-
You can limit the maximum bandwidth used by daze. Generally speaking, for daze server, it is recommended to set the bandwidth to a value slightly smaller than the physical bandwidth.
133
-
134
-
```sh
135
-
# For daze server, set -b 320k if your physical bandwidth is 3M, where 320 = 3 * 1024 / 8 - 64.
136
-
$ daze server ... -b 320k
137
-
# For daze client, in most cases no configuration is necessary.
0 commit comments