# File lib/Dnsruby/Recursor.rb, line 325 def Recursor.add_to_hints(hints, rr) server = rr.name.to_s.downcase server.sub!(/\.$/,"") if (server) if ( rr.type == Types::A) #print ";; ADDITIONAL HELP: $server -> [".$rr->rdatastr."]\n" if $self->{'debug'}; if (hints[server]!=nil) TheLog.debug(";; STORING IP: #{server} IN A "+rr.address.to_s+"\n") hints[server].push([rr.address.to_s, rr.ttl]) end end if ( rr.type == Types::AAAA) #print ";; ADDITIONAL HELP: $server -> [".$rr->rdatastr."]\n" if $self->{'debug'}; if (hints[server]) TheLog.debug(";; STORING IP6: #{server} IN AAAA "+rr.address.to_s+"\n") hints[server].push([rr.address.to_s, rr.ttl]) end end end end