Dogs are one of the best detectors we've got, full stop. People laugh at that but the literature on animal sensitivity to infrasound and electromagnetic anomalies is pretty solid. Your dog wasn't being daft, it was responding to something you couldn't consciously register.
The roof thing is interesting though. What's the pitch like, and are you near any woodland? I've had two separate accounts from Norfolk folk describing rhythmic footstep-type sounds on outbuildings, both times with animals refusing to move. Neither had a satisfying mundane explanation after inspection.
What worries me more than the sound itself is the duration. How long did it go on? And did it stop suddenly or just... fade? That detail matters more than people realise when you're trying to categorise what you're dealing with. Don't let anyone just tell you "foxes on the roof" and leave it at that without pressing them to actually account for the dog's behaviour as well.