Modified syntax in name request to get the hostnames from the db.