大网数据广告活动
服务器运维问答

Configuring a PTR record in domains.google for an SMTP server

· 52CE 我爱测

I've found several threads related to this, but they are all very dated so I want to get some clarification. I use an AWS ec2 instance with an elastic-ip, I've set up an SMTP (sendonly) mail-server using postfix on ubuntu 18.04, …

问题原文

原帖链接 · David N · CC BY-SA 4.0

I've found several threads related to this, but they are all very dated so I want to get some clarification.

I use an AWS ec2 instance with an elastic-ip, I've set up an SMTP (sendonly) mail-server using postfix on ubuntu 18.04, and I manage my DNS through domains.google. I'm setting up all my MX, SPF, dmarc/dkim records, but I'm confused in how I set up my PTR record.

When I select "PTR", it asks for a host-name and a data-field. Here is my confusion:

The PTR record is considered a reverse-DNS no? Shouldn't it be an IP address which points to my smtp.mydomain.com? When I type the IP address in the host-name field, it appends .mydomain.com so it looks something like:

###.###.###.###.mydomain.com -> smtp.mydomain.com

Should it not just be:

###.###.###.### -> smtp.mydomain.com?

已采纳解答

原帖链接 · Ackack · CC BY-SA 4.0

PTR is managed by the owner of the IP. You will need to talk with Amazon about it. The public IPv4 address you are using needs to be an Elastic IP though.

https://aws.amazon.com/blogs/aws/reverse-dns-for-ec2s-elastic-ip-addresses/

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2022-03-06)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。