You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Google's DNS name cannot be used as default Nameservers #360
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
Google's DNS domain names won't resolve if there is no entries in /etc/resolv.conf
Relevant lines of code here What you expected to happen:
Google's DNS must work for resolving, so it should be using IP addresses. How to reproduce it (as minimally and precisely as possible):
Haven't tested it.
k8s is adding per-Pod DNS controls for name servers, which is the right way to handle this I think? So we don't need sophisticated solutions right now, if kube-dns or fixed IP defaults will work.
@whereisaaron I'm not sure how per-Pod DNS is related. I think the DNS check of cert-manager should just try a few methods, ordered from cheaper/less-complex to expensive/more-complex. It should be trivial to implement.
With the dnsConfig option you'll be able to specify custom resolve.conf settings for cert-manger to use, that you can optionally combine with dnsPolicy strategies. I was thinking that would be sufficient? But maybe there are there more complex use cases @ahmetb?
Activity
ahmetb commentedon Feb 27, 2018
I'm curious if there could be any reasons why cert-manager doesn't hardcode 8.8.8.8 and 8.8.4.4.
ahmetb commentedon Feb 27, 2018
Similarly I'm curious if cert-manager should use a multi-step resolution logic like this:
google-public-dns-a.google.com:53(and-b) ---> success: return; fail: step 38.8.8.8:53(and8.8.4.4:53) ---> success: return; fail: call it "failed"whereisaaron commentedon Feb 28, 2018
k8s is adding per-Pod DNS controls for name servers, which is the right way to handle this I think? So we don't need sophisticated solutions right now, if
kube-dnsor fixed IP defaults will work.ahmetb commentedon Feb 28, 2018
@whereisaaron I'm not sure how per-Pod DNS is related. I think the DNS check of cert-manager should just try a few methods, ordered from cheaper/less-complex to expensive/more-complex. It should be trivial to implement.
whereisaaron commentedon Feb 28, 2018
With the
dnsConfigoption you'll be able to specify customresolve.confsettings forcert-mangerto use, that you can optionally combine withdnsPolicystrategies. I was thinking that would be sufficient? But maybe there are there more complex use cases @ahmetb?Merge pull request #361 from hackcave/fix/google-dns-ip