Moved old dns module to deprecated directory and created a new file for the dns module.