fixed a bug regarding with output format of DNS