|
我想让我的squirrelmail能正常运着http://xxx.3322.org/mail/squirrelmail ,便配制dns,请各位大侠帮看看哪些出错,哪些是多余的,不胜感激,
named.conf
我的网站的域名是xxx.3322.org,网关比如是202.111.20.3,ip比如是202.111.77.177
是不是应该这么设置
zone "xxx.3322.org" {
type master;
file "named.host";
};
zone "77.111.202.in-addr.arpa" {
type master;
file "name.202.111.77";
};
配制
host.conf如下
order hosts,bind
multi off
配制
/etc/resolv.conf如下
nameserver 202.111.20.3
search abcxyz.3322.org
domain abcxyz.3322.org
然后配制
named.host
$TTL 86400
@ IN SOA xxx.3322.org. root.xxx.3322.org. (
2002042302; serial
28800; refresh
14400; retry
3600000; expire
86400; minimu
)
IN NS xxx.3322.org.
配制name.202.111.77
TTL 43200
@ IN SOA abcxyz.3322.org. root.abcxyz.3322.org. (
2002042302; serial
28800; refresh
14400; retry
3600000; expire
86400; minimu
)
IN NS xxx.3322.org. |
|