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

DNS functions do not try to search in system-wide defined domain #22438

Closed
vladimirtiukhtin opened this issue Aug 21, 2018 · 1 comment
Closed

Comments

@vladimirtiukhtin
Copy link

Describe the solution you'd like
For example

resolver.resolveSrv('_etcd-server._tcp.example.com', function (err, addresses, family)

works fine rather than

resolver.resolveSrv('_etcd-server._tcp', function (err, addresses, family)

even if

dig +noall +answer +search SRV _etcd-server._tcp

returnes correct result
This probably means that the module does not understand domain it is working in and can not resolve short names

Describe alternatives you've considered
I would like the module to check if domain is system-wide defined and use it, or at least I should be able to set domain manually

Thanks

@silverwind
Copy link
Contributor

This looks to be a feature request to support search domains in resolve methods for which we already have #17850 open.

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

No branches or pull requests

2 participants