added all the methods for handling host DNS records still need to debug, need to review comments and update example code