Fixes bug with auto DNS