Where to apply for a national visa?

My place of residence My visa application should be submitted to
Kazakhstan  Embassy of Switzerland in Astana
Tajikistan
Embassy of Switzerland in Astana