I am facing error if DNS entry is not present
at java.net.UnknownHostException: <server name>
at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at com.sshtools.net.SocketTransport.<init>(Unknown Source)

As everything is working fine if DNS entry is present where DB2 UDB is running.

Does java.net.PlainSocketImpl.connect is using forward and reverse lookup to get IP and hostname OR it requires DNS entry as mandatory? Also please suggest how to resolve the same.