No, the snake may see the dog as prey ... each snake is different ... however a dog is not one that a snake would pursue. The dog would fight back, making the snake not want anything to do with it. At that point, it would be a matter of will the dog kill the snake? And as Denny said, they never have a reason to come into contact anyways, given proper husbandry.