fix dns and weh config