DNS

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

A. Windows:

Install Simple DNSCrypt(simplednscrypt.org):


1. Enable DNSCrypt Service


2. Select the appropriate network cards.


3. Enable DNSCrypt Mode/ Select the desired DNS resolver


4.  Enable Force TCP

Optional (If the above method does not work):


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


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


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


8. Change DNS as 127.0.0.1

B. macOS:

Install Homebrew:


1. Open Terminal


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

Install DNSCrypt-proxy:


1. Enter command "brew install dnscrypt-proxy"

Wait until installation is done.


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



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:


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


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 【资深级】 - 换个头像,换个心情...

赞同来自: band_in_china Laitinlok BAT DLFC ass Cat Biyougong RDaneelOlivaw chestnut更多 »

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

band_in_china 【资深级】

赞同来自: ass gcy

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

band_in_china 【资深级】

赞同来自: Lucifer Biyougong

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


看YouTube贼快


不过speed测速是怎么回事?


Laitinlok 【熟练级】

赞同来自: yang0207

Pushpuah

BAT 【入门级】

赞同来自: Biyougong

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

frankfukuzawa 【入门级】

赞同来自: ass

LanGna 【新手级】 - 木有

赞同来自: nvzow3iv

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

Biyougong 【熟练级】 - fa有问题私信我,买了这款的都知道

赞同来自: Laitinlok

很好的技巧,对Openvpn-gui手配有极大改善。我的bulletvpn156个服务器之前手配一个都连不上,使用此方法后连上了至少108个

yang0207 【入门级】

没有iOS的吗?

Laitinlok 【熟练级】

pushpush

其实,有点麻烦。。


你可以直接用nextdns解决。


https://nextdns.io/


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

要回复问题请先登录注册