Sha256: 8879098ce9a237acbf59573d0519e452fe39a0020e4c1dcc289118f2a14060b1
Contents?: true
Size: 1.95 KB
Versions: 2
Compression:
Stored size: 1.95 KB
Contents
require 'net/dns/core_ext' require 'net/dns/version' module Net # :nodoc: module DNS # Packet size in bytes PACKETSZ = 512 # Size of the header HFIXEDSZ = 12 # Size of the question portion (type and class) QFIXEDSZ = 4 # Size of an RR portion (type,class,lenght and ttl) RRFIXEDSZ = 10 # Size of an int 32 bit INT32SZ = 4 # Size of a short int INT16SZ = 2 module QueryTypes SIGZERO = 0 A = 1 NS = 2 MD = 3 MF = 4 CNAME = 5 SOA = 6 MB = 7 MG = 8 MR = 9 NULL = 10 WKS = 11 PTR = 12 HINFO = 13 MINFO = 14 MX = 15 TXT = 16 RP = 17 AFSDB = 18 X25 = 19 ISDN = 20 RT = 21 NSAP = 22 NSAPPTR = 23 SIG = 24 KEY = 25 PX = 26 GPOS = 27 AAAA = 28 LOC = 29 NXT = 30 EID = 31 NIMLOC = 32 SRV = 33 ATMA = 34 NAPTR = 35 KX = 36 CERT = 37 DNAME = 39 OPT = 41 DS = 43 SSHFP = 44 RRSIG = 46 NSEC = 47 DNSKEY = 48 UINFO = 100 UID = 101 GID = 102 UNSPEC = 103 TKEY = 249 TSIG = 250 IXFR = 251 AXFR = 252 MAILB = 253 MAILA = 254 ANY = 255 end module QueryClasses # Internet class IN = 1 # Chaos class CH = 3 # Hesiod class HS = 4 # None class NONE = 254 # Any class ANY = 255 end include QueryTypes include QueryClasses end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
net-dns-0.6.1 | lib/net/dns.rb |
net-dns-0.6.0 | lib/net/dns.rb |