DNS设置邮件到两个不同的服务器

我有一个stage.domainX.comdomainX.com 。 如何将MXlogging相应地调整为发送到stage.domainX.com所有邮件都转到一个服务器(IP1 66.xx.xx.xx),而发送到domainX.com所有其他邮件转到另一个服务器(IP2 67)。 xx.xx.xx)?

 [email protected] -> IP1 [email protected] -> IP2 

确保你有邮件服务器的DNSlogging,例如:

 mail1.domainX.com. IN A 66.xx.xx.xx mail2.domainX.com. IN A 67.xx.xx.xx 

然后为每个域创build一个MXlogging:

 stage.domainX.com. IN MX 10 mail1.domainX.com. domainX.com. IN MX 10 mail2.domainX.com. 

这样做的正确方法是委托stage.domainX.com请参阅文档委托stage.domainX.com http://www.zytrax.com/books/dns/ch9/delegate.html