support subdomains and remove hosts even when suspending vm