I have 2 dogs & they have only mild curiosity about the snakes I've always had (even before they moved in) but I'd never allow them to sniff nose-to-nose
with any of my snakes, because that can just turn bad way too quickly. I DO allow my dogs to satisfy a bit of curiosity by sniffing a snake's tail while I hold
them (facing away from the dogs) but I'd never allow any floor-time between them. My dogs are playful, they could step on a snake, and the snakes would
be absolutely within their rights to defend themselves from what can only appear to them to be a predator...it's not worth the risk, IMO.
Just tell me...what would you do if your snake suddenly sunk their teeth into your dog's nose? How ugly would that be!? Your dog (or cat) would freak & it
would be a miracle if your snake didn't get the worst of the injuries.