added some error handling around creation of dns names as well as catching errors for trying to delete a node that doesnt exist