Skip to content
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

CoreDNS fails valid lookups as soon as an invalid lookup is made #11938

Closed
DimitrijeManic opened this issue Jul 8, 2021 · 4 comments
Closed
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@DimitrijeManic
Copy link

DimitrijeManic commented Jul 8, 2021

CoreDNS seems to break for a few seconds every time there is an invalid nslookup.

minikube version: v1.20.0
commit: c61663e

coredns version: k8s.gcr.io/coredns:1.7.0 (I have tried k8s.gcr.io/coredns/coredns:v1.8.0 and had the same issues)

k8s version: v1.20.0

Steps to reproduce the issue:

  1. minikube start
  2. show core-dns logs
klo -l k8s-app=kube-dns -n kube-system
  1. In a separate terminal run dnstools & request a valid lookup
kubectl run -it --rm --restart=Never --image=infoblox/dnstools:latest dnstools-valid

watch -n 2 nslookup google.com
  1. In a separate terminal run dnstools & requst an invalid lookup
kubectl run -it --rm --restart=Never --image=infoblox/dnstools:latest dnstools-invalid

nslookup asdf.asdf

Full output of minikube logs command:

[ERROR] plugin/errors: 2 asdf.asdf. A: read udp 172.17.0.8:37408->192.168.65.1:53: i/o timeout
[ERROR] plugin/errors: 2 asdf.asdf. A: read udp 172.17.0.8:49789->192.168.65.1:53: i/o timeout
[ERROR] plugin/errors: 2 google.com. A: read udp 172.17.0.8:33396->192.168.65.1:53: i/o timeout
[ERROR] plugin/errors: 2 google.com. A: read udp 172.17.0.8:57661->192.168.65.1:53: i/o timeout
[ERROR] plugin/errors: 2 google.com. A: read udp 172.17.0.8:57512->192.168.65.1:53: i/o timeout
[ERROR] plugin/errors: 2 google.com. A: read udp 172.17.0.8:42618->192.168.65.1:53: i/o timeout
[ERROR] plugin/errors: 2 google.com. A: read udp 172.17.0.8:53487->192.168.65.1:53: i/o timeout

Full output of failed command:

@DimitrijeManic
Copy link
Author

I believe this is the issue and is discussed here weaveworks/weave#3287

@RA489
Copy link

RA489 commented Jul 12, 2021

/kind support

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Jul 12, 2021
@medyagh
Copy link
Member

medyagh commented Sep 1, 2021

@DimitrijeManic I am not fimmiliar with this issue
@sadlil might have better insight on this ?

I am curious did u get tot the root cause or find out more about it ?

@DimitrijeManic
Copy link
Author

@medyagh The problem turned out to be a service we were using (Cisco Umbrella) which would take over port 53 and cause issues with ingress & ingress-dns.
Related to issue #3036

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

4 participants