-
Notifications
You must be signed in to change notification settings - Fork 36
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 a not exist record too slow #859
Labels
bug
Something isn't working
Comments
blue-troy
added a commit
to blue-troy/lighthouse
that referenced
this issue
Aug 29, 2022
Coredns assumes ServeDNS has written the response body unless the returned code indicates it hasn't been written as determined by ClientWrite (which is only the codes RcodeServerFailure, RcodeRefused, RcodeFormatError and RcodeNotImplemented), in which case it writes the response. If there's no next plugin, it simply returns the code but if it isn't one of the ClientWrite codes, then no response is written. If no response,client will try to resend dns request multiple times, which causes seconds delay. Fixes submariner-io#859 Signed-off-by: blue-troy <[email protected]>
aswinsuryan
pushed a commit
that referenced
this issue
Aug 31, 2022
) Coredns assumes ServeDNS has written the response body unless the returned code indicates it hasn't been written as determined by ClientWrite (which is only the codes RcodeServerFailure, RcodeRefused, RcodeFormatError and RcodeNotImplemented), in which case it writes the response. If there's no next plugin, it simply returns the code but if it isn't one of the ClientWrite codes, then no response is written. If no response,client will try to resend dns request multiple times, which causes seconds delay. Fixes #859 Signed-off-by: blue-troy <[email protected]>
aswinsuryan
pushed a commit
to aswinsuryan/lighthouse
that referenced
this issue
Nov 29, 2022
Coredns assumes ServeDNS has written the response body unless the returned code indicates it hasn't been written as determined by ClientWrite (which is only the codes RcodeServerFailure, RcodeRefused, RcodeFormatError and RcodeNotImplemented), in which case it writes the response. If there's no next plugin, it simply returns the code but if it isn't one of the ClientWrite codes, then no response is written. If no response,client will try to resend dns request multiple times, which causes seconds delay. Fixes submariner-io#859 Signed-off-by: blue-troy <[email protected]>
aswinsuryan
pushed a commit
to aswinsuryan/lighthouse
that referenced
this issue
Nov 29, 2022
Coredns assumes ServeDNS has written the response body unless the returned code indicates it hasn't been written as determined by ClientWrite (which is only the codes RcodeServerFailure, RcodeRefused, RcodeFormatError and RcodeNotImplemented), in which case it writes the response. If there's no next plugin, it simply returns the code but if it isn't one of the ClientWrite codes, then no response is written. If no response,client will try to resend dns request multiple times, which causes seconds delay. Fixes submariner-io#859 Signed-off-by: blue-troy <[email protected]>
aswinsuryan
added a commit
that referenced
this issue
Nov 29, 2022
) Coredns assumes ServeDNS has written the response body unless the returned code indicates it hasn't been written as determined by ClientWrite (which is only the codes RcodeServerFailure, RcodeRefused, RcodeFormatError and RcodeNotImplemented), in which case it writes the response. If there's no next plugin, it simply returns the code but if it isn't one of the ClientWrite codes, then no response is written. If no response,client will try to resend dns request multiple times, which causes seconds delay. Fixes #859 Signed-off-by: blue-troy <[email protected]> Co-authored-by: blue-troy <[email protected]>
mkolesnik
pushed a commit
that referenced
this issue
Dec 13, 2022
Coredns assumes ServeDNS has written the response body unless the returned code indicates it hasn't been written as determined by ClientWrite (which is only the codes RcodeServerFailure, RcodeRefused, RcodeFormatError and RcodeNotImplemented), in which case it writes the response. If there's no next plugin, it simply returns the code but if it isn't one of the ClientWrite codes, then no response is written. If no response,client will try to resend dns request multiple times, which causes seconds delay. Fixes #859 Signed-off-by: blue-troy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
** if we query a service name like nginx.default.svc.clusterset.local associate a service export, we can quickly get the result. but if a service name ends with svc.clusterset.local which not associate a service export, we will cost lots of time.**:
query a service that not export ,we will get a empty response or NXDomain quickly:
How to reproduce it (as minimally and precisely as possible):
attach into a pod ,then nslookup xxx.default.svc.clusterset.local .if we tcpdump the traffic between pod and coredns,we will see the log below:
the total time will cost about ten seconds.
Anything else we need to know?:
Environment: submariber 0.12.1
subctl diagnose all
):subctl gather
):The text was updated successfully, but these errors were encountered: