From 210b8b9156a867fc131611584402ccb2229f0940 Mon Sep 17 00:00:00 2001 From: "update-envoy[bot]" <135279899+update-envoy[bot]@users.noreply.github.com> Date: Tue, 9 Jul 2024 17:31:25 +0000 Subject: [PATCH] Mirrored from envoyproxy/envoy @ 61f36812a422cecf1e056fe398e014c45b358708 Signed-off-by: update-envoy[bot] <135279899+update-envoy[bot]@users.noreply.github.com> --- envoy/COMMIT | 2 +- envoy/data/dns/v3/dns_table.pb.go | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/envoy/COMMIT b/envoy/COMMIT index f9d40b0f3d..34c0fc1a54 100644 --- a/envoy/COMMIT +++ b/envoy/COMMIT @@ -1 +1 @@ -6145b7e9cc68061aaaa1c003d6f995e3e4499269 +61f36812a422cecf1e056fe398e014c45b358708 diff --git a/envoy/data/dns/v3/dns_table.pb.go b/envoy/data/dns/v3/dns_table.pb.go index 4ee5da64f7..5eb745227b 100755 --- a/envoy/data/dns/v3/dns_table.pb.go +++ b/envoy/data/dns/v3/dns_table.pb.go @@ -586,7 +586,15 @@ type DnsTable_DnsVirtualDomain struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // A domain name for which Envoy will respond to query requests + // A domain name for which Envoy will respond to query requests. + // Wildcard records are supported on the first label only, e.g. “*.example.com“ or “*.subdomain.example.com“. + // Names such as “*example.com“, “subdomain.*.example.com“, “*subdomain.example.com“, etc + // are not valid wildcard names and asterisk will be interpreted as a literal “*“ character. + // Wildcard records match subdomains on any levels, e.g. “*.example.com“ will match + // “foo.example.com“, “bar.foo.example.com“, “baz.bar.foo.example.com“, etc. In case there are multiple + // wildcard records, the longest wildcard match will be used, e.g. if there are wildcard records for + // “*.example.com“ and “*.foo.example.com“ and the query is for “bar.foo.example.com“, the latter will be used. + // Specific records will always take precedence over wildcard records. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The configuration containing the method to determine the address of this endpoint Endpoint *DnsTable_DnsEndpoint `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`