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

Adding TCP DNS listener #223

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Adding TCP DNS listener #223

merged 1 commit into from
Jun 7, 2023

Conversation

nhart12
Copy link
Contributor

@nhart12 nhart12 commented May 23, 2023

dig +tcp lookups were not working inside of the virtual network. When a UDP dns lookup returns a response bigger than the UDP packet size most DNS clients fall back on TCP which would timeout.
This PR simply adds a secondary DNS server listening on TCP 53

Copy link
Contributor

@cfergeau cfergeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the PR!
Can you add a signed-off-by to your commit? https://github.com/containers/gvisor-tap-vsock/pull/223/checks?check_run_id=13702149647 has more details about this.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 7, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfergeau, nhart12

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved label Jun 7, 2023
Signed-off-by: Nathan Hart <nhart12@gmail.com>
@cfergeau
Copy link
Contributor

cfergeau commented Jun 7, 2023

I've force-pushed to your branch to resolve minor gofmt errors.

@cfergeau cfergeau merged commit 228efee into containers:main Jun 7, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants