We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am on node.js version 12
https://stackoverflow.com/questions/57387217/node-js-dns-library-does-not-like-our-rds-hostname
For some reason the dns call is balking on the hostname, anybody know why?
The text was updated successfully, but these errors were encountered:
it doesn't like google.com either:
TypeError [ERR_INVALID_OPT_VALUE]: The value "google.com" is invalid for option "hostname"
:(
const dns = require('dns'); const getDNSInfo = (host, port) => new Promise(resolve => { dns.lookupService(host, port, (err, hostname, service) => { console.log('dns resolved:', {hostname, service, err}); resolve({err, hostname, service}); }); }); getDNSInfo('google.com',80).then(v => { console.log(v); }) .catch(v => { console.error('There was an error:', v) });
Sorry, something went wrong.
No branches or pull requests
I am on node.js version 12
https://stackoverflow.com/questions/57387217/node-js-dns-library-does-not-like-our-rds-hostname
For some reason the dns call is balking on the hostname, anybody know why?
The text was updated successfully, but these errors were encountered: