I'm using a product similar to this one:
https://www.amazon.com/Aviary-Netti...1159&sr=8-34&keywords=heavy+duty+bird+netting (on Amazon there's many brands/sellers at different price points). I do have some snowfall so I chose a 2" opening to allow the snow to cleanly fall through.
Now, I've seen photos where hawks still get in through netting but not sure if that's a case of the netting being too light weight, not well secured, or a really determined hawk? So I view this as a deterrent to aerial predators. Around here they have plenty of targets so they'll go for the easy meal rather than one they have to work at.
Depending on the dog, it could just as much be a predator. A trained livestock guardian dog is different than a pet dog wandering around the yard. If I didn't have my chickens secured, I guarantee one of my dogs would've grabbed one already.