class Resolv::DNS
- Resolv::DNS
- Reference
- Object
Defined in:
resolv.crConstant Summary
-
PORT =
53
-
Default DNS Port
-
UDP_SIZE =
512
-
Default DNS UDP packet size
Constructors
Instance Method Summary
- #a_resources(domain : String) : Array(Resource::A)
- #aaaa_resources(domain : String) : Array(Resource::AAAA)
- #caa_resources(domain : String) : Array(Resource::CAA)
- #cname_resources(domain : String) : Array(Resource::CNAME)
- #mx_resources(domain : String) : Array(Resource::MX)
- #ns_resources(domain : String) : Array(Resource::NS)
- #ptr_resources(domain : String) : Array(Resource::PTR)
- #resources(domain : String, type : Resource::Type) : Resources
- #soa_resources(domain : String) : Array(Resource::SOA)
- #srv_resources(domain : String) : Array(Resource::SRV)
- #txt_resources(domain : String) : Array(Resource::TXT)
Constructor Detail
def self.new(server : String = Resolv.default_dns_resolver, read_timeout : Time::Span | Nil = nil, retry : Int32 | Nil = nil, requester : Requester = Requester::UDP)
#