-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query corednse2e.com using AzureDNS as upstream server. Resp is truncated to 512 bytes, but TC flag is not set. #6370
Comments
Have you opened a bug with Azure DNS? |
Yes Chris, I have already opened a bug with Azure DNS. But this issue can happen due to any upstream DNS (custom DNS) servers (e.g. sending >512 byte responses without an eDNS0 OPT RR). So we cannot always rely on upstream DNS server and need to handle this scenario. I will try my best to explain the scenario. For example -
Similarly,
|
Created a bug here - miekg/dns#1492 Submitted a PR here - miekg/dns#1493 So will close this. |
What happened:
Use CoreDNS > v1.10.1 to query corednse2e.com using AzureDNS as upstream DNS server in an AKS cluster. Response is truncated to 512 bytes and TC flag is not set.
What you expected to happen:
Querying CoreDNS, when the response is truncated, TC flag should be set.
How to reproduce it (as minimally and precisely as possible):
Create an AKS cluster
Change the coredns version to 1.10.1 or 1.11.1
Deploy a dnsutils pod, and run nslookup corednse2e.com.
run nslookup corednse2etestaks.com. -- Works on latest from master branch
Environment:
AKS, AzureDNS
cat /etc/os-release
):The text was updated successfully, but these errors were encountered: