My first guess would be kennel cough too. I'm have never had a dog w/ kennel cough though. It sounds like if Bandit did get it from the other dog, it certainly came on fast!
I hope he's feeling OK and the cough stops. If it isn't completely gone by tomorrow, I'd take him in to the vet.
Good Luck sweet and

for Bandit.