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

virtualbox: Make DNS settings configurable #4619

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

cvila84
Copy link

@cvila84 cvila84 commented Jun 27, 2019

Closes #3720

add --dns-proxy and --host-dns-resolver flags to start command for controlling virtualbox dns settings

@k8s-ci-robot
Copy link
Contributor

Hi @cvila84. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 27, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: cvila84
To complete the pull request process, please assign tstromberg
You can assign the PR to them by writing /assign @tstromberg in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 27, 2019
@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@medyagh medyagh changed the title proposal for https://github.com/kubernetes/minikube/issues/3720 virtualbox: Make DNS settings configurable Jun 27, 2019
@medyagh
Copy link
Member

medyagh commented Jun 27, 2019

Thank you for the PR, could you tell me an example where this setting would be useful ? or how I could test this ?

@cvila84
Copy link
Author

cvila84 commented Jun 27, 2019

Hello @medyagh,

These settings would allow people to disable the usage of Virtualbox NAT DNS proxy which can be quite unstable (see [https://www.virtualbox.org/ticket/13899?cversion=0&cnum_hist=3]).

To test it, when --dns-proxy and --host-dns-resolver are set to false, the /etc/resolv.conf of the minikube VM shall contain the same DNS IP as the host. If any of the settings are true, the /etc/resolv.conf of the minikube shall be the default DNS proxy IP which is 10.2.0.3

@medyagh
Copy link
Member

medyagh commented Jun 27, 2019

ok thank you for the explain. does this have any relation with proxy or vpn ?

@minikube-bot OK to test

@cvila84
Copy link
Author

cvila84 commented Jun 28, 2019

@medyagh i don't see any relation with proxy. the only relation i see with VPN is related to host network switching (office <-> VPN home) while minikube VM is running. when DNS proxy is deactivated, it won't reflect the new host DNS IP into /etc/resolv.conf but this is an acceptable constraint as sometimes the silent crash of Virtualbox DNS proxy prevents any communication to be done from the VM to the external world (because of DNS resolve timeout)

i see the label needs-ok-to-test is still set. it seems you need to write /ok-to-test on its own line

@medyagh
Copy link
Member

medyagh commented Jun 28, 2019

/retest this please

@medyagh medyagh requested a review from tstromberg June 28, 2019 21:07
@medyagh medyagh merged commit 8cd3895 into kubernetes:master Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make virtualbox DNS settings configurable
4 participants