pub fn hosts(nsprefix: &Option<String>) -> String