利用dingo解决dns污染问题

在mac机器上。

wget https://github.com/pforemski/dingo/releases/download/0.13/dingo-darwin-amd64
chmod 755 dingo-darwin-amd64
./dingo-darwin-amd64 --help会出现dingo的参数说明.

 

使用实例:

sudo wg-quick up wg0
sudo networksetup -setdnsservers "Wi-Fi" 127.0.0.1

sudo ~/dingo-darwin-amd64 -port 53 -odns:server 67.215.70.81 -odns:workers 2 or:

sudo ~/dingo-darwin-amd64 -port 53 -odns:host api.openresolve.com -odns:workers 2