Distemper and rabies are a viral form of Encephalitis.

There are two common forms of Encephalitis;
Acute encephalitis Commonly seen in young dogs or puppies and Chronic encephalitis seen in older dogs, even those with a good vaccination history.

There have been studies, which show that the distemper vaccination, can actually cause an animal to contract distemper.