Closed jowerner closed 2 years ago
Since version 3.x, dnsjava asks Windows via a native API to get the platform name server. To this end, it uses the jna
library. Since jna is just an optional dependency of dnsjava, it does not make it into XLT automatically. We have to ensure that it is deployed alongside dnsjava.
XLT may use dnsjava as an alternative DNS resolver. The dnsjava-based implementation queries either one of the configured name servers or the system's default name server if no specific server was configured. The latter does not work reliably on Windows so dnsjava might end up with no name server, resulting in an UnknownHostException. Happens since #24.
Workaround: Configure a name server as follows.