On 29.04.21 06:25, Fourhundred Thecat wrote:
Postfix does not show hostname for a connecting IP address, when the
hostname does not have reverse lookup:

Example from my log:

 warning: hostname zg-0416b-243.stretchoid.com does not resolve to
address 192.241.220.141: Name or service not known
 connect from unknown[192.241.220.141]
 timeout after EHLO from unknown[192.241.220.141]
 disconnect from unknown[192.241.220.141] ehlo=1 commands=1

It is a good thing that postfix warns me that hostname does not resolve
back to the IP, but why does it show:

 connect from unknown[192.241.220.141]

instead of

 connect from zg-0416b-243.stretchoid.com[192.241.220.141]

The IP has DNS record, so even when reverse does not work, I would like
to see the hostname that is connecting

can this be configured?

no. There's no poing in trusting reverse lookup if it's not
forward-confirmed.
Anyone can poing their reverse DNS to any domain they don't own.

Get proper reverse/forward name, possibly not generic.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
LSD will make your ECS screen display 16.7 million colors

Reply via email to