Skip to content

Instantly share code, notes, and snippets.

@SAPikachu
Created October 9, 2011 00:18
Show Gist options
  • Save SAPikachu/1273093 to your computer and use it in GitHub Desktop.
Save SAPikachu/1273093 to your computer and use it in GitHub Desktop.
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
8.8.8.8;
8.8.4.4;
208.67.222.222;
208.67.220.220;
};
forward only;
allow-query {
192.168.0.0/16;
127.0.0.0/24;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
zone "taobao.com" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
zone "taobaocdn.com" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
zone "alisoft.com" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
zone "alicdn.com" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
zone "iask.com" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
zone "sinaedge.com" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
zone "atpanel.com" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
zone "alipay.com" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
zone "shanbay.com" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
zone "*.cn" {
type forward;
forwarders {
202.96.128.68;
202.96.128.143;
};
forward only;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment