测试可以zone里面使用include
--------------------------------------
语法是这样的
--------------------------------------
[root@localhost named]# cat Domain.com.dom
$ORIGIN .
$TTL 7200 ; 2 hours
Domain.com IN SOA ns1.25000.net. u25000.25000.net. (
2000091907 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
7200 ; minimum (2 hours)
)
NS ns1.25000.net.
NS ns2.25000.net.
A 202.108.32.81
MX 10 mail.Domain.com.
$ORIGIN Domain.com.
$INCLUDE Domain.com.dom.include
=======================================================
[root@localhost named]# cat Domain.com.dom.include
ftp A 202.108.32.81
mail A 211.152.51.95
www A 202.108.32.81
--------------------------------------
这样mx记录和www记录都能生效