Home
> Uncategorized > 如何在墙内做一个干净的域名解析服务器?
如何在墙内做一个干净的域名解析服务器?
配置一个转发型的域名解析服务器,通过VPN转发到国外的开放解析服务器,比如google的8.8.8.8。
以BIND为例,简单的配置如下:
编辑/etc/named.conf
options { directory "/var/named"; allow-recursion { any; }; allow-query { any; }; forwarders {8.8.8.8;8.8.4.4;}; }; 然后配置你的到国外的VPN就可以了 route add host 8.8.8.8 <ip address of your vpn gateway>
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback