Netty using google DNS

Posted on

Hi,
I recently installed a new server with JBOSS (7.4.15) running on OracleJDK(java-17-openjdk-17.0.9.0.9-1).
I'm on a seperate network without access to "the outside".

Now I'm having an issue where Netty is using Google DNS, giving errors:

  • [io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider] (default task-1) Default DNS servers: [/8.8.8.8:53, /8.8.4.4:53] (Google Public DNS as a fallback)
  • Caused by: io.netty.resolver.dns.DnsNameResolverTimeoutException: [39905: /8.8.4.4:53] DefaultDnsQuestion("here goes the site being resolved". IN A) query '39905' via UDP timed out after 5000 milliseconds (no stack trace available).

In the latest version of JBOSS I used (7.4.0) JBOSS was using my own local DNS servers. This is the behaviour I want to have in 7.4.15 as well, but i cant figure out how to do that so some help would be welcome. :)

EDIT:
If I go to the URL in Edge I can go to the website.

Responses