
问得有点不完善。可以用这个命令,设置linux下的默认dns解释服务器。
cat >/etc/resolv.conf<<eofnameserver 114.114.114.114
nameserver 8.8.8.8
nameserver 208.67.222.222
nameserver 198.153.192.1
eof
如果是bind之类的dns服务器的话,请追问一下。
用view隔离区域数据库配置文件用match-clients匹配网段
如
view “wan” {
match-clievts { 192.168.1.0、24; };
zone “sh.com” IN {
type master
file "sh.com.wan"
}
}
view "lan" {
match-clients { 192.168.2.0/24}
zone "sh.com" IN {
type master
file "sh.com.lan"
}
}
然后分别建立区域数据库文件就好了;
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)