use priority field only when query type is MX or SRV