Y DNA, like surnames, track along the direct male line—the two go hand in hand. This makes Y DNA indispensable for the study of fixed inherited surnames and there are over 10,000 such projects hosted by FamilyTreeDNA.
Start your surname research: https://www.familysearch.org/search/?cid=OV-00044728
Learn about Y-DNA testing: https://www.familysearch.org/en/wiki/FamilyTreeDNA_in_Genealogy_Research?cid=OV-00044728
Discover surname projects: https://www.familysearch.org/en/wiki/Surname_Research?cid=OV-00044728