How we can disable reverse dns lookup

General support questions
Post Reply
shagun
Posts: 43
Joined: 2016/11/04 12:30:30

How we can disable reverse dns lookup

Post by shagun » 2018/03/12 05:40:12

Hi,

When we sent an SSL request to a machine, we could see that machine is trying to do a reverse DNS lookup on the client IP address. Its uncommon for client machines to have a ptr record on the DNS server. Some DNS servers reply immediately saying there is no ptr record. But what we see is some DNS servers don't reply if there is no ptr record causing the machine to wait till the timeout. We were able to workaround this issue by reducing the timeout in resolv.conf. Now the question we have is, how do we disable this reverse DNS lookup. We see this disabled from tomcat side. So wondering if this comes from OpenJDK.

Please help!!!

Regards,
Shagun

Post Reply