dnsruby 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +3 -3
- data/lib/Dnsruby/Config.rb +3 -3
- data/lib/Dnsruby/DNS.rb +4 -2
- data/lib/Dnsruby/Resolver.rb +42 -38
- data/lib/Dnsruby/SingleResolver.rb +29 -21
- data/lib/Dnsruby/TheLog.rb +5 -21
- data/lib/Dnsruby/dnssec.rb +1 -1
- data/lib/Dnsruby/event_machine_interface.rb +23 -22
- data/lib/Dnsruby/message.rb +1 -1
- data/lib/Dnsruby/name.rb +1 -0
- data/lib/Dnsruby/resource/TKEY.rb +1 -1
- data/lib/Dnsruby/resource/TSIG.rb +8 -8
- data/lib/Dnsruby/select_thread.rb +19 -17
- data/lib/Dnsruby/zone_transfer.rb +6 -6
- data/lib/dnsruby.rb +10 -1
- data/test/tc_dns.rb +5 -1
- data/test/tc_event_machine_deferrable.rb +1 -1
- data/test/tc_event_machine_res.rb +1 -1
- data/test/tc_event_machine_single_res.rb +1 -1
- data/test/tc_event_machine_soak.rb +4 -4
- data/test/tc_res_opt.rb +4 -4
- data/test/tc_single_resolver.rb +1 -6
- data/test/tc_soak_base.rb +2 -2
- data/test/tc_tsig.rb +3 -3
- data/test/ts_offline.rb +1 -1
- data/test/ts_online.rb +1 -1
- metadata +2 -480
- data/doc/classes/Dnsruby/Algorithms.html +0 -171
- data/doc/classes/Dnsruby/Classes.html +0 -197
- data/doc/classes/Dnsruby/Classes.src/M000209.html +0 -23
- data/doc/classes/Dnsruby/Classes.src/M000210.html +0 -19
- data/doc/classes/Dnsruby/CodeMapper.html +0 -375
- data/doc/classes/Dnsruby/CodeMapper.src/M000186.html +0 -18
- data/doc/classes/Dnsruby/CodeMapper.src/M000187.html +0 -33
- data/doc/classes/Dnsruby/CodeMapper.src/M000188.html +0 -21
- data/doc/classes/Dnsruby/CodeMapper.src/M000189.html +0 -19
- data/doc/classes/Dnsruby/CodeMapper.src/M000190.html +0 -19
- data/doc/classes/Dnsruby/CodeMapper.src/M000191.html +0 -18
- data/doc/classes/Dnsruby/CodeMapper.src/M000192.html +0 -22
- data/doc/classes/Dnsruby/CodeMapper.src/M000193.html +0 -22
- data/doc/classes/Dnsruby/CodeMapper.src/M000194.html +0 -22
- data/doc/classes/Dnsruby/CodeMapper.src/M000195.html +0 -31
- data/doc/classes/Dnsruby/CodeMapper.src/M000196.html +0 -19
- data/doc/classes/Dnsruby/Config.html +0 -413
- data/doc/classes/Dnsruby/Config.src/M000148.html +0 -18
- data/doc/classes/Dnsruby/Config.src/M000149.html +0 -19
- data/doc/classes/Dnsruby/Config.src/M000150.html +0 -19
- data/doc/classes/Dnsruby/Config.src/M000151.html +0 -25
- data/doc/classes/Dnsruby/Config.src/M000152.html +0 -21
- data/doc/classes/Dnsruby/Config.src/M000153.html +0 -38
- data/doc/classes/Dnsruby/Config.src/M000154.html +0 -26
- data/doc/classes/Dnsruby/Config.src/M000155.html +0 -22
- data/doc/classes/Dnsruby/Config.src/M000156.html +0 -27
- data/doc/classes/Dnsruby/Config.src/M000157.html +0 -22
- data/doc/classes/Dnsruby/Config.src/M000158.html +0 -21
- data/doc/classes/Dnsruby/DNS.html +0 -571
- data/doc/classes/Dnsruby/DNS.src/M000258.html +0 -24
- data/doc/classes/Dnsruby/DNS.src/M000259.html +0 -18
- data/doc/classes/Dnsruby/DNS.src/M000260.html +0 -18
- data/doc/classes/Dnsruby/DNS.src/M000261.html +0 -20
- data/doc/classes/Dnsruby/DNS.src/M000262.html +0 -19
- data/doc/classes/Dnsruby/DNS.src/M000263.html +0 -20
- data/doc/classes/Dnsruby/DNS.src/M000264.html +0 -18
- data/doc/classes/Dnsruby/DNS.src/M000265.html +0 -19
- data/doc/classes/Dnsruby/DNS.src/M000266.html +0 -20
- data/doc/classes/Dnsruby/DNS.src/M000267.html +0 -28
- data/doc/classes/Dnsruby/DNS.src/M000268.html +0 -19
- data/doc/classes/Dnsruby/DNS.src/M000269.html +0 -20
- data/doc/classes/Dnsruby/DNS.src/M000270.html +0 -31
- data/doc/classes/Dnsruby/DecodeError.html +0 -120
- data/doc/classes/Dnsruby/Dnssec.html +0 -287
- data/doc/classes/Dnsruby/Dnssec.src/M000249.html +0 -23
- data/doc/classes/Dnsruby/Dnssec.src/M000250.html +0 -19
- data/doc/classes/Dnsruby/Dnssec.src/M000251.html +0 -90
- data/doc/classes/Dnsruby/Dnssec.src/M000252.html +0 -76
- data/doc/classes/Dnsruby/EncodeError.html +0 -120
- data/doc/classes/Dnsruby/FormErr.html +0 -119
- data/doc/classes/Dnsruby/Header.html +0 -501
- data/doc/classes/Dnsruby/Header.src/M000231.html +0 -35
- data/doc/classes/Dnsruby/Header.src/M000232.html +0 -18
- data/doc/classes/Dnsruby/Header.src/M000233.html +0 -18
- data/doc/classes/Dnsruby/Header.src/M000234.html +0 -21
- data/doc/classes/Dnsruby/Header.src/M000235.html +0 -20
- data/doc/classes/Dnsruby/Header.src/M000236.html +0 -32
- data/doc/classes/Dnsruby/Header.src/M000237.html +0 -27
- data/doc/classes/Dnsruby/Header.src/M000238.html +0 -26
- data/doc/classes/Dnsruby/Header.src/M000239.html +0 -47
- data/doc/classes/Dnsruby/Header.src/M000240.html +0 -28
- data/doc/classes/Dnsruby/Header.src/M000241.html +0 -30
- data/doc/classes/Dnsruby/Hosts.html +0 -316
- data/doc/classes/Dnsruby/Hosts.src/M000197.html +0 -20
- data/doc/classes/Dnsruby/Hosts.src/M000198.html +0 -19
- data/doc/classes/Dnsruby/Hosts.src/M000199.html +0 -20
- data/doc/classes/Dnsruby/Hosts.src/M000200.html +0 -21
- data/doc/classes/Dnsruby/Hosts.src/M000201.html +0 -19
- data/doc/classes/Dnsruby/Hosts.src/M000202.html +0 -20
- data/doc/classes/Dnsruby/Hosts.src/M000203.html +0 -21
- data/doc/classes/Dnsruby/IPv4.html +0 -233
- data/doc/classes/Dnsruby/IPv4.src/M000204.html +0 -32
- data/doc/classes/Dnsruby/IPv4.src/M000205.html +0 -19
- data/doc/classes/Dnsruby/IPv4.src/M000206.html +0 -18
- data/doc/classes/Dnsruby/IPv4.src/M000207.html +0 -18
- data/doc/classes/Dnsruby/IPv4.src/M000208.html +0 -18
- data/doc/classes/Dnsruby/IPv6.html +0 -281
- data/doc/classes/Dnsruby/IPv6.src/M000242.html +0 -60
- data/doc/classes/Dnsruby/IPv6.src/M000243.html +0 -22
- data/doc/classes/Dnsruby/IPv6.src/M000244.html +0 -20
- data/doc/classes/Dnsruby/IPv6.src/M000245.html +0 -18
- data/doc/classes/Dnsruby/Message/Section.html +0 -160
- data/doc/classes/Dnsruby/Message/Section.src/M000141.html +0 -29
- data/doc/classes/Dnsruby/Message/Section.src/M000142.html +0 -30
- data/doc/classes/Dnsruby/Message.html +0 -803
- data/doc/classes/Dnsruby/Message.src/M000119.html +0 -38
- data/doc/classes/Dnsruby/Message.src/M000120.html +0 -26
- data/doc/classes/Dnsruby/Message.src/M000121.html +0 -22
- data/doc/classes/Dnsruby/Message.src/M000122.html +0 -22
- data/doc/classes/Dnsruby/Message.src/M000123.html +0 -20
- data/doc/classes/Dnsruby/Message.src/M000124.html +0 -20
- data/doc/classes/Dnsruby/Message.src/M000125.html +0 -20
- data/doc/classes/Dnsruby/Message.src/M000126.html +0 -20
- data/doc/classes/Dnsruby/Message.src/M000127.html +0 -18
- data/doc/classes/Dnsruby/Message.src/M000128.html +0 -20
- data/doc/classes/Dnsruby/Message.src/M000129.html +0 -23
- data/doc/classes/Dnsruby/Message.src/M000130.html +0 -30
- data/doc/classes/Dnsruby/Message.src/M000131.html +0 -20
- data/doc/classes/Dnsruby/Message.src/M000132.html +0 -18
- data/doc/classes/Dnsruby/Message.src/M000133.html +0 -56
- data/doc/classes/Dnsruby/Message.src/M000134.html +0 -35
- data/doc/classes/Dnsruby/Message.src/M000135.html +0 -46
- data/doc/classes/Dnsruby/MetaTypes.html +0 -136
- data/doc/classes/Dnsruby/Modes.html +0 -171
- data/doc/classes/Dnsruby/NXDomain.html +0 -119
- data/doc/classes/Dnsruby/Name/Label.html +0 -300
- data/doc/classes/Dnsruby/Name/Label.src/M000110.html +0 -21
- data/doc/classes/Dnsruby/Name/Label.src/M000111.html +0 -18
- data/doc/classes/Dnsruby/Name/Label.src/M000112.html +0 -22
- data/doc/classes/Dnsruby/Name/Label.src/M000113.html +0 -18
- data/doc/classes/Dnsruby/Name/Label.src/M000114.html +0 -18
- data/doc/classes/Dnsruby/Name/Label.src/M000115.html +0 -18
- data/doc/classes/Dnsruby/Name/Label.src/M000116.html +0 -18
- data/doc/classes/Dnsruby/Name/Label.src/M000117.html +0 -18
- data/doc/classes/Dnsruby/Name/Label.src/M000118.html +0 -18
- data/doc/classes/Dnsruby/Name.html +0 -330
- data/doc/classes/Dnsruby/Name.src/M000104.html +0 -28
- data/doc/classes/Dnsruby/Name.src/M000105.html +0 -20
- data/doc/classes/Dnsruby/Name.src/M000106.html +0 -18
- data/doc/classes/Dnsruby/Name.src/M000107.html +0 -21
- data/doc/classes/Dnsruby/Name.src/M000108.html +0 -22
- data/doc/classes/Dnsruby/Name.src/M000109.html +0 -18
- data/doc/classes/Dnsruby/NotImp.html +0 -119
- data/doc/classes/Dnsruby/OpCode.html +0 -146
- data/doc/classes/Dnsruby/OtherResolvError.html +0 -119
- data/doc/classes/Dnsruby/QTypes.html +0 -146
- data/doc/classes/Dnsruby/Question.html +0 -301
- data/doc/classes/Dnsruby/Question.src/M000226.html +0 -47
- data/doc/classes/Dnsruby/Question.src/M000227.html +0 -18
- data/doc/classes/Dnsruby/Question.src/M000228.html +0 -18
- data/doc/classes/Dnsruby/Question.src/M000229.html +0 -32
- data/doc/classes/Dnsruby/Question.src/M000230.html +0 -18
- data/doc/classes/Dnsruby/RCode.html +0 -211
- data/doc/classes/Dnsruby/RR/ANY.html +0 -133
- data/doc/classes/Dnsruby/RR/CERT/CertificateTypes.html +0 -169
- data/doc/classes/Dnsruby/RR/CERT.html +0 -180
- data/doc/classes/Dnsruby/RR/CNAME.html +0 -151
- data/doc/classes/Dnsruby/RR/DNAME.html +0 -150
- data/doc/classes/Dnsruby/RR/DNSKEY.html +0 -422
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000044.html +0 -20
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000045.html +0 -21
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000046.html +0 -28
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000047.html +0 -22
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000048.html +0 -18
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000049.html +0 -22
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000050.html +0 -18
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000051.html +0 -26
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000052.html +0 -38
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000053.html +0 -45
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000054.html +0 -21
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000055.html +0 -24
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000056.html +0 -32
- data/doc/classes/Dnsruby/RR/DNSKEY.src/M000057.html +0 -24
- data/doc/classes/Dnsruby/RR/DS.html +0 -286
- data/doc/classes/Dnsruby/RR/DS.src/M000039.html +0 -22
- data/doc/classes/Dnsruby/RR/DS.src/M000040.html +0 -28
- data/doc/classes/Dnsruby/RR/DS.src/M000041.html +0 -24
- data/doc/classes/Dnsruby/RR/DS.src/M000042.html +0 -28
- data/doc/classes/Dnsruby/RR/DS.src/M000043.html +0 -36
- data/doc/classes/Dnsruby/RR/DomainName.html +0 -175
- data/doc/classes/Dnsruby/RR/DomainName.src/M000083.html +0 -18
- data/doc/classes/Dnsruby/RR/Generic.html +0 -133
- data/doc/classes/Dnsruby/RR/HINFO.html +0 -155
- data/doc/classes/Dnsruby/RR/IN/A.html +0 -200
- data/doc/classes/Dnsruby/RR/IN/A.src/M000017.html +0 -18
- data/doc/classes/Dnsruby/RR/IN/A.src/M000018.html +0 -18
- data/doc/classes/Dnsruby/RR/IN/A.src/M000019.html +0 -18
- data/doc/classes/Dnsruby/RR/IN/AAAA.html +0 -139
- data/doc/classes/Dnsruby/RR/IN/AFSDB.html +0 -145
- data/doc/classes/Dnsruby/RR/IN/PX.html +0 -143
- data/doc/classes/Dnsruby/RR/IN/SRV.html +0 -238
- data/doc/classes/Dnsruby/RR/IN/SRV.src/M000014.html +0 -29
- data/doc/classes/Dnsruby/RR/IN/SRV.src/M000015.html +0 -26
- data/doc/classes/Dnsruby/RR/IN/SRV.src/M000016.html +0 -22
- data/doc/classes/Dnsruby/RR/IN/WKS.html +0 -166
- data/doc/classes/Dnsruby/RR/IN/WKS.src/M000020.html +0 -20
- data/doc/classes/Dnsruby/RR/IN.html +0 -155
- data/doc/classes/Dnsruby/RR/ISDN.html +0 -155
- data/doc/classes/Dnsruby/RR/LOC.html +0 -395
- data/doc/classes/Dnsruby/RR/LOC.src/M000025.html +0 -32
- data/doc/classes/Dnsruby/RR/LOC.src/M000026.html +0 -23
- data/doc/classes/Dnsruby/RR/LOC.src/M000027.html +0 -25
- data/doc/classes/Dnsruby/RR/LOC.src/M000028.html +0 -21
- data/doc/classes/Dnsruby/RR/LOC.src/M000029.html +0 -20
- data/doc/classes/Dnsruby/RR/LOC.src/M000030.html +0 -23
- data/doc/classes/Dnsruby/RR/MB.html +0 -150
- data/doc/classes/Dnsruby/RR/MG.html +0 -150
- data/doc/classes/Dnsruby/RR/MINFO.html +0 -156
- data/doc/classes/Dnsruby/RR/MR.html +0 -150
- data/doc/classes/Dnsruby/RR/MX.html +0 -155
- data/doc/classes/Dnsruby/RR/NAPTR.html +0 -190
- data/doc/classes/Dnsruby/RR/NS.html +0 -151
- data/doc/classes/Dnsruby/RR/NSAP.html +0 -293
- data/doc/classes/Dnsruby/RR/NSAP.src/M000093.html +0 -19
- data/doc/classes/Dnsruby/RR/NSAP.src/M000094.html +0 -19
- data/doc/classes/Dnsruby/RR/NSAP.src/M000095.html +0 -22
- data/doc/classes/Dnsruby/RR/NSAP.src/M000096.html +0 -31
- data/doc/classes/Dnsruby/RR/NSEC.html +0 -301
- data/doc/classes/Dnsruby/RR/NSEC.src/M000031.html +0 -19
- data/doc/classes/Dnsruby/RR/NSEC.src/M000032.html +0 -18
- data/doc/classes/Dnsruby/RR/NSEC.src/M000033.html +0 -34
- data/doc/classes/Dnsruby/RR/NSEC.src/M000034.html +0 -18
- data/doc/classes/Dnsruby/RR/NSEC.src/M000035.html +0 -71
- data/doc/classes/Dnsruby/RR/NSEC.src/M000036.html +0 -18
- data/doc/classes/Dnsruby/RR/NSEC.src/M000037.html +0 -80
- data/doc/classes/Dnsruby/RR/NSEC.src/M000038.html +0 -23
- data/doc/classes/Dnsruby/RR/NSEC3.html +0 -366
- data/doc/classes/Dnsruby/RR/NSEC3.src/M000085.html +0 -28
- data/doc/classes/Dnsruby/RR/NSEC3.src/M000086.html +0 -18
- data/doc/classes/Dnsruby/RR/NSEC3.src/M000087.html +0 -18
- data/doc/classes/Dnsruby/RR/NSEC3.src/M000088.html +0 -22
- data/doc/classes/Dnsruby/RR/NSEC3.src/M000089.html +0 -18
- data/doc/classes/Dnsruby/RR/NSEC3.src/M000090.html +0 -21
- data/doc/classes/Dnsruby/RR/NSEC3.src/M000091.html +0 -21
- data/doc/classes/Dnsruby/RR/NSEC3.src/M000092.html +0 -29
- data/doc/classes/Dnsruby/RR/NSEC3PARAM.html +0 -279
- data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000077.html +0 -28
- data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000078.html +0 -18
- data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000079.html +0 -22
- data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000080.html +0 -21
- data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000081.html +0 -25
- data/doc/classes/Dnsruby/RR/PTR.html +0 -132
- data/doc/classes/Dnsruby/RR/RP.html +0 -183
- data/doc/classes/Dnsruby/RR/RP.src/M000082.html +0 -19
- data/doc/classes/Dnsruby/RR/RRSIG.html +0 -357
- data/doc/classes/Dnsruby/RR/RRSIG.src/M000097.html +0 -26
- data/doc/classes/Dnsruby/RR/RRSIG.src/M000098.html +0 -28
- data/doc/classes/Dnsruby/RR/RRSIG.src/M000099.html +0 -23
- data/doc/classes/Dnsruby/RR/RRSIG.src/M000100.html +0 -23
- data/doc/classes/Dnsruby/RR/RRSIG.src/M000101.html +0 -46
- data/doc/classes/Dnsruby/RR/RRSIG.src/M000102.html +0 -50
- data/doc/classes/Dnsruby/RR/RRSIG.src/M000103.html +0 -27
- data/doc/classes/Dnsruby/RR/RT.html +0 -155
- data/doc/classes/Dnsruby/RR/SOA.html +0 -233
- data/doc/classes/Dnsruby/RR/SOA.src/M000066.html +0 -24
- data/doc/classes/Dnsruby/RR/SOA.src/M000067.html +0 -27
- data/doc/classes/Dnsruby/RR/SPF.html +0 -138
- data/doc/classes/Dnsruby/RR/TKEY.html +0 -313
- data/doc/classes/Dnsruby/RR/TKEY.src/M000021.html +0 -19
- data/doc/classes/Dnsruby/RR/TKEY.src/M000022.html +0 -29
- data/doc/classes/Dnsruby/RR/TKEY.src/M000023.html +0 -21
- data/doc/classes/Dnsruby/RR/TKEY.src/M000024.html +0 -29
- data/doc/classes/Dnsruby/RR/TSIG.html +0 -524
- data/doc/classes/Dnsruby/RR/TSIG.src/M000068.html +0 -24
- data/doc/classes/Dnsruby/RR/TSIG.src/M000069.html +0 -32
- data/doc/classes/Dnsruby/RR/TSIG.src/M000070.html +0 -54
- data/doc/classes/Dnsruby/RR/TSIG.src/M000071.html +0 -121
- data/doc/classes/Dnsruby/RR/TSIG.src/M000072.html +0 -33
- data/doc/classes/Dnsruby/RR/TSIG.src/M000073.html +0 -25
- data/doc/classes/Dnsruby/RR/TSIG.src/M000074.html +0 -36
- data/doc/classes/Dnsruby/RR/TSIG.src/M000075.html +0 -22
- data/doc/classes/Dnsruby/RR/TSIG.src/M000076.html +0 -29
- data/doc/classes/Dnsruby/RR/TXT.html +0 -233
- data/doc/classes/Dnsruby/RR/TXT.src/M000061.html +0 -18
- data/doc/classes/Dnsruby/RR/TXT.src/M000062.html +0 -18
- data/doc/classes/Dnsruby/RR/TXT.src/M000063.html +0 -20
- data/doc/classes/Dnsruby/RR/TXT.src/M000064.html +0 -27
- data/doc/classes/Dnsruby/RR/TXT.src/M000065.html +0 -25
- data/doc/classes/Dnsruby/RR/X25.html +0 -203
- data/doc/classes/Dnsruby/RR/X25.src/M000058.html +0 -18
- data/doc/classes/Dnsruby/RR/X25.src/M000059.html +0 -18
- data/doc/classes/Dnsruby/RR/X25.src/M000060.html +0 -22
- data/doc/classes/Dnsruby/RR.html +0 -648
- data/doc/classes/Dnsruby/RR.src/M000001.html +0 -18
- data/doc/classes/Dnsruby/RR.src/M000002.html +0 -22
- data/doc/classes/Dnsruby/RR.src/M000003.html +0 -18
- data/doc/classes/Dnsruby/RR.src/M000004.html +0 -18
- data/doc/classes/Dnsruby/RR.src/M000005.html +0 -26
- data/doc/classes/Dnsruby/RR.src/M000006.html +0 -18
- data/doc/classes/Dnsruby/RR.src/M000007.html +0 -36
- data/doc/classes/Dnsruby/RR.src/M000008.html +0 -100
- data/doc/classes/Dnsruby/RR.src/M000009.html +0 -18
- data/doc/classes/Dnsruby/RR.src/M000010.html +0 -18
- data/doc/classes/Dnsruby/RR.src/M000011.html +0 -22
- data/doc/classes/Dnsruby/RR.src/M000012.html +0 -29
- data/doc/classes/Dnsruby/RR.src/M000013.html +0 -24
- data/doc/classes/Dnsruby/RRSet.html +0 -404
- data/doc/classes/Dnsruby/RRSet.src/M000211.html +0 -23
- data/doc/classes/Dnsruby/RRSet.src/M000212.html +0 -18
- data/doc/classes/Dnsruby/RRSet.src/M000213.html +0 -18
- data/doc/classes/Dnsruby/RRSet.src/M000214.html +0 -47
- data/doc/classes/Dnsruby/RRSet.src/M000215.html +0 -42
- data/doc/classes/Dnsruby/RRSet.src/M000216.html +0 -18
- data/doc/classes/Dnsruby/RRSet.src/M000217.html +0 -20
- data/doc/classes/Dnsruby/RRSet.src/M000218.html +0 -18
- data/doc/classes/Dnsruby/RRSet.src/M000219.html +0 -18
- data/doc/classes/Dnsruby/RRSet.src/M000220.html +0 -18
- data/doc/classes/Dnsruby/RRSet.src/M000221.html +0 -18
- data/doc/classes/Dnsruby/RRSet.src/M000222.html +0 -22
- data/doc/classes/Dnsruby/RRSet.src/M000223.html +0 -18
- data/doc/classes/Dnsruby/RRSet.src/M000224.html +0 -22
- data/doc/classes/Dnsruby/RRSet.src/M000225.html +0 -18
- data/doc/classes/Dnsruby/Refused.html +0 -119
- data/doc/classes/Dnsruby/Resolv.html +0 -401
- data/doc/classes/Dnsruby/Resolv.src/M000159.html +0 -18
- data/doc/classes/Dnsruby/Resolv.src/M000160.html +0 -18
- data/doc/classes/Dnsruby/Resolv.src/M000161.html +0 -18
- data/doc/classes/Dnsruby/Resolv.src/M000162.html +0 -18
- data/doc/classes/Dnsruby/Resolv.src/M000163.html +0 -18
- data/doc/classes/Dnsruby/Resolv.src/M000164.html +0 -18
- data/doc/classes/Dnsruby/Resolv.src/M000165.html +0 -18
- data/doc/classes/Dnsruby/Resolv.src/M000166.html +0 -19
- data/doc/classes/Dnsruby/Resolv.src/M000167.html +0 -20
- data/doc/classes/Dnsruby/Resolv.src/M000168.html +0 -29
- data/doc/classes/Dnsruby/Resolv.src/M000169.html +0 -19
- data/doc/classes/Dnsruby/Resolv.src/M000170.html +0 -20
- data/doc/classes/Dnsruby/Resolv.src/M000171.html +0 -25
- data/doc/classes/Dnsruby/ResolvError.html +0 -117
- data/doc/classes/Dnsruby/ResolvTimeout.html +0 -117
- data/doc/classes/Dnsruby/Resolver.html +0 -1055
- data/doc/classes/Dnsruby/Resolver.src/M000271.html +0 -21
- data/doc/classes/Dnsruby/Resolver.src/M000272.html +0 -27
- data/doc/classes/Dnsruby/Resolver.src/M000273.html +0 -28
- data/doc/classes/Dnsruby/Resolver.src/M000274.html +0 -18
- data/doc/classes/Dnsruby/Resolver.src/M000275.html +0 -51
- data/doc/classes/Dnsruby/Resolver.src/M000276.html +0 -21
- data/doc/classes/Dnsruby/Resolver.src/M000277.html +0 -22
- data/doc/classes/Dnsruby/Resolver.src/M000278.html +0 -18
- data/doc/classes/Dnsruby/Resolver.src/M000279.html +0 -20
- data/doc/classes/Dnsruby/Resolver.src/M000280.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000281.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000282.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000283.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000284.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000285.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000286.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000287.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000288.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000289.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000290.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000291.html +0 -19
- data/doc/classes/Dnsruby/Resolver.src/M000292.html +0 -26
- data/doc/classes/Dnsruby/Resolver.src/M000293.html +0 -18
- data/doc/classes/Dnsruby/Resolver.src/M000294.html +0 -23
- data/doc/classes/Dnsruby/Resolver.src/M000295.html +0 -18
- data/doc/classes/Dnsruby/ServFail.html +0 -119
- data/doc/classes/Dnsruby/SingleResolver.html +0 -674
- data/doc/classes/Dnsruby/SingleResolver.src/M000172.html +0 -18
- data/doc/classes/Dnsruby/SingleResolver.src/M000173.html +0 -24
- data/doc/classes/Dnsruby/SingleResolver.src/M000174.html +0 -36
- data/doc/classes/Dnsruby/SingleResolver.src/M000175.html +0 -18
- data/doc/classes/Dnsruby/SingleResolver.src/M000176.html +0 -19
- data/doc/classes/Dnsruby/SingleResolver.src/M000177.html +0 -50
- data/doc/classes/Dnsruby/SingleResolver.src/M000178.html +0 -19
- data/doc/classes/Dnsruby/SingleResolver.src/M000179.html +0 -21
- data/doc/classes/Dnsruby/SingleResolver.src/M000180.html +0 -25
- data/doc/classes/Dnsruby/SingleResolver.src/M000181.html +0 -54
- data/doc/classes/Dnsruby/SingleResolver.src/M000182.html +0 -27
- data/doc/classes/Dnsruby/SingleResolver.src/M000183.html +0 -27
- data/doc/classes/Dnsruby/SingleResolver.src/M000184.html +0 -35
- data/doc/classes/Dnsruby/SingleResolver.src/M000185.html +0 -21
- data/doc/classes/Dnsruby/TheLog.html +0 -196
- data/doc/classes/Dnsruby/TheLog.src/M000246.html +0 -20
- data/doc/classes/Dnsruby/TheLog.src/M000247.html +0 -20
- data/doc/classes/Dnsruby/TheLog.src/M000248.html +0 -20
- data/doc/classes/Dnsruby/Types.html +0 -436
- data/doc/classes/Dnsruby/Update.html +0 -368
- data/doc/classes/Dnsruby/Update.src/M000253.html +0 -32
- data/doc/classes/Dnsruby/Update.src/M000254.html +0 -36
- data/doc/classes/Dnsruby/Update.src/M000255.html +0 -32
- data/doc/classes/Dnsruby/Update.src/M000256.html +0 -41
- data/doc/classes/Dnsruby/Update.src/M000257.html +0 -34
- data/doc/classes/Dnsruby/VerifyError.html +0 -119
- data/doc/classes/Dnsruby/ZoneTransfer/Delta.html +0 -200
- data/doc/classes/Dnsruby/ZoneTransfer/Delta.src/M000146.html +0 -19
- data/doc/classes/Dnsruby/ZoneTransfer/Delta.src/M000147.html +0 -19
- data/doc/classes/Dnsruby/ZoneTransfer.html +0 -300
- data/doc/classes/Dnsruby/ZoneTransfer.src/M000143.html +0 -18
- data/doc/classes/Dnsruby/ZoneTransfer.src/M000144.html +0 -24
- data/doc/classes/Dnsruby/ZoneTransfer.src/M000145.html +0 -35
- data/doc/classes/Dnsruby.html +0 -463
- data/doc/created.rid +0 -1
- data/doc/files/lib/Dnsruby/Config_rb.html +0 -101
- data/doc/files/lib/Dnsruby/DNS_rb.html +0 -110
- data/doc/files/lib/Dnsruby/Hosts_rb.html +0 -108
- data/doc/files/lib/Dnsruby/Resolver_rb.html +0 -109
- data/doc/files/lib/Dnsruby/SingleResolver_rb.html +0 -108
- data/doc/files/lib/Dnsruby/TheLog_rb.html +0 -110
- data/doc/files/lib/Dnsruby/code_mapper_rb.html +0 -101
- data/doc/files/lib/Dnsruby/dnssec_rb.html +0 -107
- data/doc/files/lib/Dnsruby/event_machine_interface_rb.html +0 -108
- data/doc/files/lib/Dnsruby/ipv4_rb.html +0 -101
- data/doc/files/lib/Dnsruby/ipv6_rb.html +0 -101
- data/doc/files/lib/Dnsruby/message_rb.html +0 -109
- data/doc/files/lib/Dnsruby/name_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/AAAA_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/AFSDB_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/A_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/CERT_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/DNSKEY_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/DS_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/HINFO_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/IN_rb.html +0 -112
- data/doc/files/lib/Dnsruby/resource/ISDN_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/LOC_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/MINFO_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/MX_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/NAPTR_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/NSAP_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/NSEC3PARAM_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/NSEC3_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/NSEC_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/OPT_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/PX_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/RP_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/RRSIG_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/RT_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/SOA_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/SPF_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/SRV_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/TKEY_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/TSIG_rb.html +0 -114
- data/doc/files/lib/Dnsruby/resource/TXT_rb.html +0 -108
- data/doc/files/lib/Dnsruby/resource/X25_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/domain_name_rb.html +0 -101
- data/doc/files/lib/Dnsruby/resource/generic_rb.html +0 -131
- data/doc/files/lib/Dnsruby/resource/resource_rb.html +0 -110
- data/doc/files/lib/Dnsruby/select_thread_rb.html +0 -111
- data/doc/files/lib/Dnsruby/update_rb.html +0 -101
- data/doc/files/lib/Dnsruby/zone_transfer_rb.html +0 -101
- data/doc/files/lib/dnsruby_rb.html +0 -118
- data/doc/fr_class_index.html +0 -108
- data/doc/fr_file_index.html +0 -75
- data/doc/fr_method_index.html +0 -321
- data/doc/index.html +0 -24
data/doc/classes/Dnsruby/RR.html
DELETED
@@ -1,648 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Dnsruby::RR</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Dnsruby::RR</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/Dnsruby/resource/A_rb.html">
|
59
|
-
lib/Dnsruby/resource/A.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../../files/lib/Dnsruby/resource/AAAA_rb.html">
|
63
|
-
lib/Dnsruby/resource/AAAA.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../../files/lib/Dnsruby/resource/AFSDB_rb.html">
|
67
|
-
lib/Dnsruby/resource/AFSDB.rb
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../../files/lib/Dnsruby/resource/CERT_rb.html">
|
71
|
-
lib/Dnsruby/resource/CERT.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
<a href="../../files/lib/Dnsruby/resource/DNSKEY_rb.html">
|
75
|
-
lib/Dnsruby/resource/DNSKEY.rb
|
76
|
-
</a>
|
77
|
-
<br />
|
78
|
-
<a href="../../files/lib/Dnsruby/resource/domain_name_rb.html">
|
79
|
-
lib/Dnsruby/resource/domain_name.rb
|
80
|
-
</a>
|
81
|
-
<br />
|
82
|
-
<a href="../../files/lib/Dnsruby/resource/DS_rb.html">
|
83
|
-
lib/Dnsruby/resource/DS.rb
|
84
|
-
</a>
|
85
|
-
<br />
|
86
|
-
<a href="../../files/lib/Dnsruby/resource/generic_rb.html">
|
87
|
-
lib/Dnsruby/resource/generic.rb
|
88
|
-
</a>
|
89
|
-
<br />
|
90
|
-
<a href="../../files/lib/Dnsruby/resource/HINFO_rb.html">
|
91
|
-
lib/Dnsruby/resource/HINFO.rb
|
92
|
-
</a>
|
93
|
-
<br />
|
94
|
-
<a href="../../files/lib/Dnsruby/resource/IN_rb.html">
|
95
|
-
lib/Dnsruby/resource/IN.rb
|
96
|
-
</a>
|
97
|
-
<br />
|
98
|
-
<a href="../../files/lib/Dnsruby/resource/ISDN_rb.html">
|
99
|
-
lib/Dnsruby/resource/ISDN.rb
|
100
|
-
</a>
|
101
|
-
<br />
|
102
|
-
<a href="../../files/lib/Dnsruby/resource/LOC_rb.html">
|
103
|
-
lib/Dnsruby/resource/LOC.rb
|
104
|
-
</a>
|
105
|
-
<br />
|
106
|
-
<a href="../../files/lib/Dnsruby/resource/MINFO_rb.html">
|
107
|
-
lib/Dnsruby/resource/MINFO.rb
|
108
|
-
</a>
|
109
|
-
<br />
|
110
|
-
<a href="../../files/lib/Dnsruby/resource/MX_rb.html">
|
111
|
-
lib/Dnsruby/resource/MX.rb
|
112
|
-
</a>
|
113
|
-
<br />
|
114
|
-
<a href="../../files/lib/Dnsruby/resource/NAPTR_rb.html">
|
115
|
-
lib/Dnsruby/resource/NAPTR.rb
|
116
|
-
</a>
|
117
|
-
<br />
|
118
|
-
<a href="../../files/lib/Dnsruby/resource/NSAP_rb.html">
|
119
|
-
lib/Dnsruby/resource/NSAP.rb
|
120
|
-
</a>
|
121
|
-
<br />
|
122
|
-
<a href="../../files/lib/Dnsruby/resource/NSEC_rb.html">
|
123
|
-
lib/Dnsruby/resource/NSEC.rb
|
124
|
-
</a>
|
125
|
-
<br />
|
126
|
-
<a href="../../files/lib/Dnsruby/resource/NSEC3_rb.html">
|
127
|
-
lib/Dnsruby/resource/NSEC3.rb
|
128
|
-
</a>
|
129
|
-
<br />
|
130
|
-
<a href="../../files/lib/Dnsruby/resource/NSEC3PARAM_rb.html">
|
131
|
-
lib/Dnsruby/resource/NSEC3PARAM.rb
|
132
|
-
</a>
|
133
|
-
<br />
|
134
|
-
<a href="../../files/lib/Dnsruby/resource/OPT_rb.html">
|
135
|
-
lib/Dnsruby/resource/OPT.rb
|
136
|
-
</a>
|
137
|
-
<br />
|
138
|
-
<a href="../../files/lib/Dnsruby/resource/PX_rb.html">
|
139
|
-
lib/Dnsruby/resource/PX.rb
|
140
|
-
</a>
|
141
|
-
<br />
|
142
|
-
<a href="../../files/lib/Dnsruby/resource/resource_rb.html">
|
143
|
-
lib/Dnsruby/resource/resource.rb
|
144
|
-
</a>
|
145
|
-
<br />
|
146
|
-
<a href="../../files/lib/Dnsruby/resource/RP_rb.html">
|
147
|
-
lib/Dnsruby/resource/RP.rb
|
148
|
-
</a>
|
149
|
-
<br />
|
150
|
-
<a href="../../files/lib/Dnsruby/resource/RRSIG_rb.html">
|
151
|
-
lib/Dnsruby/resource/RRSIG.rb
|
152
|
-
</a>
|
153
|
-
<br />
|
154
|
-
<a href="../../files/lib/Dnsruby/resource/RT_rb.html">
|
155
|
-
lib/Dnsruby/resource/RT.rb
|
156
|
-
</a>
|
157
|
-
<br />
|
158
|
-
<a href="../../files/lib/Dnsruby/resource/SOA_rb.html">
|
159
|
-
lib/Dnsruby/resource/SOA.rb
|
160
|
-
</a>
|
161
|
-
<br />
|
162
|
-
<a href="../../files/lib/Dnsruby/resource/SPF_rb.html">
|
163
|
-
lib/Dnsruby/resource/SPF.rb
|
164
|
-
</a>
|
165
|
-
<br />
|
166
|
-
<a href="../../files/lib/Dnsruby/resource/SRV_rb.html">
|
167
|
-
lib/Dnsruby/resource/SRV.rb
|
168
|
-
</a>
|
169
|
-
<br />
|
170
|
-
<a href="../../files/lib/Dnsruby/resource/TKEY_rb.html">
|
171
|
-
lib/Dnsruby/resource/TKEY.rb
|
172
|
-
</a>
|
173
|
-
<br />
|
174
|
-
<a href="../../files/lib/Dnsruby/resource/TSIG_rb.html">
|
175
|
-
lib/Dnsruby/resource/TSIG.rb
|
176
|
-
</a>
|
177
|
-
<br />
|
178
|
-
<a href="../../files/lib/Dnsruby/resource/TXT_rb.html">
|
179
|
-
lib/Dnsruby/resource/TXT.rb
|
180
|
-
</a>
|
181
|
-
<br />
|
182
|
-
<a href="../../files/lib/Dnsruby/resource/X25_rb.html">
|
183
|
-
lib/Dnsruby/resource/X25.rb
|
184
|
-
</a>
|
185
|
-
<br />
|
186
|
-
</td>
|
187
|
-
</tr>
|
188
|
-
|
189
|
-
<tr class="top-aligned-row">
|
190
|
-
<td><strong>Parent:</strong></td>
|
191
|
-
<td>
|
192
|
-
Object
|
193
|
-
</td>
|
194
|
-
</tr>
|
195
|
-
</table>
|
196
|
-
</div>
|
197
|
-
<!-- banner header -->
|
198
|
-
|
199
|
-
<div id="bodyContent">
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
<div id="contextContent">
|
204
|
-
|
205
|
-
<div id="description">
|
206
|
-
<p>
|
207
|
-
Superclass for all <a href="../Dnsruby.html">Dnsruby</a> resource records.
|
208
|
-
</p>
|
209
|
-
<p>
|
210
|
-
Represents a <a href="DNS.html">DNS</a> <a href="RR.html">RR</a> (resource
|
211
|
-
record) [RFC1035, section 3.2]
|
212
|
-
</p>
|
213
|
-
<p>
|
214
|
-
Use Dnsruby::RR::create(…) to <a href="RR.html#M000013">create</a> a
|
215
|
-
new <a href="RR.html">RR</a> record.
|
216
|
-
</p>
|
217
|
-
<pre>
|
218
|
-
mx = Dnsruby::RR.create("example.com. 7200 MX 10 mailhost.example.com.")
|
219
|
-
|
220
|
-
rr = Dnsruby::RR.create({:name => "example.com", :type => "MX", :ttl => 7200,
|
221
|
-
:preference => 10, :exchange => "mailhost.example.com"})
|
222
|
-
|
223
|
-
s = rr.to_s # Get a String representation of the RR (in zone file format)
|
224
|
-
rr_again = Dnsruby::RR.create(s)
|
225
|
-
</pre>
|
226
|
-
|
227
|
-
</div>
|
228
|
-
|
229
|
-
|
230
|
-
</div>
|
231
|
-
|
232
|
-
<div id="method-list">
|
233
|
-
<h3 class="section-bar">Methods</h3>
|
234
|
-
|
235
|
-
<div class="name-list">
|
236
|
-
<a href="#M000012">==</a>
|
237
|
-
<a href="#M000013">create</a>
|
238
|
-
<a href="#M000009">implemented_rrs</a>
|
239
|
-
<a href="#M000006">init_defaults</a>
|
240
|
-
<a href="#M000004">klass=</a>
|
241
|
-
<a href="#M000002">name=</a>
|
242
|
-
<a href="#M000007">new_from_hash</a>
|
243
|
-
<a href="#M000008">new_from_string</a>
|
244
|
-
<a href="#M000011">rdata_to_string</a>
|
245
|
-
<a href="#M000001">rdlength</a>
|
246
|
-
<a href="#M000005">sameRRset</a>
|
247
|
-
<a href="#M000010">to_s</a>
|
248
|
-
<a href="#M000003">type=</a>
|
249
|
-
</div>
|
250
|
-
</div>
|
251
|
-
|
252
|
-
</div>
|
253
|
-
|
254
|
-
|
255
|
-
<!-- if includes -->
|
256
|
-
|
257
|
-
<div id="section">
|
258
|
-
|
259
|
-
<div id="class-list">
|
260
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
261
|
-
|
262
|
-
Module <a href="RR/IN.html" class="link">Dnsruby::RR::IN</a><br />
|
263
|
-
Class <a href="RR/ANY.html" class="link">Dnsruby::RR::ANY</a><br />
|
264
|
-
Class <a href="RR/CERT.html" class="link">Dnsruby::RR::CERT</a><br />
|
265
|
-
Class <a href="RR/CNAME.html" class="link">Dnsruby::RR::CNAME</a><br />
|
266
|
-
Class <a href="RR/DNAME.html" class="link">Dnsruby::RR::DNAME</a><br />
|
267
|
-
Class <a href="RR/DNSKEY.html" class="link">Dnsruby::RR::DNSKEY</a><br />
|
268
|
-
Class <a href="RR/DS.html" class="link">Dnsruby::RR::DS</a><br />
|
269
|
-
Class <a href="RR/DomainName.html" class="link">Dnsruby::RR::DomainName</a><br />
|
270
|
-
Class <a href="RR/Generic.html" class="link">Dnsruby::RR::Generic</a><br />
|
271
|
-
Class <a href="RR/HINFO.html" class="link">Dnsruby::RR::HINFO</a><br />
|
272
|
-
Class <a href="RR/ISDN.html" class="link">Dnsruby::RR::ISDN</a><br />
|
273
|
-
Class <a href="RR/LOC.html" class="link">Dnsruby::RR::LOC</a><br />
|
274
|
-
Class <a href="RR/MB.html" class="link">Dnsruby::RR::MB</a><br />
|
275
|
-
Class <a href="RR/MG.html" class="link">Dnsruby::RR::MG</a><br />
|
276
|
-
Class <a href="RR/MINFO.html" class="link">Dnsruby::RR::MINFO</a><br />
|
277
|
-
Class <a href="RR/MR.html" class="link">Dnsruby::RR::MR</a><br />
|
278
|
-
Class <a href="RR/MX.html" class="link">Dnsruby::RR::MX</a><br />
|
279
|
-
Class <a href="RR/NAPTR.html" class="link">Dnsruby::RR::NAPTR</a><br />
|
280
|
-
Class <a href="RR/NS.html" class="link">Dnsruby::RR::NS</a><br />
|
281
|
-
Class <a href="RR/NSAP.html" class="link">Dnsruby::RR::NSAP</a><br />
|
282
|
-
Class <a href="RR/NSEC.html" class="link">Dnsruby::RR::NSEC</a><br />
|
283
|
-
Class <a href="RR/NSEC3.html" class="link">Dnsruby::RR::NSEC3</a><br />
|
284
|
-
Class <a href="RR/NSEC3PARAM.html" class="link">Dnsruby::RR::NSEC3PARAM</a><br />
|
285
|
-
Class <a href="RR/PTR.html" class="link">Dnsruby::RR::PTR</a><br />
|
286
|
-
Class <a href="RR/RP.html" class="link">Dnsruby::RR::RP</a><br />
|
287
|
-
Class <a href="RR/RRSIG.html" class="link">Dnsruby::RR::RRSIG</a><br />
|
288
|
-
Class <a href="RR/RT.html" class="link">Dnsruby::RR::RT</a><br />
|
289
|
-
Class <a href="RR/SOA.html" class="link">Dnsruby::RR::SOA</a><br />
|
290
|
-
Class <a href="RR/SPF.html" class="link">Dnsruby::RR::SPF</a><br />
|
291
|
-
Class <a href="RR/TKEY.html" class="link">Dnsruby::RR::TKEY</a><br />
|
292
|
-
Class <a href="RR/TSIG.html" class="link">Dnsruby::RR::TSIG</a><br />
|
293
|
-
Class <a href="RR/TXT.html" class="link">Dnsruby::RR::TXT</a><br />
|
294
|
-
Class <a href="RR/X25.html" class="link">Dnsruby::RR::X25</a><br />
|
295
|
-
|
296
|
-
</div>
|
297
|
-
|
298
|
-
<div id="constants-list">
|
299
|
-
<h3 class="section-bar">Constants</h3>
|
300
|
-
|
301
|
-
<div class="name-list">
|
302
|
-
<table summary="Constants">
|
303
|
-
<tr class="top-aligned-row context-row">
|
304
|
-
<td class="context-item-name">ClassInsensitiveTypes</td>
|
305
|
-
<td>=</td>
|
306
|
-
<td class="context-item-value">[ NS, CNAME, DNAME, DNSKEY, SOA, PTR, HINFO, MINFO, MX, TXT, ISDN, MB, MG, MR, NAPTR, NSAP, OPT, RP, RT, X25, SPF, CERT, LOC, TSIG, TKEY, ANY, RRSIG, NSEC, DS, NSEC3, NSEC3PARAM</td>
|
307
|
-
</tr>
|
308
|
-
</table>
|
309
|
-
</div>
|
310
|
-
</div>
|
311
|
-
|
312
|
-
<div id="aliases-list">
|
313
|
-
<h3 class="section-bar">External Aliases</h3>
|
314
|
-
|
315
|
-
<div class="name-list">
|
316
|
-
<table summary="aliases">
|
317
|
-
<tr class="top-aligned-row context-row">
|
318
|
-
<td class="context-item-name">type</td>
|
319
|
-
<td>-></td>
|
320
|
-
<td class="context-item-value">rr_type</td>
|
321
|
-
</tr>
|
322
|
-
</table>
|
323
|
-
</div>
|
324
|
-
</div>
|
325
|
-
|
326
|
-
|
327
|
-
<div id="attribute-list">
|
328
|
-
<h3 class="section-bar">Attributes</h3>
|
329
|
-
|
330
|
-
<div class="name-list">
|
331
|
-
<table>
|
332
|
-
<tr class="top-aligned-row context-row">
|
333
|
-
<td class="context-item-name">klass</td>
|
334
|
-
<td class="context-item-value"> [R] </td>
|
335
|
-
<td class="context-item-desc">
|
336
|
-
The Resource class
|
337
|
-
|
338
|
-
</td>
|
339
|
-
</tr>
|
340
|
-
<tr class="top-aligned-row context-row">
|
341
|
-
<td class="context-item-name">name</td>
|
342
|
-
<td class="context-item-value"> [R] </td>
|
343
|
-
<td class="context-item-desc">
|
344
|
-
The Resource‘s domain name
|
345
|
-
|
346
|
-
</td>
|
347
|
-
</tr>
|
348
|
-
<tr class="top-aligned-row context-row">
|
349
|
-
<td class="context-item-name">rdata</td>
|
350
|
-
<td class="context-item-value"> [RW] </td>
|
351
|
-
<td class="context-item-desc">
|
352
|
-
The Resource data section
|
353
|
-
|
354
|
-
</td>
|
355
|
-
</tr>
|
356
|
-
<tr class="top-aligned-row context-row">
|
357
|
-
<td class="context-item-name">ttl</td>
|
358
|
-
<td class="context-item-value"> [RW] </td>
|
359
|
-
<td class="context-item-desc">
|
360
|
-
The Resource Time-To-Live
|
361
|
-
|
362
|
-
</td>
|
363
|
-
</tr>
|
364
|
-
<tr class="top-aligned-row context-row">
|
365
|
-
<td class="context-item-name">type</td>
|
366
|
-
<td class="context-item-value"> [R] </td>
|
367
|
-
<td class="context-item-desc">
|
368
|
-
The Resource type
|
369
|
-
|
370
|
-
</td>
|
371
|
-
</tr>
|
372
|
-
</table>
|
373
|
-
</div>
|
374
|
-
</div>
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
<!-- if method_list -->
|
379
|
-
<div id="methods">
|
380
|
-
<h3 class="section-bar">Public Class methods</h3>
|
381
|
-
|
382
|
-
<div id="method-M000013" class="method-detail">
|
383
|
-
<a name="M000013"></a>
|
384
|
-
|
385
|
-
<div class="method-heading">
|
386
|
-
<a href="RR.src/M000013.html" target="Code" class="method-signature"
|
387
|
-
onclick="popupCode('RR.src/M000013.html');return false;">
|
388
|
-
<span class="method-name">create</span><span class="method-args">(*args)</span>
|
389
|
-
</a>
|
390
|
-
</div>
|
391
|
-
|
392
|
-
<div class="method-description">
|
393
|
-
<p>
|
394
|
-
Create a new <a href="RR.html">RR</a> from the arguments, which can be
|
395
|
-
either a String or a Hash. See <a
|
396
|
-
href="RR.html#M000008">new_from_string</a> and <a
|
397
|
-
href="RR.html#M000007">new_from_hash</a> for details
|
398
|
-
</p>
|
399
|
-
<pre>
|
400
|
-
a = Dnsruby::RR.create("foo.example.com. 86400 A 10.1.2.3")
|
401
|
-
mx = Dnsruby::RR.create("example.com. 7200 MX 10 mailhost.example.com.")
|
402
|
-
cname = Dnsruby::RR.create("www.example.com 300 IN CNAME www1.example.com")
|
403
|
-
txt = Dnsruby::RR.create('baz.example.com 3600 HS TXT "text record"')
|
404
|
-
|
405
|
-
rr = Dnsruby::RR.create({:name => "example.com"})
|
406
|
-
rr = Dnsruby::RR.create({:name => "example.com", :type => "MX", :ttl => 10,
|
407
|
-
:preference => 5, :exchange => "mx1.example.com"})
|
408
|
-
</pre>
|
409
|
-
</div>
|
410
|
-
</div>
|
411
|
-
|
412
|
-
<div id="method-M000009" class="method-detail">
|
413
|
-
<a name="M000009"></a>
|
414
|
-
|
415
|
-
<div class="method-heading">
|
416
|
-
<a href="RR.src/M000009.html" target="Code" class="method-signature"
|
417
|
-
onclick="popupCode('RR.src/M000009.html');return false;">
|
418
|
-
<span class="method-name">implemented_rrs</span><span class="method-args">()</span>
|
419
|
-
</a>
|
420
|
-
</div>
|
421
|
-
|
422
|
-
<div class="method-description">
|
423
|
-
<p>
|
424
|
-
Return an array of all the currently implemented <a href="RR.html">RR</a>
|
425
|
-
types
|
426
|
-
</p>
|
427
|
-
</div>
|
428
|
-
</div>
|
429
|
-
|
430
|
-
<div id="method-M000007" class="method-detail">
|
431
|
-
<a name="M000007"></a>
|
432
|
-
|
433
|
-
<div class="method-heading">
|
434
|
-
<a href="RR.src/M000007.html" target="Code" class="method-signature"
|
435
|
-
onclick="popupCode('RR.src/M000007.html');return false;">
|
436
|
-
<span class="method-name">new_from_hash</span><span class="method-args">(inhash)</span>
|
437
|
-
</a>
|
438
|
-
</div>
|
439
|
-
|
440
|
-
<div class="method-description">
|
441
|
-
<p>
|
442
|
-
Create a new <a href="RR.html">RR</a> from the hash. The name is required;
|
443
|
-
all other fields are optional. Type defaults to <a
|
444
|
-
href="RR/ANY.html">ANY</a> and the Class defaults to <a
|
445
|
-
href="RR/IN.html">IN</a>. The TTL defaults to 0.
|
446
|
-
</p>
|
447
|
-
<p>
|
448
|
-
If the type is specified, then it is necessary to provide ALL of the
|
449
|
-
resource record fields which are specific to that record; i.e. for an <a
|
450
|
-
href="RR/MX.html">MX</a> record, you would need to specify the exchange and
|
451
|
-
the preference
|
452
|
-
</p>
|
453
|
-
<pre>
|
454
|
-
require 'Dnsruby'
|
455
|
-
rr = Dnsruby::RR.new_from_hash({:name => "example.com"})
|
456
|
-
rr = Dnsruby::RR.new_from_hash({:name => "example.com", :type => Types.MX, :ttl => 10, :preference => 5, :exchange => "mx1.example.com"})
|
457
|
-
</pre>
|
458
|
-
</div>
|
459
|
-
</div>
|
460
|
-
|
461
|
-
<div id="method-M000008" class="method-detail">
|
462
|
-
<a name="M000008"></a>
|
463
|
-
|
464
|
-
<div class="method-heading">
|
465
|
-
<a href="RR.src/M000008.html" target="Code" class="method-signature"
|
466
|
-
onclick="popupCode('RR.src/M000008.html');return false;">
|
467
|
-
<span class="method-name">new_from_string</span><span class="method-args">(rrstring)</span>
|
468
|
-
</a>
|
469
|
-
</div>
|
470
|
-
|
471
|
-
<div class="method-description">
|
472
|
-
<p>
|
473
|
-
Returns a <a href="RR.html">Dnsruby::RR</a> object of the appropriate type
|
474
|
-
and initialized from the string passed by the user. The format of the
|
475
|
-
string is that used in zone files, and is compatible with the string
|
476
|
-
returned by Net::DNS::RR.inspect
|
477
|
-
</p>
|
478
|
-
<p>
|
479
|
-
The name and <a href="RR.html">RR</a> type are required; all other
|
480
|
-
information is optional. If omitted, the TTL defaults to 0 and the <a
|
481
|
-
href="RR.html">RR</a> class defaults to <a href="RR/IN.html">IN</a>.
|
482
|
-
</p>
|
483
|
-
<p>
|
484
|
-
All names must be fully qualified. The trailing dot (.) is optional.
|
485
|
-
</p>
|
486
|
-
<pre>
|
487
|
-
a = Dnsruby::RR.new_from_string("foo.example.com. 86400 A 10.1.2.3")
|
488
|
-
mx = Dnsruby::RR.new_from_string("example.com. 7200 MX 10 mailhost.example.com.")
|
489
|
-
cname = Dnsruby::RR.new_from_string("www.example.com 300 IN CNAME www1.example.com")
|
490
|
-
txt = Dnsruby::RR.new_from_string('baz.example.com 3600 HS TXT "text record"')
|
491
|
-
</pre>
|
492
|
-
</div>
|
493
|
-
</div>
|
494
|
-
|
495
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
496
|
-
|
497
|
-
<div id="method-M000012" class="method-detail">
|
498
|
-
<a name="M000012"></a>
|
499
|
-
|
500
|
-
<div class="method-heading">
|
501
|
-
<a href="RR.src/M000012.html" target="Code" class="method-signature"
|
502
|
-
onclick="popupCode('RR.src/M000012.html');return false;">
|
503
|
-
<span class="method-name">==</span><span class="method-args">(other)</span>
|
504
|
-
</a>
|
505
|
-
</div>
|
506
|
-
|
507
|
-
<div class="method-description">
|
508
|
-
</div>
|
509
|
-
</div>
|
510
|
-
|
511
|
-
<div id="method-M000006" class="method-detail">
|
512
|
-
<a name="M000006"></a>
|
513
|
-
|
514
|
-
<div class="method-heading">
|
515
|
-
<a href="RR.src/M000006.html" target="Code" class="method-signature"
|
516
|
-
onclick="popupCode('RR.src/M000006.html');return false;">
|
517
|
-
<span class="method-name">init_defaults</span><span class="method-args">()</span>
|
518
|
-
</a>
|
519
|
-
</div>
|
520
|
-
|
521
|
-
<div class="method-description">
|
522
|
-
</div>
|
523
|
-
</div>
|
524
|
-
|
525
|
-
<div id="method-M000004" class="method-detail">
|
526
|
-
<a name="M000004"></a>
|
527
|
-
|
528
|
-
<div class="method-heading">
|
529
|
-
<a href="RR.src/M000004.html" target="Code" class="method-signature"
|
530
|
-
onclick="popupCode('RR.src/M000004.html');return false;">
|
531
|
-
<span class="method-name">klass=</span><span class="method-args">(klass)</span>
|
532
|
-
</a>
|
533
|
-
</div>
|
534
|
-
|
535
|
-
<div class="method-description">
|
536
|
-
</div>
|
537
|
-
</div>
|
538
|
-
|
539
|
-
<div id="method-M000002" class="method-detail">
|
540
|
-
<a name="M000002"></a>
|
541
|
-
|
542
|
-
<div class="method-heading">
|
543
|
-
<a href="RR.src/M000002.html" target="Code" class="method-signature"
|
544
|
-
onclick="popupCode('RR.src/M000002.html');return false;">
|
545
|
-
<span class="method-name">name=</span><span class="method-args">(newname)</span>
|
546
|
-
</a>
|
547
|
-
</div>
|
548
|
-
|
549
|
-
<div class="method-description">
|
550
|
-
</div>
|
551
|
-
</div>
|
552
|
-
|
553
|
-
<div id="method-M000011" class="method-detail">
|
554
|
-
<a name="M000011"></a>
|
555
|
-
|
556
|
-
<div class="method-heading">
|
557
|
-
<a href="RR.src/M000011.html" target="Code" class="method-signature"
|
558
|
-
onclick="popupCode('RR.src/M000011.html');return false;">
|
559
|
-
<span class="method-name">rdata_to_string</span><span class="method-args">()</span>
|
560
|
-
</a>
|
561
|
-
</div>
|
562
|
-
|
563
|
-
<div class="method-description">
|
564
|
-
<p>
|
565
|
-
Get a string representation of the data section of the <a
|
566
|
-
href="RR.html">RR</a> (in zone file format)
|
567
|
-
</p>
|
568
|
-
</div>
|
569
|
-
</div>
|
570
|
-
|
571
|
-
<div id="method-M000001" class="method-detail">
|
572
|
-
<a name="M000001"></a>
|
573
|
-
|
574
|
-
<div class="method-heading">
|
575
|
-
<a href="RR.src/M000001.html" target="Code" class="method-signature"
|
576
|
-
onclick="popupCode('RR.src/M000001.html');return false;">
|
577
|
-
<span class="method-name">rdlength</span><span class="method-args">()</span>
|
578
|
-
</a>
|
579
|
-
</div>
|
580
|
-
|
581
|
-
<div class="method-description">
|
582
|
-
</div>
|
583
|
-
</div>
|
584
|
-
|
585
|
-
<div id="method-M000005" class="method-detail">
|
586
|
-
<a name="M000005"></a>
|
587
|
-
|
588
|
-
<div class="method-heading">
|
589
|
-
<a href="RR.src/M000005.html" target="Code" class="method-signature"
|
590
|
-
onclick="popupCode('RR.src/M000005.html');return false;">
|
591
|
-
<span class="method-name">sameRRset</span><span class="method-args">(rec)</span>
|
592
|
-
</a>
|
593
|
-
</div>
|
594
|
-
|
595
|
-
<div class="method-description">
|
596
|
-
<p>
|
597
|
-
Determines if two Records could be part of the same RRset. This compares
|
598
|
-
the name, type, and class of the Records; the ttl and rdata are not
|
599
|
-
compared.
|
600
|
-
</p>
|
601
|
-
</div>
|
602
|
-
</div>
|
603
|
-
|
604
|
-
<div id="method-M000010" class="method-detail">
|
605
|
-
<a name="M000010"></a>
|
606
|
-
|
607
|
-
<div class="method-heading">
|
608
|
-
<a href="RR.src/M000010.html" target="Code" class="method-signature"
|
609
|
-
onclick="popupCode('RR.src/M000010.html');return false;">
|
610
|
-
<span class="method-name">to_s</span><span class="method-args">()</span>
|
611
|
-
</a>
|
612
|
-
</div>
|
613
|
-
|
614
|
-
<div class="method-description">
|
615
|
-
<p>
|
616
|
-
Returns a string representation of the <a href="RR.html">RR</a> in zone
|
617
|
-
file format
|
618
|
-
</p>
|
619
|
-
</div>
|
620
|
-
</div>
|
621
|
-
|
622
|
-
<div id="method-M000003" class="method-detail">
|
623
|
-
<a name="M000003"></a>
|
624
|
-
|
625
|
-
<div class="method-heading">
|
626
|
-
<a href="RR.src/M000003.html" target="Code" class="method-signature"
|
627
|
-
onclick="popupCode('RR.src/M000003.html');return false;">
|
628
|
-
<span class="method-name">type=</span><span class="method-args">(type)</span>
|
629
|
-
</a>
|
630
|
-
</div>
|
631
|
-
|
632
|
-
<div class="method-description">
|
633
|
-
</div>
|
634
|
-
</div>
|
635
|
-
|
636
|
-
|
637
|
-
</div>
|
638
|
-
|
639
|
-
|
640
|
-
</div>
|
641
|
-
|
642
|
-
|
643
|
-
<div id="validator-badges">
|
644
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
645
|
-
</div>
|
646
|
-
|
647
|
-
</body>
|
648
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>rdlength (Dnsruby::RR)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/Dnsruby/resource/resource.rb, line 203</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rdlength</span>
|
15
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">rdata</span>.<span class="ruby-identifier">length</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|