Class | DNSTraverse::Referral |
In: |
lib/dnstraverse/referral.rb
|
Parent: | Object |
EMPTY_ARRAY | = | [].freeze |
bailiwick | [R] | |
children | [R] | |
decoded_query_cache | [R] | |
infocache | [R] | |
message | [R] | |
nsatype | [R] | |
parent | [R] | |
parent_ip | [R] | |
qclass | [R] | |
qname | [R] | |
qtype | [R] | |
refid | [R] | |
server | [R] | |
serverips | [R] | |
stats | [R] | |
warnings | [R] |
Referral object represents a particular referral to a specified server with given qname, qclass and qtype.
roots can be passed in, which will be used to populate root hints in to the infocache, which if not passed in will be automatically created
server can be nil which is a special case and causes all the roots to be added as child referrals (uses infocache to lookup roots)
if the server‘s IP address(es) are known, they are passed in as serverips otherwise, we will resolve the serverips
referral_resolution should be set to false. children that are a result of a resolution of a referral that didn‘t have glue records will have this set to true so that you can distringuish this detail