You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bit strange that EnvoyServerProtoData.CidrRange.create uses InetAddress.getByName, which will perform a DNS lookup when a hostname provided in addressPrefix:
sergiitk
changed the title
xds: xDS server - unnecessary dns lookup when parsing FilterChainMatch address prefixes?
xds: xDS server - unnecessary blocking dns lookup when parsing FilterChainMatch address prefixes?
Feb 27, 2025
sergiitk
changed the title
xds: xDS server - unnecessary blocking dns lookup when parsing FilterChainMatch address prefixes?
xds: xDS server - unnecessary dns lookup (blocking) when parsing FilterChainMatch address prefixes?
Feb 27, 2025
A bit strange that
EnvoyServerProtoData.CidrRange.create
usesInetAddress.getByName
, which will perform a DNS lookup when a hostname provided inaddressPrefix
:grpc-java/xds/src/main/java/io/grpc/xds/EnvoyServerProtoData.java
Lines 153 to 157 in cdab410
Should we be using Guava's
InetAddresses#forString
which is "deliberately avoids all nameservice lookups"?The text was updated successfully, but these errors were encountered: