-
Notifications
You must be signed in to change notification settings - Fork 476
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
Minishift DNS Issues When Host Has Search Domain Set #2560
Comments
@InfoSec812 I am not able to reproduce this issue, could you please paste your
|
Here's what my
|
I noticed that when the containers start up the
I wonder if Just thinking out loud. |
@InfoSec812 You can use the flag |
This is how DNS works.
The search add the local domain to traverse until it finds a result.
It seems Kubernetes handles the request and therefore I guess a NXDOMAIN is
given
This is likely a configuration issue, related to `oc cluster up`
But I am wondering why you need to set the `search` option.
Note: this is also standard behaviour on Hyper-V with the default switch,
but resolving does succeed as far as I remember.
…On Sat, Jul 7, 2018 at 2:55 PM, Anjan Nath ***@***.***> wrote:
@InfoSec812 <https://github.com/InfoSec812> You can use the flag
--network-nameserver with minishift start to use a different dns server
from the vm.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2560 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAHZrWSRDCHFu7ZgTyY55TWtsR8kGgLks5uEFt6gaJpZM4VD37A>
.
--
Gerard Braad | http://gbraad.nl
[ Doing Open Source Matters ]
|
@anjannath I have been using the @gbraad I'm quite familiar how DNS works as I used to work for DNS.com and have implemented both authoritative and recursive DNS services. The resolution SHOULD be as follows when attempting to resolve
It appears that only the first step is actually happening. |
Right, why I believethis is likely a configuration issue (as it shou;dn't stop after the first lookup)
Can this be reproduced with a production install of Openshift, or using `oc
cluster up` ?
|
Note: the |
@gbraad I am having this problem on |
That is what I guessed. I will try to reproduce it on a OpenShift minimal cluster setup, but that will likely happen after the weekend. I suspect this to be something specific to |
BTW, that is enough to run a small VM setup (and perhaps even an all-in-one) of OpenShift on. I do this with even an i7 octo, 32GB as that is all that my budget allowed ;-) |
Looks like the issue is related to openshift/origin#17316 |
Since that issue covers all of the other projects (minishift et. al.), I will close this issue and track the work there. |
I would prefer to keep this open |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
General information
Steps to reproduce
search
domain inresolv.conf
Expected
S2I build SHOULD succeed
Actual
S2I build fails
Workaround
On the host machine, remove the
search
domain fromresolv.conf
The text was updated successfully, but these errors were encountered: