|
2 | 2 | <div style="min-height: 100%; display: flex; flex-direction: column;"> |
3 | 3 | <div class="settingsTitle" tabindex="0">DNS SETTINGS</div> |
4 | 4 |
|
5 | | - <div class="param" tabindex="0" style="margin-bottom: 4px;"> |
6 | | - <input type="checkbox" id="dnsIsCustom" v-model="_dnsIsCustom" @input="isDnsValueChanged = true"/> |
7 | | - <label class="defColor" for="dnsIsCustom" |
8 | | - >Use custom DNS server when connected to IVPN</label |
9 | | - > |
10 | | - <button |
11 | | - class="noBordersBtn flexRow" |
12 | | - title="Help" |
13 | | - v-on:click="$refs.helpCustomDns.showModal()" |
14 | | - > |
15 | | - <img src="@/assets/question.svg" /> |
16 | | - </button> |
17 | | - <ComponentDialog ref="helpCustomDns" header="Info"> |
18 | | - <div> |
19 | | - <p> |
20 | | - You can specify one or more custom DNS servers to be used when connected to IVPN.<br/> |
21 | | - When multiple DNS servers are specified, there is no guarantee that they will be used in the order listed. |
22 | | - </p> |
23 | | - <p> |
24 | | - <strong>DNS over HTTPS (DoH)</strong> can be enabled for each DNS server individually. |
25 | | - DoH is a protocol that performs Domain Name System (DNS) resolution via HTTPS, |
26 | | - designed to increase user privacy and security by preventing eavesdropping and manipulation of DNS data. |
27 | | - </p> |
28 | | - <p> |
29 | | - <strong>Important:</strong> When enabling DoH for a DNS server, ensure that: |
30 | | - </p> |
31 | | - <ul> |
32 | | - <li>The server supports DNS over HTTPS</li> |
33 | | - <li>You provide a valid DoH template URI specific to your chosen DNS provider (check your provider's documentation for the correct endpoint)</li> |
34 | | - </ul> |
35 | | - |
36 | | - <p v-if="isShowDnsproxyDescription" class="fwDescription"> |
37 | | - <strong>Implementation:</strong> DNS over HTTPS (DoH) is implemented using dnscrypt-proxy from |
38 | | - the DNSCrypt project. Your DNS settings will be configured to |
39 | | - send requests to dnscrypt-proxy listening on localhost (127.0.0.x). |
40 | | - </p> |
41 | | - </div> |
42 | | - </ComponentDialog> |
43 | | - </div> |
44 | | - |
45 | | - <div v-if="linuxIsShowResolvConfMgmtOption"> |
| 5 | + <div v-if="linuxIsShowResolvConfMgmtOption" style="margin-top: 0px;"> |
46 | 6 | <div class="param"> |
47 | 7 | <input |
48 | 8 | type="checkbox" |
|
75 | 35 | </div> |
76 | 36 | </div> |
77 | 37 |
|
| 38 | + <div class="param" tabindex="0" style="margin-bottom: 4px;"> |
| 39 | + <input type="checkbox" id="dnsIsCustom" v-model="_dnsIsCustom" @input="isDnsValueChanged = true"/> |
| 40 | + <label class="defColor" for="dnsIsCustom" |
| 41 | + >Use custom DNS server when connected to IVPN</label |
| 42 | + > |
| 43 | + <button |
| 44 | + class="noBordersBtn flexRow" |
| 45 | + title="Help" |
| 46 | + v-on:click="$refs.helpCustomDns.showModal()" |
| 47 | + > |
| 48 | + <img src="@/assets/question.svg" /> |
| 49 | + </button> |
| 50 | + <ComponentDialog ref="helpCustomDns" header="Custom DNS information"> |
| 51 | + <div> |
| 52 | + <p> |
| 53 | + You can specify one or more custom DNS servers to be used when connected to IVPN. |
| 54 | + When multiple DNS servers are specified, the servers will be registered in the order you defined, |
| 55 | + but your operating system may select a resolver based on its own logic. |
| 56 | + </p> |
| 57 | + <p> |
| 58 | + <strong>DNS over HTTPS (DoH)</strong> can be enabled for each DNS server individually. |
| 59 | + DoH is a protocol that performs Domain Name System (DNS) resolution via HTTPS for better privacy and security. |
| 60 | + </p> |
| 61 | + <p> |
| 62 | + When enabling DoH for a DNS server, ensure that: |
| 63 | + </p> |
| 64 | + <ul> |
| 65 | + <li>The server supports DNS over HTTPS</li> |
| 66 | + <li>You provide a valid DoH template URI specific to your chosen DNS provider</li> |
| 67 | + <li>For DNS resolvers with multiple IP addresses used, they are added as separate entries with the same URI </li> |
| 68 | + </ul> |
| 69 | + |
| 70 | + <p v-if="isShowDnsproxyDescription" class="fwDescription"> |
| 71 | + <strong>Implementation:</strong> DNS over HTTPS (DoH) is implemented using dnscrypt-proxy from the DNSCrypt project. |
| 72 | + Your DNS settings will be configured to send requests to dnscrypt-proxy listening on localhost (127.0.0.x). |
| 73 | + </p> |
| 74 | + </div> |
| 75 | + </ComponentDialog> |
| 76 | + </div> |
| 77 | + |
78 | 78 | <div v-bind:class="{ disabled: dnsIsCustom === false }" style="overflow-y: auto; flex: 1; display: flex; flex-direction: column;"> |
79 | 79 |
|
80 | 80 | <div style="padding-left: 20px;"> |
|
182 | 182 | > |
183 | 183 | + Add custom DNS server |
184 | 184 | </button> |
185 | | - </div> |
186 | | - </div> |
187 | 185 |
|
188 | | - <div class="paramProps" style="margin-top: auto; margin-bottom: 20px;"> |
189 | 186 | <div class="fwDescription" tabindex="0"> |
| 187 | + Your OS may not follow the configured DNS order.<br/> |
190 | 188 | AntiTracker will override the custom DNS when enabled. |
191 | 189 | </div> |
| 190 | + |
| 191 | + </div> |
192 | 192 | </div> |
| 193 | + |
193 | 194 | </div> |
194 | 195 | </template> |
195 | 196 |
|
|
0 commit comments