Do dogs know?

Elizabeth
So quick question.... My fiancé and I have been trying for about 3-4 months now.. My fiancée's dog has been acting very strange this past week and has become very protective over me...he's my mans bestfriend but now he's been very close to me within this week......my fiancé can't touch my stomach without his dog going crazy barking at him very badly....haven't taken a test yet.... But do dogs know you're pregnant maybe even before you do?