Added basic DNS resolution

Added just enough to get the program to print