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
@@ -177,7 +177,7 @@ The GUI client does not use socks5 and http proxy mode, so there is no issue wit
177
177
178
178
> Note: When we talk about addresses, we mean addresses that include the port number, such as a domain address: `google.com:443`, or an IP address: `8.8.8.8:53`
179
179
180
-

180
+

181
181
182
182
1. When an app requests a domain address, such as `google.com:443`
183
183
2. It will first perform a DNS resolution, which means that the app will send a network request to the system-configured DNS, such as `8.8.8.8:53`, to inquire about the IP of `google.com`
@@ -192,7 +192,7 @@ In the above process, the app actually makes two network requests: one to the IP
192
192
193
193
Brook has a Fake DNS feature default, which can parse the domain name out of the query requests that an app sends to the system DNS UDP 53 and decide how to respond to the app.
194
194
195
-

195
+

196
196
197
197
1. When an app requests a domain name address, such as `google.com:443`
198
198
2. A DNS resolution will be performed first. That is, the app will send a network request to the system-configured DNS, such as `8.8.8.8:53`, to inquire about the IP of `google.com`
Copy file name to clipboardExpand all lines: docs/client.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ The GUI client does not use socks5 and http proxy mode, so there is no issue wit
17
17
18
18
> Note: When we talk about addresses, we mean addresses that include the port number, such as a domain address: `google.com:443`, or an IP address: `8.8.8.8:53`
19
19
20
-

20
+

21
21
22
22
1. When an app requests a domain address, such as `google.com:443`
23
23
2. It will first perform a DNS resolution, which means that the app will send a network request to the system-configured DNS, such as `8.8.8.8:53`, to inquire about the IP of `google.com`
@@ -32,7 +32,7 @@ In the above process, the app actually makes two network requests: one to the IP
32
32
33
33
Brook has a Fake DNS feature default, which can parse the domain name out of the query requests that an app sends to the system DNS UDP 53 and decide how to respond to the app.
34
34
35
-

35
+

36
36
37
37
1. When an app requests a domain name address, such as `google.com:443`
38
38
2. A DNS resolution will be performed first. That is, the app will send a network request to the system-configured DNS, such as `8.8.8.8:53`, to inquire about the IP of `google.com`
<p>brook dnsserver, dohserver, dnsserveroverbrook, server, wsserver, wssserver, quicserver can use script to do more complex thing. brook will pass different <em>global variables</em> to the script at different times, and the script only needs to assign the processing result to the global variable <code>out</code></p>
<p>Note: When we talk about addresses, we mean addresses that include the port number, such as a domain address: <code>google.com:443</code>, or an IP address: <code>8.8.8.8:53</code></p>
<li>When an app requests a domain address, such as <code>google.com:443</code></li>
1782
1782
<li>It will first perform a DNS resolution, which means that the app will send a network request to the system-configured DNS, such as <code>8.8.8.8:53</code>, to inquire about the IP of <code>google.com</code></li>
<p>In the above process, the app actually makes two network requests: one to the IP address <code>8.8.8.8:53</code> and another to the IP address <code>1.2.3.4:443</code>. In other words, the domain name is essentially an alias for the IP, and must obtain the domain's IP to establish a connection.</p>
1789
1789
<h2id="with-brook">With Brook</h2>
1790
1790
<p>Brook has a Fake DNS feature default, which can parse the domain name out of the query requests that an app sends to the system DNS UDP 53 and decide how to respond to the app.</p>
<li>When an app requests a domain name address, such as <code>google.com:443</code></li>
1794
1794
<li>A DNS resolution will be performed first. That is, the app will send a network request to the system-configured DNS, such as <code>8.8.8.8:53</code>, to inquire about the IP of <code>google.com</code></li>
0 commit comments