Request to path returning 404 for trailing dot domain #6334
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/needs-triage
Indicates that an issue needs to be triaged by a project contributor.
What steps did you take and what happened:
Configured an HttpProxy resource for a domain with a path. This was registered correctly and DNS working as expected for both
my-example-domain.com
andmy-example-domain.com.
.When issuing a
curl
request to a path on my domain it returns successfully, however when using the trailing dot domain it returns a 404 as presumably it is including it as part the route/path lookup.Working:
Broken:
What did you expect to happen:
In other ingress controllers we have used this worked successfully in both scenarios.
We believe you should be able to make requests against a trailing dot domain such as this to use and resolve the domain without recursive lookups.
Anything else you would like to add:
RFC documentation on the subject:
Envoy mentions this configuration in it's documentation:
However I can see no way to set this configuration up in our Contour/Envoy deployment via the helm charts.
Environment:
contour:1.27.1
&envoy:1.27.3
kubectl version
):/etc/os-release
): DebianThe text was updated successfully, but these errors were encountered: