fix domain names in hosts template for hosts_file module