anchor.diff:  -include_lib("kernel/src/inet_dns.hrl").
   
   -define(AUTHORATIVE_ANSWER_FLAG, 1).
  +-define(NOT_AUTHORATIVE_ANSWER_FLAG, 0).
   -define(RESPONSE_FLAG, 1).
   -define(NO_RECURSION_FLAG, 0).
   
  
positive.code:     Header = Q#dns_rec.header#dns_header{aa=?AUTHORATIVE_ANSWER_FLAG},
      set_header(Q, Header).
  
  set_response_code(Q, Code) ->
      Header = Q#dns_rec.header#dns_header{rcode=Code},
      set_header(Q, Header).
  
negative.code:     	    end 
      	end 
      	, [], NsRRs),
      Q1 = Q#dns_rec{nslist=NsList++NsRRs, arlist=ArList++GlueRRs},
      clear_aa_header_flag(Q1).
      
  
  
  is_qname_match(RRTree, DomainName, DomainName) ->
      gb_trees:is_defined(DomainName, RRTree);
  