Module: Net::DNS
- Includes:
- Logger::Severity, QueryClasses, QueryTypes
- Defined in:
- lib/net/dns.rb,
lib/net/dns/rr.rb,
lib/net/dns/rr/a.rb,
lib/net/dns/names.rb,
lib/net/dns/rr/mr.rb,
lib/net/dns/rr/mx.rb,
lib/net/dns/rr/ns.rb,
lib/net/dns/header.rb,
lib/net/dns/packet.rb,
lib/net/dns/rr/ptr.rb,
lib/net/dns/rr/soa.rb,
lib/net/dns/rr/srv.rb,
lib/net/dns/rr/txt.rb,
lib/net/dns/rr/aaaa.rb,
lib/net/dns/rr/null.rb,
lib/net/dns/version.rb,
lib/net/dns/question.rb,
lib/net/dns/resolver.rb,
lib/net/dns/rr/cname.rb,
lib/net/dns/rr/hinfo.rb,
lib/net/dns/rr/types.rb,
lib/net/dns/rr/classes.rb,
lib/net/dns/resolver/timeouts.rb
Defined Under Namespace
Modules: Names, QueryClasses, QueryTypes Classes: Header, Packet, Question, RR, Resolver
Constant Summary collapse
- PACKETSZ =
Packet size in bytes
512
- HFIXEDSZ =
Size of the header
12
- QFIXEDSZ =
Size of the question portion (type and class)
4
- RRFIXEDSZ =
Size of an RR portion (type,class,lenght and ttl)
10
- INT32SZ =
Size of an int 32 bit
4
- INT16SZ =
Size of a short int
2
- VERSION =
The current library version.
"0.20.0"
Constants included from QueryClasses
QueryClasses::ANY, QueryClasses::CH, QueryClasses::HS, QueryClasses::IN, QueryClasses::NONE
Constants included from QueryTypes
QueryTypes::A, QueryTypes::AAAA, QueryTypes::AFSDB, QueryTypes::ANY, QueryTypes::ATMA, QueryTypes::AXFR, QueryTypes::CAA, QueryTypes::CERT, QueryTypes::CNAME, QueryTypes::DNAME, QueryTypes::DNSKEY, QueryTypes::DS, QueryTypes::EID, QueryTypes::GID, QueryTypes::GPOS, QueryTypes::HINFO, QueryTypes::ISDN, QueryTypes::IXFR, QueryTypes::KEY, QueryTypes::KX, QueryTypes::LOC, QueryTypes::MAILA, QueryTypes::MAILB, QueryTypes::MB, QueryTypes::MD, QueryTypes::MF, QueryTypes::MG, QueryTypes::MINFO, QueryTypes::MR, QueryTypes::MX, QueryTypes::NAPTR, QueryTypes::NIMLOC, QueryTypes::NS, QueryTypes::NSAP, QueryTypes::NSAPPTR, QueryTypes::NSEC, QueryTypes::NULL, QueryTypes::NXT, QueryTypes::OPT, QueryTypes::PTR, QueryTypes::PX, QueryTypes::RP, QueryTypes::RRSIG, QueryTypes::RT, QueryTypes::SIG, QueryTypes::SIGZERO, QueryTypes::SOA, QueryTypes::SPF, QueryTypes::SRV, QueryTypes::SSHFP, QueryTypes::TKEY, QueryTypes::TSIG, QueryTypes::TXT, QueryTypes::UID, QueryTypes::UINFO, QueryTypes::UNSPEC, QueryTypes::URI, QueryTypes::WKS, QueryTypes::X25