|
楼主 |
发表于 2003-8-22 17:25:50
|
显示全部楼层
大家看看这段配置:
view "internal" {
// This should match our internal networks.
match-clients { 10.0.0.0/8; };
// Provide recursive service to internal clients only.
recursion yes;
// Provide a complete view of the example.com zone
// including addresses of internal hosts.
zone "example.com" {
type master;
file "example-internal.db";
};
};
view "external" {
// Match all clients not matched by the previous view.
match-clients { any; };
// Refuse recursive service to external clients.
recursion no;
// Provide a restricted view of the example.com zone
// containing only publicly accessible hosts.
zone "example.com" {
type master;
file "example-external.db";
};
};
是从bind9.org上面找来的,是不是会对我的问题有点帮助呢?不过我现在有点稀里糊涂的,还有点看不懂,希望大家指教。 |
|