You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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 asRES_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 correctnameserver
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
The text was updated successfully, but these errors were encountered: