Working DNS lookup libraries

Fixed issues, now all working. Compiles on web IDE
Included example code for usage