Gunib, also spelled Ghunib, is a rural locality and the administrative center of Ghunib District of the Republic of Daghestan.