Current DNS client code implementation doesn't take care of response flags setup by the server. This patch introduces a couple of bitmasks one can use to retrieve the truncated flag and the reply code available in the 2-bytes flag field.
Current DNS client code implementation doesn't take care of response flags setup by the server. This patch introduces a couple of bitmasks one can use to retrieve the truncated flag and the reply code available in the 2-bytes flag field.