How the city name is fetching from the Pincode while adding the addresses?

While adding customer’s/vendors billing or shipping addresses, we have the option to fetch “City” and “State” automatically by entering the Pincode.

The city name will always fetch from the “Division”.

Example: The pincode 562111 is for “Bangalore Rural” but the “Channapatna” as a city fetched in Swipe.
Beacause, as per the postal pincodes, the pincode 562111 falls under the “Channapatna” Division.

Refer to the below links of postal pincodes for more,