bind配置

1.禁递归
options{
recursion no;
};

options{
  fetch-glue no;
}
由于bind9名称服务器并不会抓取glue记录,所以bind9不使用fetch-glue子语句.

2.限制查询
options{
  allow-query{1.1.1.1/24};
};

acl "dx_bj"{1.1.1.1/20};

zone "abc.com"{
  type slave;
  file "aaa.conf"
  ...
  allow-query {"dx_bj";};
}

猜你喜欢

转载自xiangjie88.iteye.com/blog/2328145
今日推荐