fix logging issue in modify_dns