Function for removing dns entries via CLI and stub for a function for saving to file