anchor.diff:  %% @doc This function takes a list of nameservers, finds it's A/AAAA record in the given record set
   %% and returns the nameserver's IP address.
   %% @end
  --spec get_ips_for_notify_set([dns:rr()], [dns:rr()]) -> [inet:ip_address()].
  -get_ips_for_notify_set(Records, NotifySet) ->
  -    get_ips_for_notify_set(Records, NotifySet, []).
  +-spec get_ips_for_notify_set([dns:rr()]) -> [inet:ip_address()].
  +get_ips_for_notify_set(Records) ->
  +    get_ips_for_notify_set(Records, get_notify_set(Records), []).
   
   get_ips_for_notify_set(_Records, [], IPs) ->
       IPs;
  -get_ips_for_notify_set(Records, [Head | Tail], IPs) ->
  -    DName = Head#dns_rrdata_ns.dname,
  +get_ips_for_notify_set(Records, [#dns_rrdata_ns{dname = DName} | Tail], IPs) ->
       case lists:keyfind(DName, 2, Records) of
           false ->
               get_ips_for_notify_set(Records, Tail, IPs);
  -        ARecord0 ->
  -            ARecord = ARecord0#dns_rr.data,
  +        #dns_rr{data = ARecord}  ->
               case ARecord of
  -                #dns_rrdata_a{} ->
  -                    get_ips_for_notify_set(Records, Tail, [ARecord#dns_rrdata_a.ip | IPs]);
  -                #dns_rrdata_aaaa{} ->
  -                    get_ips_for_notify_set(Records, Tail, [ARecord#dns_rrdata_aaaa.ip | IPs])
  +                #dns_rrdata_a{ip = IP} ->
  +                    get_ips_for_notify_set(Records, Tail, [IP | IPs]);
  +                #dns_rrdata_aaaa{ip = IP} ->
  +                    get_ips_for_notify_set(Records, Tail, [IP | IPs])
               end
       end.
   
  
positive.code: 
  %% Write APIs
  -export([
           build_zone/8,
           build_zone/9,
           put_zone/1,
  
negative.code: 
  %% @doc This function sends the NOTIFY message to all slaves of the zone.
  -spec send_notify(binary(), #zone{}) -> [ok].
  send_notify(ZoneName, #zone{notify_source = NotifySource, records = Records}) ->
      %% Now send the notify message out to the set of IPs
      BindIP = case NotifySource of
                   <<>> ->
                       {127, 0, 0, 1};
                   IP ->
  