Allegedly, the principle of DD"M is
based on related to prophet Jeremiah prescribing the exiled Jews to "Seek the peace of the city whither ye have been carried away captives." (see my Q. mar-shmuel-citing-jeremiah-297).
I noticed a couple of points:
- the verse talks about the Babylonian exile (obvious)
- DD"M is presented only in the name of a Babylonia Amorah Shmuel
- I'm not aware of a Palestinian source (Mishnah or the Jerusalem Talmud) that mentions the principle.
It appears that the principle is only applied in Babylon (or foreign diaspora), not in Israel.
I wondered if there are any sources (not post-Talmudic commentaries) that any Tannah held that DD"M is applicable in Eretz Israel also?