Page 1 of 1

Lookup external names

Posted: Thu Feb 18, 2016 11:19 am
by JamesLSEG
Hi

Can you confirm what server does the external name lookup when using the goanywhere gateway to an external resource.

We have seen for HTTP and SFTP it does the request on the gateway server and for FTP it appear to lookup request on MFT server then we get the below error message.

Caused by: java.net.UnknownHostException: Test.Rebex.Net
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1295)
at java.net.InetAddress.getAllByName0(InetAddress.java:1248)
at java.net.InetAddress.getAllByName(InetAddress.java:1164)
at java.net.InetAddress.getAllByName(InetAddress.java:1098)
at java.net.InetAddress.getByName(InetAddress.java:1048)
at org.apache.commons.net.SocketClient.connect(Unknown Source)

Can you confirm which side the name lookup request is done?

James

Re: Lookup external names

Posted: Wed Mar 02, 2016 12:51 am
by Support_Rick
James,

This is a known limitation with how our FTP client works, it tries to resolve the hostname to an IP address before connecting to the gateway. If the DNS on the MFT server can’t resolve it to an IP address, then it fails. Our suggested work around for this is to use the IP address that the hostname should resolve to if it were on the gateway server.