Created
May 8, 2018 03:01
-
-
Save infinnie/dfc631286df334514e38b65dba216a75 to your computer and use it in GitHub Desktop.
DNS lookup
This file contains 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
module.exports.handler = function(event, context, callback) { | |
require("dns").lookup("gist.github.com",function(...x){ | |
callback(...x); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment