Added --replace-dns fallback option