CentOs 6 下的命名服务正在使用所有 4 个处理器的 100% 以上。我试图玩弄配置文件。我目前有大约 10 个网站。下面是一个示例
$TTL 14400
@ IN SOA ns1.mynameserver.com. hostmaster.mydomain.com. (
2012071300
14400
3600
1209600
86400 )
mydomain.com. 14400 IN NS ns1.mynameserver.com.
mydomain.com. 14400 IN NS ns2.mynameserver.com.
ftp 14400 IN A 123.218.168.8
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 123.218.168.8
pop 14400 IN A 123.218.168.8
mydomain.com. 14400 IN A 123.218.168.8
smtp 14400 IN A 123.218.168.8
www 14400 IN A 123.218.168.8
mydomain.com. 14400 IN MX 10 mail
mydomain.com. 14400 IN TXT "v=spf1 a mx ip4:123.218.168.8 ~all"
localhost 14400 IN AAAA ::1
对于 mynameserver.com
$TTL 14400
@ IN SOA ns1.mynameserver.com. hostmaster.mynameserver.com. (
2012081200
14400
3600
1209600
86400 )
mynameserver.com. 14400 IN NS ns1.mynameserver.com.
mynameserver.com. 14400 IN NS ns2.mynameserver.com.
ftp 14400 IN A 123.218.168.11
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 123.218.168.11
ns1.mynameserver.com. 14400 IN A 123.218.168.10
ns1.mynameserver.com. 14400 IN A 123.218.168.11
ns2.mynameserver.com. 14400 IN A 123.218.168.11
ns2.mynameserver.com. 14400 IN A 123.218.168.11
pop 14400 IN A 123.218.168.11
s1 14400 IN A 123.218.168.11
smtp 14400 IN A 123.218.168.11
mynameserver.com. 14400 IN A 123.218.168.11
www 14400 IN A 123.218.168.11
mynameserver.com. 14400 IN MX 10 mail
mynameserver.com. 14400 IN TXT "v=spf1 a mx ip4:123.218.168.8 ~all"
localhost 14400 IN AAAA ::1
我更改了 ip 和域,使其成为每个人的普遍问题。事情是我根本不使用邮件或 smtp,我将来可能会添加 MX 记录并依赖 gmail 例如电子邮件。删除 mail/pop/smtp/MX 记录是否安全?
根据您的经验,是什么导致了几个月的巨大 CPU 负载!