anchor.diff:      end.
   
   
  -%% handle_soa/1
  -%% ====================================================================
  +%%--------------------------------------------------------------------
   %% @doc Handles DNS queries of type SOA.
  -%% See {@link dns_query_handler_behaviour} for reference.
  -%% @end
  -%% ====================================================================
  +%% See {@link dns_handler_behaviour} for reference.
  +%% @end
  +%%--------------------------------------------------------------------
   -spec handle_soa(DomainNotNormalized :: string()) -> dns_handler_behaviour:handler_reply().
  -%% ====================================================================
   handle_soa(DomainNotNormalized) ->
       case parse_domain(DomainNotNormalized) of
           unknown_domain ->
  
positive.code:     application:set_env(?APP_Name, dns_zones, DNSConfig).
  
  
  %% get_canonical_hostname/0
  %% ====================================================================
  %% @doc Returns canonical hostname as specified in dns.config.
  %% @end
  %% ====================================================================
  -spec get_canonical_hostname() -> string().
  %% ====================================================================
  get_canonical_hostname() ->
      {ok, [#dns_zone{cname = Hostname} | _]} = application:get_env(?APP_Name, dns_zones),
      Hostname.
  
  
  %% ===================================================================
  %% dns_query_handler_behaviour API
  %% ===================================================================
  
  %% handle_a/1
  %% ====================================================================
  %% @doc Handles DNS queries of type A.
  %% See {@link dns_query_handler_behaviour} for reference.
  %% @end
  %% ====================================================================
  -spec handle_a(DomainNotNormalized :: string()) -> dns_handler_behaviour:handler_reply().
  %% ====================================================================
  handle_a(DomainNotNormalized) ->
      case parse_domain(DomainNotNormalized) of
          unknown_domain ->
  
negative.code:     end.
  
  
  %%--------------------------------------------------------------------
  %% @doc Handles DNS queries of type MX.
  %% See {@link dns_handler_behaviour} for reference.
  %% @end
  %%--------------------------------------------------------------------
  -spec handle_mx(DomainNotNormalized :: string()) -> dns_handler_behaviour:handler_reply().
  handle_mx(DomainNotNormalized) ->
      case parse_domain(DomainNotNormalized) of
          unknown_domain ->
  