在mac机器上,搭建go环境。然后,
cd $GOPATH
go get -u -v github.com/StalkR/dns-reverse-proxy
(可执行文件dns-reverse-proxy就会出现在$GOBIN/里面)
sudo dns-reverse-proxy -address :53 -default vps-ip:dnsmasq-port-number-on-vps
项目地址:https://github.com/StalkR/dns-reverse-proxy
-----------
在mac上,安装go环境。然后,
cd $GOPATH
go get -u -v github.com/wrouesnel/dns-over-https-proxy/cmd/dns-over-https-proxy
在$GOBIN/里面会生成可执行文件dns-over-https-proxy,
dns-over-https-proxy -h
其中有一个参数:
-default https://dns.google.com/resolve
不过,在国内是无法直接访问https://dns.google.com/resolve的,所以用不了此参数,只能把dns-over-https-proxy当作普通的dns forwarder使用:
sudo dns-over-https-proxy -address :53 -primary-dns vps-ip:dnsmasq-port-number-on-vps
项目地址:https://github.com/wrouesnel/dns-over-https-proxy
----------
在mac机器上,搭建go环境。然后,
cd $GOPATH
go get -u -v github.com/fardog/secureoperator/cmd/secure-operator
(THEN,THE executable file secure-operator will appear in $GOBIN/)
sudo ~/go1.10.2/go/bin/secure-operator --help
cd $GOPATH
go get -u -v github.com/StalkR/dns-reverse-proxy
(可执行文件dns-reverse-proxy就会出现在$GOBIN/里面)
sudo dns-reverse-proxy -address :53 -default vps-ip:dnsmasq-port-number-on-vps
项目地址:https://github.com/StalkR/dns-reverse-proxy
-----------
在mac上,安装go环境。然后,
cd $GOPATH
go get -u -v github.com/wrouesnel/dns-over-https-proxy/cmd/dns-over-https-proxy
在$GOBIN/里面会生成可执行文件dns-over-https-proxy,
dns-over-https-proxy -h
其中有一个参数:
-default https://dns.google.com/resolve
不过,在国内是无法直接访问https://dns.google.com/resolve的,所以用不了此参数,只能把dns-over-https-proxy当作普通的dns forwarder使用:
sudo dns-over-https-proxy -address :53 -primary-dns vps-ip:dnsmasq-port-number-on-vps
项目地址:https://github.com/wrouesnel/dns-over-https-proxy
----------
在mac机器上,搭建go环境。然后,
cd $GOPATH
go get -u -v github.com/fardog/secureoperator/cmd/secure-operator
(THEN,THE executable file secure-operator will appear in $GOBIN/)
sudo ~/go1.10.2/go/bin/secure-operator --help
sudo ~/go1.10.2/go/bin/secure-operator -dns-servers vps-ip:dnsmasq-port-number-on-vps -listen :53