Open Gaurav0411GitHub opened 2 weeks ago
@timperrett , @pjjw @mkbehr @eclesh Thanks in advance for your reply
@KBaichoo Thanks in advance for your reply. Could you please confirm, This scenario is handled in which version of envoy or how it can be solved?
We are using envoy 1.29.1, We have observed that DNS resolution in Envoy is working correctly when the order of queries is CNAME first, followed by an A record query. However, on the other hand, if the order appears to be reversed, with the A query preceding the CNAME. we are not getting dns server address.
We are getting below logs [2023-11-06 10:49:05.345][73544][debug][forward_proxy] [source/extensions/common/dynamic_forward_proxy/dns_cache_impl.cc:260] host='abcd-efg.xyz.top:80' TTL check: now=12341891452624 last_used=12341862726512 TTL 300000 [2023-11-06 10:49:05.345][73544][debug][forward_proxy] [source/extensions/common/dynamic_forward_proxy/dns_cache_impl.cc:309] starting main thread resolve for host='abcd-efg.xyz.top:80' dns='abcd-efg.xyz.top' port='80' timeout='5000' [2023-11-06 10:49:05.345][73544][debug][dns] [source/extensions/network/dns_resolver/cares/dns_impl.cc:365] dns resolution for abcd-efg.xyz.top started [2023-11-06 10:49:05.352][73544][debug][dns] [source/extensions/network/dns_resolver/cares/dns_impl.cc:154] dns resolution without records for abcd-efg.xyz.top [2023-11-06 10:49:05.352][73544][debug][dns] [source/extensions/network/dns_resolver/cares/dns_impl.cc:283] dns resolution for abcd-efg.xyz.top completed with status 0 [2023-11-06 10:49:05.352][73544][debug][forward_proxy] [source/extensions/common/dynamic_forward_proxy/dns_cache_impl.cc:330] main thread resolve complete for host 'abcd-efg.xyz.top:80': [] [2023-11-06 10:49:05.352][73544][debug][forward_proxy] [source/extensions/common/dynamic_forward_proxy/dns_cache_impl.cc:434] DNS refresh rate reset for host 'abcd-efg.xyz.top:80', refresh rate 60000 ms
Could you please let us know how can we resolve this issue?