I'm using WebClient (from Spring-Weblux) and currently it caches DNS for 30 mins.
I don't see any information how to reduce this DNS cache. How can I reduce it to 30sec?
HttpClient client = HttpClient.create().responseTimeout(Duration.ofMillis(connectionTimeout))
.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, connectionTimeout);
WebClient serviceWebClient = WebClient.builder().clientConnector(neweactorClientHttpConnector(client))
.baseUrl(deployedServiceHost).build();