# File lib/dnstraverse/referral.rb, line 401 def make_referral(args) raise "Must pass new refid" unless args[:refid] refargs = { :qname => @qname, :qclass => @qclass, :qtype => @qtype, :nsatype => @nsatype, :infocache => @infocache, :referral_resolution => @referral_resolution, :resolver => @resolver, :maxdepth => @maxdepth, :parent => self, :decoded_query_cache => @decoded_query_cache }.merge(args) return Referral.new(refargs) end