Exchange服务器配置 关于多域名下如何设置PTR的问题
诗诗 2018-03-14 来源 :网络 阅读 1197 评论 0

摘要:摘要: 找了很多网页, 有效的是MX可以设置不同的域名,但PTR只设置一个即可。。。 如果设置为一个IP为两个PTR,则在进行测试时,会发生DNS ROBBINS,这里就将教你Exchange服务器配置中多域名问题。

摘要: 找了很多网页, 有效的是MX可以设置不同的域名,但PTR只设置一个即可。。。 如果设置为一个IP为两个PTR,则在进行测试时,会发生DNS ROBBINS,这里就将教你Exchange服务器配置中多域名问题。

 

I know this is an old thread, but recently had a customer request multiple PTR names for a single IP, and they keep coming back asking, is it done, is it done? Like the kid in the back seat, are we there yet? They keep doing an nslookup on the IP and it keeps coming back with only one name. Well, duh, thats how it works.

To answer this correctly after doing hours of research and finding the correct answer, I thought I would share.

The correct method of doing a PTR record for a mail server with multiple domains using one single IP, IE a hosted mail server, use the servers host name for the PTR record. What you can do to verify my answer, send an email from each domain off that server to an account you have access to and look at the headers. You will find that the received from server name will all be the same, the servers name. When a receiving server looks at an email it will be looking at the headers, and will run a PTR check against the name found in the header, in most case, all the server needs to allow it through is for a name to come back, regardless if it matches or not. For servers that have strict anti-spam filters, it does an actual name match, PTR to server name, and if it isn't and exact match, will reject it. It gets that name from the headers. Check it out, look at the headers of some emails you have, chances are the server name matches the forward lookup for most emails, but you will find a few that don't.


这都是观念不够所致, 我的 sendmail 有十几个 domain , 但因为我的 hostname 叫 twnic.net.tw 所以我反解只要设 twnic.net.tw 就可以了,至于其他的名字都不需要  因为 hostname 就是你的 ehlo/helo name


你设多个,依 DNS Round Robin 特性怎能保证这次的 ehlo 或 mail from 一定和 PTR 能 match 呢 ! 所以只要一个,就是 hostname 那一个,而 hostname 解出来的 IP 是 MTA 的 IP

 

希望这篇文章可以帮助到你。总之,同学们,你想要的职坐标IT频道都能找到!

本文由 @诗诗 发布于职坐标。未经许可,禁止转载。
喜欢 | 0 不喜欢 | 0
看完这篇文章有何感觉?已经有0人表态,0%的人喜欢 快给朋友分享吧~
评论(0)
后参与评论

您输入的评论内容中包含违禁敏感词

我知道了

助您圆梦职场 匹配合适岗位
验证码手机号,获得海同独家IT培训资料
选择就业方向:
人工智能物联网
大数据开发/分析
人工智能Python
Java全栈开发
WEB前端+H5

请输入正确的手机号码

请输入正确的验证码

获取验证码

您今天的短信下发次数太多了,明天再试试吧!

提交

我们会在第一时间安排职业规划师联系您!

您也可以联系我们的职业规划师咨询:

小职老师的微信号:z_zhizuobiao
小职老师的微信号:z_zhizuobiao

版权所有 职坐标-一站式IT培训就业服务领导者 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
 沪公网安备 31011502005948号    

©2015 www.zhizuobiao.com All Rights Reserved

208小时内训课程