anchor.diff:      code_change/3]).
   
   -define(SERVER, ?MODULE).
  +-define(REFRESH_INTERVAL, 5000).
   
  --record(state, {}).
  +-record(state, {zone_expirations, orddict_size}).
   
   %%%===================================================================
   %%% API
  
positive.code: %%% gen_server callbacks
  %%%===================================================================
  init([]) ->
      {ok, #state{}}.
  
  handle_call(_Request, _From, State) ->
      {reply, ok, State}.
  
  handle_cast({send_notify, {_BindIP, _DestinationIP, _ZoneName, _ZoneClass} = Args}, State) ->
      Spec = {{erldns_zone_transfer_worker, now()}, {erldns_zone_transfer_worker, start_link, [send_notify, Args]},
              temporary, 5000, worker, [erldns_zone_transfer_worker]},
      supervisor:start_child(erldns_zone_transfer_sup, Spec),
      {noreply, State};
  handle_cast({handle_notify, {_Message, _ClientIP, _ServerIP} = Args}, State) ->
      Spec = {{erldns_zone_transfer_worker, now()}, {erldns_zone_transfer_worker, start_link, [handle_notify, Args]},
          temporary, 5000, worker, [erldns_zone_transfer_worker]},
      supervisor:start_child(erldns_zone_transfer_sup, Spec),
      {noreply, State};
  handle_cast({send_axfr, {_ZoneName, _ServerIP} = Args}, State) ->
      Spec = {{erldns_zone_transfer_worker, now()}, {erldns_zone_transfer_worker, start_link, [send_axfr, Args]},
          temporary, 5000, worker, [erldns_zone_transfer_worker]},
      supervisor:start_child(erldns_zone_transfer_sup, Spec),
      {noreply, State};
  handle_cast(_Request, State) ->
      erldns_log:info("Some other message: ~p", [_Request]),
      {noreply, State}.
  
  handle_info(_Info, State) ->
      {noreply, State}.
  
  terminate(_Reason, _State) ->
      ok.
  
  code_change(_OldVsn, State, _Extra) ->
      {ok, State}.
  
  %%%===================================================================
  %%% Internal functions
  %%%===================================================================
  
  
negative.code: 
  -behaviour(gen_server).
  
  -include_lib("dns/include/dns.hrl").
  -include("erldns.hrl").
  
  %% API
  -export([start_link/0]).
  
  