This species is known only from the Malaysia–Thailand borderland (Kaki Bukit and Thale Ban National Park). It prefers to live on humid mosses, logs or litter in limestone habitats. The localities are all on limestone mountains. The species is probably distributed in a narrow range in limestone areas near the Thai–Malay border. D. terae has so far been recorded from three localities (near Kaki Bukit, Thale Ban National Park, and Tham Tone Din) which are located only 10–15 km apart.