Daurian redstarts move their nesting sites closer to or even inside human settlements when cuckoos are around. In doing so, they actively protect their nest against brood parasitism, as cuckoos avoid human settlements.
Click here for original story, Passerine bird takes advantage of human settlements
Source: Phys.org