We have recently begun replacing our AWS ubuntu 16.04 instances with 18.04 AMI. The 18.04 instance running the java driver fails Route53 DNS lookups. On 16.04 the driver works as expected.
Verified the Java version is the same on both hosts.
DNS resolves fine at the host level from nslookup. The nomad client service is running as root.
We have updated updated the resolve.conf symlink in /etc to force using the proper dns server IPs.
Any suggestions on next steps?