Coverity fixes for mydns