anchor.diff:    lager:debug("~p:lookup found rows~n", [?MODULE]),
     lists:map(fun row_to_record/1, Data#mysql_result.rows).
   
  +%% Resolve CNAME records down to their local A records if possible.
   resolve_cname(Record) ->
     case Record#dns_rr.type of
       ?DNS_TYPE_CNAME_NUMBER ->
  
positive.code:       Record
    end.
  
  row_to_record(Row) ->
    [_, _Id, Name, TypeStr, Content, TTL, Priority, _ChangeDate] = Row,
    case parse_content(Content, Priority, TypeStr) of
  
negative.code:     _ -> [resolve_cname(Record) || Record <- Records]
    end.
  
  %% Lookup a specific name and type and convert it into a list of DNS records.
  lookup(Qname, Qtype) ->
    lager:debug("~p:lookup(~p, ~p)~n", [?MODULE, Qname, Qtype]),
    {data, Data} = case Qtype of
  