Created
June 10, 2013 10:14
-
-
Save eviltik/5747723 to your computer and use it in GitHub Desktop.
nodejs dns bug ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var async = require('async'); | |
| var dns = require('dns'); | |
| async.series([ | |
| function(next) { | |
| dns.resolve4('www.microsoft.com',next); | |
| }, | |
| ],function(err,result) { | |
| console.log(result[0][0]); | |
| }); | |
| console.log('must be last line'); | |
| // ACTUAL OUTPUT | |
| /* | |
| must be last line | |
| 65.55.57.27 | |
| */ | |
| // EXPECTED OUTPUT | |
| /* | |
| 65.55.57.27 | |
| must be last line | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"ACTUAL OUTPUT" is correct =)