This paper presents a dynamic trust management protocol for delay tolerant networks (DTNs) that addresses the challenges posed by unreliable connections and selfish/malicious nodes. The protocol dynamically updates trust criteria in response to changing network conditions to reduce overheads and improve routing efficiency, demonstrating significant improvements in message delivery ratios. Detailed simulations show that the proposed approach effectively manages security threats, outperforming previous routing protocols.