Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Add dns search domain to cni result #57

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Feb 24, 2021

Local host name lookup is slow and can time out because
the search domain is not added to resolv.conf.

We have to add the configured domain name to the dns search domain
cni result so podman can read it back and add it to resolv.conf,
similar to how it is done for the nameservers.

Local host name lookup is slow and can time out because
the search domain is not added to resolv.conf.

We have to add the configured domain name to the dns search domain
cni result so podman can read it back and add it to resolv.conf,
similar to how it is done for the nameservers.

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
@Luap99
Copy link
Member Author

Luap99 commented Feb 24, 2021

Partially fixes #55

Luap99 pushed a commit to Luap99/libpod that referenced this pull request Feb 24, 2021
This fixes slow local host name lookups.
see containers/dnsname#57

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
@Luap99
Copy link
Member Author

Luap99 commented Feb 24, 2021

Also see containers/podman#9501

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM

@rhatdan
Copy link
Member

rhatdan commented Feb 24, 2021

/approve
/lgtm

@baude
Copy link
Member

baude commented Feb 24, 2021

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baude, Luap99, rhatdan

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-merge-robot openshift-merge-robot merged commit 0decf88 into containers:master Feb 24, 2021
@Luap99 Luap99 deleted the dns-search branch February 24, 2021 15:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants