Initial commit for dns resolver

Simple check for DNS resolution from server
also, record type please :)