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

Consider supporting advanced DNS config (nsswitch,conf, hosts.conf, resolv.conf options and ENV variables etc.) #98

Closed
clue opened this issue Feb 27, 2018 · 1 comment

Comments

@clue
Copy link
Member

clue commented Feb 27, 2018

We may want to look into supporting the settings from /etc/nsswitch.conf, /etc/hosts.conf, /etc/resolv.conf options and respective ENV variables such as RES_OPTIONS, RESOLV_HOST_CONF etc.

As of #75 we currently default to always checking the /etc/hosts before passing the request to the DNS resolver (which uses the correct nameserver entry from /etc/resolv.conf as of #29. Technically, the above files and ENV variables can be used to change the order and resolutions options, but this appears to be rarely used in practice. See also the respective man pages for more details.

My local system (Ubuntu-based) uses a local domain resolver which takes care of this, so now that #29 is in, this is not a high priority to me. I'm not working on this at the moment, but figured it's worth posting this here anyway. In case anybody feels like picking this up, PRs would be much appreciated +1

@clue
Copy link
Member Author

clue commented Jun 29, 2018

Afaict these are more or less "advanced" features that are rarely used in practice, so I don't think it's worth the effort at the moment.

There are currently no immediate plans to build this from my end (no demand at the moment), but I suppose we would be happy to accept PRs if anybody sees a need for this feature +1

I'm closing this for now, please feel free to come back with more details if this persists and we can reopen this +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant