adding an option to use host machines dns