DNS

防止DNS污染的方法 (Windows/ macOS/ Android)

A. Windows:

Install Simple DNSCrypt(simplednscrypt.org):

/uploads/question/20200603/fea0b076006112ece80eb6056f785540.png

1. Enable DNSCrypt Service

/uploads/question/20200607/f4289d5592c519a6ef4fc0b4f131ad76.png

2. Select the appropriate network cards.

/uploads/question/20200603/e3873e96aec5a5d3bd955143ef564680.png

3. Enable DNSCrypt Mode/ Select the desired DNS resolver

/uploads/question/20200603/c49d8fc3f54a76833d410fa1ba8c0e0d.png

4.  Enable Force TCP

Optional (If the above method does not work):

/uploads/question/20200607/b3a1000f658bbdc953cf137187b0e8f2.png

5. Click manage listening address and select 127.0.0.1:53.

/uploads/question/20200607/54d6fe9a8db554d36b5e4dceff660e8b.png

6. Go to Control Panel -> Network and Internet -> Network and Sharing Centre -> Change Adaptor Settings.

/uploads/question/20200607/b88e258c078bf6e16a05d4b0690dcd68.png

7. Right click and select Properties -> Internet Protocol Version 4 (TCP/IPv4) -> Properties -> Use the following DNS server addresses.

/uploads/question/20200607/68f1abdd6ebc52b11a62e7592980aed5.png

8. Change DNS as 127.0.0.1

B. macOS:

Install Homebrew:

/uploads/question/20200603/62eaf020938d5061fda7689beef49de4.png

1. Open Terminal

/uploads/question/20200603/6ad3222e64e083564723697853bd121b.png

2. Enter command ' /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install.sh)" '

Install DNSCrypt-proxy:

/uploads/question/20200603/f6a73706d8cca98f77c0c1c7ddd3027d.png

1. Enter command "brew install dnscrypt-proxy"

Wait until installation is done.

/uploads/question/20200603/73b54436ab580009b22f20ff6a0f2dec.png

2. Enter command "brew services start dnscrypt-proxy"


/uploads/question/20200603/a785fbd23c93613e7c218a6aa52c0047.png

3. Go to Settings -> Network and enter DNS as 127.0.0.1

Click apply settings.

Go to dnsleaktest.com to see if your DNS are not from your ISP.

C. Android 9.0 or above:

/uploads/question/20200603/4205d18eb05758875bee3ed019e7a44d.png

1. Go to Settings -> Network & Internet -> Advanced -> Private DNS

/uploads/question/20200603/eb13fc86cd923b7aec3dc6b96fbab622.png

2. Select the Private DNS provider hostname option.

3. Enter 1dot1dot1dot1.cloudflare-dns.com/one.one.one.one for Cloudflare DNS/ dns.google for Google DNS/ dns.quad9.net for Quad9 DNS/ dns.adguard.com for Adguard DNS and click Save.

*Please set Private DNS as Automatic when you are connected to the VPN to prevent DNS leaks.

已邀请:

Barry 【熟练级】 - 认证:PlayBeasts社区创建者

赞同来自: band_in_china Laitinlok BAT DLFC ass

好文,置顶几天,让尽量多的人看到此贴!同时我对此页面中的两个重要网址开放了超链接设置,这样可以方便更多的用户查看。

Laitinlok 【新手级】

赞同来自: yang0207

Pushpuah

band_in_china 【熟练级】

赞同来自: ass

我发现我啥都不会弄😂最适合那种一键傻瓜操作

band_in_china 【熟练级】

赞同来自: Lucifer

按楼主的方法做了后,直接登入ivacy国际版


看YouTube贼快

/uploads/answer/20200607/c5c5c67209ea99facb1d963b4f3f1a38.jpg

不过speed测速是怎么回事?

/uploads/answer/20200607/fe49b8517bf2979d6fb240e409fc46c4.jpg

frankfukuzawa 【新手级】

赞同来自: ass

LanGna 【新手级】 - 木有

赞同来自: nvzow3iv

簡單的dnscrypt解析國内的網站時會很慢,有什麽解決辦法嗎?

yang0207 【新手级】

没有iOS的吗?

Laitinlok 【新手级】

pushpush

其实,有点麻烦。。


你可以直接用nextdns解决。


https://nextdns.io/


BAT 【新手级】

一直在用,的確大程度上避免了DNS污染

band_in_china 【熟练级】

研究研究电脑怎么操作


*Please disable service when you are connected to the VPN to prevent DNS leaks.

这句话意思是连接VPN后禁用哪个service?

开一个桥接网络模式的虚拟机,这样就不用担心了

恕我直言,我经过配置以后好像并没有改善VPN的连接成功率。确实用dnsleaktest.com和Astrill的DNS泄露测试工具测出来完全已经是国外的DNS了,但是原来该连不上的服务器使用DNS Crypt以后还是连不上,原来能连上的也还是可以连接,速度并没有明显改善。By the way,我用的是ivacy

要回复问题请先登录注册