Wildcard records support in DNS filter inline table
Add support for wildcard records in DNS filter inline table
I've tested locally and DNS filter doesn't seem to support wildcard records for inline table, e.g. snippet below does not match abc.example.com and forward request to configured resolvers.
inline_dns_table:
virtual_domains:
- name: "*.example.com"
endpoint:
address_list:
address:
- 127.0.5.5
Didn't find any other available options to configure this in docs so I assume it is not supported yet.
cc @mattklein123 @yanjunxiang-google
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
/wait
/assign @botengyao
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
@yanjunxiang-google @botengyao is there any movement around this? Is it going to be implemented or is there any consensus if this feature is desired at all?
/wait
@StupidScience AFAIK, currently dns_filter does not support wildcard DNS records in its internal table. The DNS search is based on the exact host-name matching.
@yanjunxiang-google I understand but is it going to be supported?
@StupidScience I think it will be a nice thing to have. Please feel free to contribute on this.
@yanjunxiang-google I sent https://github.com/envoyproxy/envoy/pull/34588 addressing this
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.