关于多域名EXCHANGE如何设置PTR的问题
找了很多网页,
有效的是MX可以设置不同的域名,但PTR只设置一个即可。。。
如果设置为一个IP为两个PTR,则在进行测试时,会发生DNS ROBBINS,即一次找这个,一次找那个。
切记。
。。。。
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
最新文章
- Linux提权(1)-基础版~
- hadoop实战 -- 网站日志KPI指标分析
- Minifying Angular应用时产生的问题
- Java知多少(107)几个重要的java数据库访问类和接口
- unity中的欧拉角
- 安卓模拟器";bluestacks";在电脑上的设置.(宽,高)
- Linux笔记(十三) - 系统管理
- JMessage是让App 同时集成 Push 功能与 IM 功能最完美的方案
- mac php7.0~7.2 memcache安装
- C#设计模式之四建造者模式(Builder Pattern)【创建型】
- JS /javascript 解除网页屏蔽右键(无法复制)的代码
- 在C#中如何判断线程当前所处的状态
- 软件项目第一次sprint评论
- xor定理证明
- 8 -- 深入使用Spring -- 5...1 启用Spring缓存
- delphi正则表达式学习笔记(三)
- Java基础十--接口
- airway之workflow
- SNP问题大集锦
- linux下限制ip访问