Which caste surname mudgal belong to?

Surname Mudgal belongs to Gaur Brahmins.They are decendents of Mudgal Rishi, who was Lord Ganesha's teacher & wrote one of the upnishads.There is a town called Mudgal in Karnataka, which is believed to to be origin of Mudgal brahmins though they can be found in Rajasthan, Haryana, UP,MP and some other states of south india as well.