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

Load search domains from /etc/resolv.conf #312

Open
geofft opened this issue Apr 2, 2023 · 0 comments
Open

Load search domains from /etc/resolv.conf #312

geofft opened this issue Apr 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@geofft
Copy link

geofft commented Apr 2, 2023

It seems like VPNKit looks at the host's /etc/resolv.conf to figure out the DNS search domains (see e.g. src/dns_forward/dns_forward_config.ml), but slirp4netns doesn't seem to have that functionality. It looks like libslirp supports this with char ** vdnssearch in the config structure, but slirp4netns sets this to NULL.

Would there be interest in parsing out the host's /etc/resolv.conf and setting vdnssearch?

(This is causing users at our organization to think that networking isn't set up right when moving from VPNKit to slirp4netns, because short domains aren't resolving.)

@AkihiroSuda AkihiroSuda added the enhancement New feature or request label Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants