In this paper we investigate optimal forms of dynamic reinsurance polices among a class of general reinsurance strategies. The original surplus process of an insurance portfolio is assumed to follow a Markov jump process with state-dependent income. We assume that the insurer uses a dynamic reinsurance policy to minimize the probability of absolute ruin, where the traditional ruin can be viewed as a special case of absolute ruin. In terms of approximation theory of stochastic process, the controlled diffusion model with a general reinsurance policy is established strictly. In such a risk model, absolute ruin is said to occur when the drift coefficient of the surplus process turns negative, when the insurer has no profitability any more. Under the expected value premium principle, we rigorously prove that a dynamic excess-of-loss reinsurance is the optimal form of reinsurance among a class of general reinsurance strategies in a dynamic control framework. Moreover, by solving the Hamilton-Jacobi-Bellman equation, we derive both the explicit expression of the optimal dynamic excess-of-loss reinsurance strategy and the closed-form solution to the absolute ruin probability under the optimal reinsurance strategy. We also illustrate these explicit solutions using numerical examples.