Answer the question
In order to leave comments, you need to log in
Question about ptr?
I need to check the domain for a fake email address like [email protected] What does the mat.chast tell me:
In order to reduce the volume of unsolicited email (spam), many email recipient servers can check for a PTR record for the host from which it is being sent. In this case, the PTR record for the IP address must match the name of the sending mail server that it is presented to during the SMTP session.
ping gmail.com
PING gmail.com (216.58.209.37) 56(84) bytes of data.
64 bytes from waw02s05-in-f37.1e100.net (216.58.209.37): icmp_seq=1 ttl=51 time=36.3
ms =51 time=36.0 ms
64 bytes from waw02s05-in-f37.1e100.net (216.58.209.37): icmp_seq=3 ttl=51 time=36.5 ms
dig -x 216.58.209.37
37.209.58.216.in-addr.arpa. 86129 IN PTR waw02s05-in-f5.1e100.net.
37.209.58.216.in-addr.arpa. 86129 IN PTR waw02s05-in-f37.1e100.net.
37.209.58.216.in-addr.arpa. 86129 IN PTR waw02s05-in-f37.1e100.net.
37.209.58.216.in-addr.arpa. 86129 IN PTR waw02s05-in-f5.1e100.net.
Answer the question
In order to leave comments, you need to log in
You don't have to look at who sends you letters.
ptr record, it's just a record by which you can find out the name through Ip. Those are writeback.
in dig look dig -x 77.88.21.3 +short
you can check by ip that there is a writeback. But for mail today, this is not the most relevant. Sometimes, for example, it is impossible to write back for various reasons, so they introduced SPF / DKIM / DMARC, etc.
Further, there may be several servers for various reasons, for example, the
Received header: from mail-ua0-x249.google.com (mail-ua0-x249.google.com. [2607:f8b0:400c:c08::249])
by mx .google.com with ESMTPS id e3si2268363vkg.44.2017.07.26.07.34.05
or
Received: from mail-wr0-x233.google.com (mail-wr0-x233.google.com. [2a00:1450:400c:c0c::233])
by mx.google.com with ESMTPS id 35si17517304wrd.219.2017.07.26 .14.45.01
or, for example, from habr
Received: from mxs.habramail.net (mxs.habramail.net. [2001:1af8:4010:a087:22::169])
by mx.google.com with ESMTPS id g48si12255511edb. 194.2017.07.26.14.44.59
If we check the PTR, then everything will be OK.
Well, the mail server can be responsible for different domains. The MX record is responsible for this.
For example, by setting up yandex or google mail servers, you can (after confirmation) receive mail for your domain using their servers.
It is necessary to look not at the host of the web interface, but at the host - the sender of the mail.
For example, here is one of them from the Exim log
Accordingly, we check.
[email protected]:~ # host mail-oi0-x22d.google.com
mail-oi0-x22d.google.com has IPv6 address 2607:f8b0:4003:c06::22d
[email protected]:~ # host -t ptr 2607:f8b0:4003:c06::22d
d.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.6.0.c.0.3.0.0.4.0.b.8.f.7.0.6.2.ip6.arpa domain name pointer mail-oi0-x22d.google.com.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question