There's 8 characters in that part of the hostname, each pair represents one octet in the IP address. Banning what represents the last octet gives you a c class ban. I've never actually tested this theory but I've used it and it seems to work. One can only try ay. All the best.