Re: Notice about moderation of uk.rec.cycling.moderated



Ian Jackson <ijackson@xxxxxxxxxxxxxxxxxxxxxx> wrote:
In article <5aadh5lq31s0583q5kbtc6jj1n5n3jsvh4@xxxxxxxxxxxxxxxxxxx>,
Mark Goodge <usenet@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
It's not a DNS issue. There's absolutely nothing in any RFC which
requires a one-to-one match between forward and reverse DNS (and nor
could there be, given that any IP address can host many different
services with differing hostnames). And, if we're talking about SMTP,
RFC 5321 section 4.1.4 says that:

An SMTP server MAY verify that the domain name argument in the EHLO
command actually corresponds to the IP address of the client.
However, if the verification fails, the server MUST NOT refuse to
accept a message on that basis.

What that means is that you're entitled to check that the domain name
in the HELO/EHLO has an A record corresponding to the IP address which
is contacting you. But there's no requirement that the IP address, in
return, is mapped (via a PTR record) to the same hostname. And, in any
case, the next clause explicitly forbids rejecting a message based on
a DNS mismatch.

My server does not violate the above requirement. In the exact words
of the RFC:

[ Although the spec says that it MAY, my server DOES NOT ]
verify that the domain name argument in the EHLO command
actually corresponds to the IP address of the client.
[ and thus the situation does not arise in which ]
the verification fails, [ and as a consequence, my ]
server [ DOES NOT EVER (as indeed it] MUST NOT [)]
refuse to accept a message on that basis.

It does perform other DNS verifications, for example that the reverse
mapping of the calling IP address corresponds to the forward mapping,
but that's not what the paragraph you are quoting is talking about.

The paragraph you quote is aimed at avoiding requiring multihomed
hosts to find out their calling IP address and somehow deciding as a
result which hostname to send in HELO. Rather a multihomed host is
entitled to provide a domain name in HELO which does not have any
obvious relationship to the calling IP address.

A multihomed host MAY provide such a name but is not REQUIRED to do so.
Your test is therefore broken. There is no requirement that a reverse
mapping should match a forward mapping so that test is also broken.

For example, mail.netunix.com and mailgate.netunix.com can dynamically
reside on several virtual machines on several physical machines and
will dynamically migrate to avoid high load averages and high disk
i/o demands.

.



Relevant Pages

  • Re: Usage Report show IP addr instead of computer names
    ... The reverse DNS look-up is only query DNS server, ... | the reverse lookups at 4:30, will that cause the Usage Report to identify ...
    (microsoft.public.windows.server.sbs)
  • Re: DCDIAG DNS Failure
    ... Without advance view I have 4 forward lookup zones and 7 reverse ... My DNS server is not multihomed. ...
    (microsoft.public.windows.server.dns)
  • Re: DNS Error
    ... HOW TO Configure DNS for Internet Access in Windows Server 2003 ... It could be caused by a lack of a reverse zone, and/or no PTR in an existing ...
    (microsoft.public.windows.server.sbs)
  • Re: DCDIAG DNS Failure
    ... so the sddcsrv03 is a DC and DNS server right? ... Then check if the records were created for the reverse and Forwarding zones. ...
    (microsoft.public.windows.server.dns)
  • Re: SSH login takes very long time...sometimes
    ... >>> dns lookup. ... that you are not matching a forward mapping to a reverse one, ... > setting up a good packet filter to filter out all but the desired ip ...
    (freebsd-stable)