'Return the country name for the given IP Address or FQDN.'

def country_name(self, query):

    enc_query = self._check_query(query, city_or_country=True)
    return self.country(enc_query)['country_name']
