jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

Is it possible to avoid DNS query on IPv6 based hostname?

Open karimlakhani opened this issue 5 months ago • 2 comments
trafficstars

Jetty version(s) Jetty 11

Enhancement Description

We noticed that when this type of request is sent, a DNS query is made for google.com. This seems to be due to the behavior of the HostPort .isValidIpAddress. Can this be changed so a DNS query is not made to the DNS resolver?

curl -v https://ourhostname/health/local -H "Host: [google.com:443]" 

karimlakhani avatar May 27 '25 20:05 karimlakhani