I recently asked the following question:
It seems the answer is "Yes." However, I'm not sure whether it applies if I live with my parents, and they tell me to avoid stray dogs since such animals may be dangerous. I wonder if I would be exempt in such a scenario due to 1) the fact that I should obey my parents and/or 2) the fact that, per the scenario, I don't have a house to keep the dog (but rather, my parents). A third consideration, that dogs can be dangerous (as opposed to Deut. 22:1-3's harmless examples of an ox, sheep, donkey, or garment), may be relevant as well.
Asking about such considerations is similar to my question linked to above, but it's also different. Would it justify a separate question?