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

when primary upstream goes down all queries return REFUSED #141

Open
scarby opened this issue Sep 2, 2022 · 1 comment
Open

when primary upstream goes down all queries return REFUSED #141

scarby opened this issue Sep 2, 2022 · 1 comment

Comments

@scarby
Copy link

scarby commented Sep 2, 2022

I have installed k8s_gateway into my k8s cluster using the helm chart.

In the happy times everything is good, however if for some reason my upstream DNS (which is also in cluster) dies (in my case it had a failure pulling the image) the service responds with REFUSED and does not recover.

this is despite having the following in extraZonePlugins:

  cache 30
  rewrite edns0 subnet set 32 64
  forward . 192.168.88.51 8.8.8.8 8.8.4.4 1.1.1.1 {
    policy sequential
    max_fails 1
    health_check 1s domain google.com
  }

my understanding is that this should cause queries to be passed to 8.8.8.8 should 192.168.88.51 be down? Can anyone offer some insight here?

@networkop
Copy link
Collaborator

networkop commented Sep 3, 2022

my understanding is that this should cause queries to be passed to 8.8.8.8 should 192.168.88.51 be down?

yes, this is my understand as well.
AFAIK, there should be no interaction between the k8s_gateway and forward plugins. Is the behaviour any different with the upstream coredns plugin? e.g. what happens if you have the same config in your internal coredns?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants