First off......did you just admit to letting your dog into the house after it was sprayed by a skunk?

The spray that skunks use is to ward off other animals that pose a threat.......I would assume a snake would be too fast for this unless the animal knew it was there........which I'm not sure rats know the snakes I have are there until the last moment.