Living with dogs appears to protect against allergic diseases and airway infections, an effect possibly linked with immunomodulation by microbial exposures associated with dogs.
Finnish and German researchers made a study to characterize the influence of dog ownership on house dust microbiota composition.

Link to the open-access paper: HERE.