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
@@ -1,803 +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::Message</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::Message</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/Dnsruby/message_rb.html">
|
59
|
-
lib/Dnsruby/message.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
<div id="description">
|
82
|
-
<h3>Defines a <a href="DNS.html">DNS</a> packet.</h3>
|
83
|
-
<p>
|
84
|
-
RFC 1035 <a href="Message/Section.html">Section</a> 4.1, RFC 2136 <a
|
85
|
-
href="Message/Section.html">Section</a> 2, RFC 2845
|
86
|
-
</p>
|
87
|
-
<h3>Sections</h3>
|
88
|
-
<p>
|
89
|
-
<a href="Message.html">Message</a> objects have five sections:
|
90
|
-
</p>
|
91
|
-
<ul>
|
92
|
-
<li>The header section, a <a href="Header.html">Dnsruby::Header</a> object.
|
93
|
-
|
94
|
-
<pre>
|
95
|
-
msg.header=Header.new(...)
|
96
|
-
header = msg.header
|
97
|
-
</pre>
|
98
|
-
</li>
|
99
|
-
<li>The question section, an array of <a
|
100
|
-
href="Question.html">Dnsruby::Question</a> objects.
|
101
|
-
|
102
|
-
<pre>
|
103
|
-
msg.add_question(Question.new(domain, type, klass))
|
104
|
-
msg.each_question do |question| .... end
|
105
|
-
</pre>
|
106
|
-
</li>
|
107
|
-
<li>The answer section, an array of <a href="RR.html">Dnsruby::RR</a> objects.
|
108
|
-
|
109
|
-
<pre>
|
110
|
-
msg.add_answer(RR.create({:name => "a2.example.com",
|
111
|
-
:type => "A", :address => "10.0.0.2"}))
|
112
|
-
msg.each_answer {|answer| ... }
|
113
|
-
</pre>
|
114
|
-
</li>
|
115
|
-
<li>The authority section, an array of <a href="RR.html">Dnsruby::RR</a>
|
116
|
-
objects.
|
117
|
-
|
118
|
-
<pre>
|
119
|
-
msg.add_authority(rr)
|
120
|
-
msg.each_authority {|rr| ... }
|
121
|
-
</pre>
|
122
|
-
</li>
|
123
|
-
<li>The additional section, an array of <a href="RR.html">Dnsruby::RR</a>
|
124
|
-
objects.
|
125
|
-
|
126
|
-
<pre>
|
127
|
-
msg.add_additional(rr)
|
128
|
-
msg.each_additional {|rr| ... }
|
129
|
-
</pre>
|
130
|
-
</li>
|
131
|
-
</ul>
|
132
|
-
<p>
|
133
|
-
In addition, <a href="Message.html#M000128">each_resource</a> iterates the
|
134
|
-
answer, additional and authority sections :
|
135
|
-
</p>
|
136
|
-
<pre>
|
137
|
-
msg.each_resource {|rr| ... }
|
138
|
-
</pre>
|
139
|
-
<h3>Packet format encoding</h3>
|
140
|
-
<pre>
|
141
|
-
Dnsruby::Message#encode
|
142
|
-
Dnsruby::Message::decode(data)
|
143
|
-
</pre>
|
144
|
-
|
145
|
-
</div>
|
146
|
-
|
147
|
-
|
148
|
-
</div>
|
149
|
-
|
150
|
-
<div id="method-list">
|
151
|
-
<h3 class="section-bar">Methods</h3>
|
152
|
-
|
153
|
-
<div class="name-list">
|
154
|
-
<a href="#M000120">==</a>
|
155
|
-
<a href="#M000122">add_question</a>
|
156
|
-
<a href="#M000136">add_zone</a>
|
157
|
-
<a href="#M000135">decode</a>
|
158
|
-
<a href="#M000126">each_additional</a>
|
159
|
-
<a href="#M000124">each_answer</a>
|
160
|
-
<a href="#M000125">each_authority</a>
|
161
|
-
<a href="#M000138">each_pre</a>
|
162
|
-
<a href="#M000139">each_prerequisite</a>
|
163
|
-
<a href="#M000123">each_question</a>
|
164
|
-
<a href="#M000128">each_resource</a>
|
165
|
-
<a href="#M000127">each_section</a>
|
166
|
-
<a href="#M000140">each_update</a>
|
167
|
-
<a href="#M000137">each_zone</a>
|
168
|
-
<a href="#M000134">encode</a>
|
169
|
-
<a href="#M000119">new</a>
|
170
|
-
<a href="#M000121">section_rrsets</a>
|
171
|
-
<a href="#M000130">set_tsig</a>
|
172
|
-
<a href="#M000131">signed?</a>
|
173
|
-
<a href="#M000133">to_s</a>
|
174
|
-
<a href="#M000129">tsig</a>
|
175
|
-
<a href="#M000132">verified?</a>
|
176
|
-
</div>
|
177
|
-
</div>
|
178
|
-
|
179
|
-
</div>
|
180
|
-
|
181
|
-
|
182
|
-
<!-- if includes -->
|
183
|
-
|
184
|
-
<div id="section">
|
185
|
-
|
186
|
-
<div id="class-list">
|
187
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
188
|
-
|
189
|
-
Class <a href="Message/Section.html" class="link">Dnsruby::Message::Section</a><br />
|
190
|
-
|
191
|
-
</div>
|
192
|
-
|
193
|
-
|
194
|
-
<div id="aliases-list">
|
195
|
-
<h3 class="section-bar">External Aliases</h3>
|
196
|
-
|
197
|
-
<div class="name-list">
|
198
|
-
<table summary="aliases">
|
199
|
-
<tr class="top-aligned-row context-row">
|
200
|
-
<td class="context-item-name">question</td>
|
201
|
-
<td>-></td>
|
202
|
-
<td class="context-item-value">zone</td>
|
203
|
-
</tr>
|
204
|
-
<tr class="top-aligned-row context-row">
|
205
|
-
<td> </td>
|
206
|
-
<td colspan="2" class="context-item-desc">
|
207
|
-
In dynamic update packets, the question section is known as zone and
|
208
|
-
specifies the zone to be updated.
|
209
|
-
|
210
|
-
</td>
|
211
|
-
</tr>
|
212
|
-
<tr class="top-aligned-row context-row">
|
213
|
-
<td class="context-item-name">answer</td>
|
214
|
-
<td>-></td>
|
215
|
-
<td class="context-item-value">pre</td>
|
216
|
-
</tr>
|
217
|
-
<tr class="top-aligned-row context-row">
|
218
|
-
<td> </td>
|
219
|
-
<td colspan="2" class="context-item-desc">
|
220
|
-
In dynamic update packets, the answer section is known as pre or
|
221
|
-
prerequisite and specifies the RRs or RRsets which must or must not
|
222
|
-
preexist.
|
223
|
-
|
224
|
-
</td>
|
225
|
-
</tr>
|
226
|
-
<tr class="top-aligned-row context-row">
|
227
|
-
<td class="context-item-name">add_answer</td>
|
228
|
-
<td>-></td>
|
229
|
-
<td class="context-item-value">add_pre</td>
|
230
|
-
</tr>
|
231
|
-
<tr class="top-aligned-row context-row">
|
232
|
-
<td class="context-item-name">pre</td>
|
233
|
-
<td>-></td>
|
234
|
-
<td class="context-item-value">prerequisite</td>
|
235
|
-
</tr>
|
236
|
-
<tr class="top-aligned-row context-row">
|
237
|
-
<td> </td>
|
238
|
-
<td colspan="2" class="context-item-desc">
|
239
|
-
In dynamic update packets, the answer section is known as pre or
|
240
|
-
prerequisite and specifies the RRs or RRsets which must or must not
|
241
|
-
preexist.
|
242
|
-
|
243
|
-
</td>
|
244
|
-
</tr>
|
245
|
-
<tr class="top-aligned-row context-row">
|
246
|
-
<td class="context-item-name">add_pre</td>
|
247
|
-
<td>-></td>
|
248
|
-
<td class="context-item-value">add_prerequisite</td>
|
249
|
-
</tr>
|
250
|
-
<tr class="top-aligned-row context-row">
|
251
|
-
<td class="context-item-name">authority</td>
|
252
|
-
<td>-></td>
|
253
|
-
<td class="context-item-value">update</td>
|
254
|
-
</tr>
|
255
|
-
<tr class="top-aligned-row context-row">
|
256
|
-
<td> </td>
|
257
|
-
<td colspan="2" class="context-item-desc">
|
258
|
-
In dynamic update packets, the authority section is known as update and
|
259
|
-
specifies the RRs or RRsets to be added or delted.
|
260
|
-
|
261
|
-
</td>
|
262
|
-
</tr>
|
263
|
-
<tr class="top-aligned-row context-row">
|
264
|
-
<td class="context-item-name">add_authority</td>
|
265
|
-
<td>-></td>
|
266
|
-
<td class="context-item-value">add_update</td>
|
267
|
-
</tr>
|
268
|
-
</table>
|
269
|
-
</div>
|
270
|
-
</div>
|
271
|
-
|
272
|
-
|
273
|
-
<div id="attribute-list">
|
274
|
-
<h3 class="section-bar">Attributes</h3>
|
275
|
-
|
276
|
-
<div class="name-list">
|
277
|
-
<table>
|
278
|
-
<tr class="top-aligned-row context-row">
|
279
|
-
<td class="context-item-name">additional</td>
|
280
|
-
<td class="context-item-value"> [R] </td>
|
281
|
-
<td class="context-item-desc">
|
282
|
-
The additional section, an array of <a href="RR.html">Dnsruby::RR</a>
|
283
|
-
objects.
|
284
|
-
|
285
|
-
</td>
|
286
|
-
</tr>
|
287
|
-
<tr class="top-aligned-row context-row">
|
288
|
-
<td class="context-item-name">answer</td>
|
289
|
-
<td class="context-item-value"> [R] </td>
|
290
|
-
<td class="context-item-desc">
|
291
|
-
The answer section, an array of <a href="RR.html">Dnsruby::RR</a> objects.
|
292
|
-
|
293
|
-
</td>
|
294
|
-
</tr>
|
295
|
-
<tr class="top-aligned-row context-row">
|
296
|
-
<td class="context-item-name">answerfrom</td>
|
297
|
-
<td class="context-item-value"> [RW] </td>
|
298
|
-
<td class="context-item-desc">
|
299
|
-
If this <a href="Message.html">Message</a> is a response from a server,
|
300
|
-
then answerfrom contains the address of the server
|
301
|
-
|
302
|
-
</td>
|
303
|
-
</tr>
|
304
|
-
<tr class="top-aligned-row context-row">
|
305
|
-
<td class="context-item-name">answersize</td>
|
306
|
-
<td class="context-item-value"> [RW] </td>
|
307
|
-
<td class="context-item-desc">
|
308
|
-
If this <a href="Message.html">Message</a> is a response from a server,
|
309
|
-
then answersize contains the size of the response
|
310
|
-
|
311
|
-
</td>
|
312
|
-
</tr>
|
313
|
-
<tr class="top-aligned-row context-row">
|
314
|
-
<td class="context-item-name">authority</td>
|
315
|
-
<td class="context-item-value"> [R] </td>
|
316
|
-
<td class="context-item-desc">
|
317
|
-
The authority section, an array of <a href="RR.html">Dnsruby::RR</a>
|
318
|
-
objects.
|
319
|
-
|
320
|
-
</td>
|
321
|
-
</tr>
|
322
|
-
<tr class="top-aligned-row context-row">
|
323
|
-
<td class="context-item-name">header</td>
|
324
|
-
<td class="context-item-value"> [RW] </td>
|
325
|
-
<td class="context-item-desc">
|
326
|
-
The header section, a <a href="Header.html">Dnsruby::Header</a> object.
|
327
|
-
|
328
|
-
</td>
|
329
|
-
</tr>
|
330
|
-
<tr class="top-aligned-row context-row">
|
331
|
-
<td class="context-item-name">question</td>
|
332
|
-
<td class="context-item-value"> [R] </td>
|
333
|
-
<td class="context-item-desc">
|
334
|
-
The question section, an array of <a
|
335
|
-
href="Question.html">Dnsruby::Question</a> objects.
|
336
|
-
|
337
|
-
</td>
|
338
|
-
</tr>
|
339
|
-
<tr class="top-aligned-row context-row">
|
340
|
-
<td class="context-item-name">tsigerror</td>
|
341
|
-
<td class="context-item-value"> [RW] </td>
|
342
|
-
<td class="context-item-desc">
|
343
|
-
If this message has been verified using a TSIG <a href="RR.html">RR</a>
|
344
|
-
then tsigerror contains the error code returned by the TSIG verification.
|
345
|
-
The error will be an <a href="RCode.html">RCode</a>
|
346
|
-
|
347
|
-
</td>
|
348
|
-
</tr>
|
349
|
-
<tr class="top-aligned-row context-row">
|
350
|
-
<td class="context-item-name">tsigstart</td>
|
351
|
-
<td class="context-item-value"> [RW] </td>
|
352
|
-
<td class="context-item-desc"></td>
|
353
|
-
</tr>
|
354
|
-
<tr class="top-aligned-row context-row">
|
355
|
-
<td class="context-item-name">tsigstate</td>
|
356
|
-
<td class="context-item-value"> [RW] </td>
|
357
|
-
<td class="context-item-desc">
|
358
|
-
Can be
|
359
|
-
|
360
|
-
<ul>
|
361
|
-
<li>:Unsigned - the default state
|
362
|
-
|
363
|
-
</li>
|
364
|
-
<li>:Signed - the outgoing message has been signed
|
365
|
-
|
366
|
-
</li>
|
367
|
-
<li>:Verified - the incoming message has been verified
|
368
|
-
|
369
|
-
</li>
|
370
|
-
<li>:Intermediate - the incoming message is an intermediate envelope in a TCP
|
371
|
-
session
|
372
|
-
|
373
|
-
</li>
|
374
|
-
</ul>
|
375
|
-
<p>
|
376
|
-
in which only every 100th envelope must be signed
|
377
|
-
</p>
|
378
|
-
<ul>
|
379
|
-
<li>:Failed - the incoming response failed verification
|
380
|
-
|
381
|
-
</li>
|
382
|
-
</ul>
|
383
|
-
</td>
|
384
|
-
</tr>
|
385
|
-
</table>
|
386
|
-
</div>
|
387
|
-
</div>
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
<!-- if method_list -->
|
392
|
-
<div id="methods">
|
393
|
-
<h3 class="section-bar">Public Class methods</h3>
|
394
|
-
|
395
|
-
<div id="method-M000135" class="method-detail">
|
396
|
-
<a name="M000135"></a>
|
397
|
-
|
398
|
-
<div class="method-heading">
|
399
|
-
<a href="Message.src/M000135.html" target="Code" class="method-signature"
|
400
|
-
onclick="popupCode('Message.src/M000135.html');return false;">
|
401
|
-
<span class="method-name">decode</span><span class="method-args">(m)</span>
|
402
|
-
</a>
|
403
|
-
</div>
|
404
|
-
|
405
|
-
<div class="method-description">
|
406
|
-
<p>
|
407
|
-
Decode the encoded message
|
408
|
-
</p>
|
409
|
-
</div>
|
410
|
-
</div>
|
411
|
-
|
412
|
-
<div id="method-M000119" class="method-detail">
|
413
|
-
<a name="M000119"></a>
|
414
|
-
|
415
|
-
<div class="method-heading">
|
416
|
-
<a href="Message.src/M000119.html" target="Code" class="method-signature"
|
417
|
-
onclick="popupCode('Message.src/M000119.html');return false;">
|
418
|
-
<span class="method-name">new</span><span class="method-args">(*args)</span>
|
419
|
-
</a>
|
420
|
-
</div>
|
421
|
-
|
422
|
-
<div class="method-description">
|
423
|
-
<p>
|
424
|
-
Create a <a href="Message.html#M000119">new</a> <a
|
425
|
-
href="Message.html">Message</a>. Takes optional name, type and class
|
426
|
-
</p>
|
427
|
-
<p>
|
428
|
-
type defaults to A, and klass defaults to IN
|
429
|
-
</p>
|
430
|
-
<ul>
|
431
|
-
<li><a
|
432
|
-
href="Message.html#M000119">Dnsruby::Message.new</a>("example.com")
|
433
|
-
# defaults to A, IN
|
434
|
-
|
435
|
-
</li>
|
436
|
-
<li><a
|
437
|
-
href="Message.html#M000119">Dnsruby::Message.new</a>("example.com",
|
438
|
-
‘AAAA’)
|
439
|
-
|
440
|
-
</li>
|
441
|
-
<li><a
|
442
|
-
href="Message.html#M000119">Dnsruby::Message.new</a>("example.com",
|
443
|
-
Dnsruby::Types.PTR, "HS")
|
444
|
-
|
445
|
-
</li>
|
446
|
-
</ul>
|
447
|
-
</div>
|
448
|
-
</div>
|
449
|
-
|
450
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
451
|
-
|
452
|
-
<div id="method-M000120" class="method-detail">
|
453
|
-
<a name="M000120"></a>
|
454
|
-
|
455
|
-
<div class="method-heading">
|
456
|
-
<a href="Message.src/M000120.html" target="Code" class="method-signature"
|
457
|
-
onclick="popupCode('Message.src/M000120.html');return false;">
|
458
|
-
<span class="method-name">==</span><span class="method-args">(other)</span>
|
459
|
-
</a>
|
460
|
-
</div>
|
461
|
-
|
462
|
-
<div class="method-description">
|
463
|
-
<p>
|
464
|
-
++
|
465
|
-
</p>
|
466
|
-
</div>
|
467
|
-
</div>
|
468
|
-
|
469
|
-
<div id="method-M000122" class="method-detail">
|
470
|
-
<a name="M000122"></a>
|
471
|
-
|
472
|
-
<div class="method-heading">
|
473
|
-
<a href="Message.src/M000122.html" target="Code" class="method-signature"
|
474
|
-
onclick="popupCode('Message.src/M000122.html');return false;">
|
475
|
-
<span class="method-name">add_question</span><span class="method-args">(question, type=Types.A, klass=Classes.IN)</span>
|
476
|
-
</a>
|
477
|
-
</div>
|
478
|
-
|
479
|
-
<div class="method-description">
|
480
|
-
<p>
|
481
|
-
Add a <a href="Message.html#M000119">new</a> <a
|
482
|
-
href="Question.html">Question</a> to the <a
|
483
|
-
href="Message.html">Message</a>. Takes either a <a
|
484
|
-
href="Question.html">Question</a>, or a name, and an optional type and
|
485
|
-
class.
|
486
|
-
</p>
|
487
|
-
<ul>
|
488
|
-
<li>msg.add_question(<a
|
489
|
-
href="Question.html#M000226">Question.new</a>("example.com",
|
490
|
-
‘MX’))
|
491
|
-
|
492
|
-
</li>
|
493
|
-
<li>msg.add_question("example.com") # defaults to Types.A, Classes.IN
|
494
|
-
|
495
|
-
</li>
|
496
|
-
<li>msg.add_question("example.com", Types.LOC)
|
497
|
-
|
498
|
-
</li>
|
499
|
-
</ul>
|
500
|
-
</div>
|
501
|
-
</div>
|
502
|
-
|
503
|
-
<div id="method-M000136" class="method-detail">
|
504
|
-
<a name="M000136"></a>
|
505
|
-
|
506
|
-
<div class="method-heading">
|
507
|
-
<span class="method-name">add_zone</span><span class="method-args">(question, type=Types.A, klass=Classes.IN)</span>
|
508
|
-
</div>
|
509
|
-
|
510
|
-
<div class="method-description">
|
511
|
-
<p>
|
512
|
-
Alias for <a href="Message.html#M000122">add_question</a>
|
513
|
-
</p>
|
514
|
-
</div>
|
515
|
-
</div>
|
516
|
-
|
517
|
-
<div id="method-M000126" class="method-detail">
|
518
|
-
<a name="M000126"></a>
|
519
|
-
|
520
|
-
<div class="method-heading">
|
521
|
-
<a href="Message.src/M000126.html" target="Code" class="method-signature"
|
522
|
-
onclick="popupCode('Message.src/M000126.html');return false;">
|
523
|
-
<span class="method-name">each_additional</span><span class="method-args">() {|rec| ...}</span>
|
524
|
-
</a>
|
525
|
-
</div>
|
526
|
-
|
527
|
-
<div class="method-description">
|
528
|
-
</div>
|
529
|
-
</div>
|
530
|
-
|
531
|
-
<div id="method-M000124" class="method-detail">
|
532
|
-
<a name="M000124"></a>
|
533
|
-
|
534
|
-
<div class="method-heading">
|
535
|
-
<a href="Message.src/M000124.html" target="Code" class="method-signature"
|
536
|
-
onclick="popupCode('Message.src/M000124.html');return false;">
|
537
|
-
<span class="method-name">each_answer</span><span class="method-args">() {|rec| ...}</span>
|
538
|
-
</a>
|
539
|
-
</div>
|
540
|
-
|
541
|
-
<div class="method-description">
|
542
|
-
</div>
|
543
|
-
</div>
|
544
|
-
|
545
|
-
<div id="method-M000125" class="method-detail">
|
546
|
-
<a name="M000125"></a>
|
547
|
-
|
548
|
-
<div class="method-heading">
|
549
|
-
<a href="Message.src/M000125.html" target="Code" class="method-signature"
|
550
|
-
onclick="popupCode('Message.src/M000125.html');return false;">
|
551
|
-
<span class="method-name">each_authority</span><span class="method-args">() {|rec| ...}</span>
|
552
|
-
</a>
|
553
|
-
</div>
|
554
|
-
|
555
|
-
<div class="method-description">
|
556
|
-
</div>
|
557
|
-
</div>
|
558
|
-
|
559
|
-
<div id="method-M000138" class="method-detail">
|
560
|
-
<a name="M000138"></a>
|
561
|
-
|
562
|
-
<div class="method-heading">
|
563
|
-
<span class="method-name">each_pre</span><span class="method-args">()</span>
|
564
|
-
</div>
|
565
|
-
|
566
|
-
<div class="method-description">
|
567
|
-
<p>
|
568
|
-
Alias for <a href="Message.html#M000124">each_answer</a>
|
569
|
-
</p>
|
570
|
-
</div>
|
571
|
-
</div>
|
572
|
-
|
573
|
-
<div id="method-M000139" class="method-detail">
|
574
|
-
<a name="M000139"></a>
|
575
|
-
|
576
|
-
<div class="method-heading">
|
577
|
-
<span class="method-name">each_prerequisite</span><span class="method-args">()</span>
|
578
|
-
</div>
|
579
|
-
|
580
|
-
<div class="method-description">
|
581
|
-
<p>
|
582
|
-
Alias for <a href="Message.html#M000138">each_pre</a>
|
583
|
-
</p>
|
584
|
-
</div>
|
585
|
-
</div>
|
586
|
-
|
587
|
-
<div id="method-M000123" class="method-detail">
|
588
|
-
<a name="M000123"></a>
|
589
|
-
|
590
|
-
<div class="method-heading">
|
591
|
-
<a href="Message.src/M000123.html" target="Code" class="method-signature"
|
592
|
-
onclick="popupCode('Message.src/M000123.html');return false;">
|
593
|
-
<span class="method-name">each_question</span><span class="method-args">() {|rec| ...}</span>
|
594
|
-
</a>
|
595
|
-
</div>
|
596
|
-
|
597
|
-
<div class="method-description">
|
598
|
-
</div>
|
599
|
-
</div>
|
600
|
-
|
601
|
-
<div id="method-M000128" class="method-detail">
|
602
|
-
<a name="M000128"></a>
|
603
|
-
|
604
|
-
<div class="method-heading">
|
605
|
-
<a href="Message.src/M000128.html" target="Code" class="method-signature"
|
606
|
-
onclick="popupCode('Message.src/M000128.html');return false;">
|
607
|
-
<span class="method-name">each_resource</span><span class="method-args">() {|rec| ...}</span>
|
608
|
-
</a>
|
609
|
-
</div>
|
610
|
-
|
611
|
-
<div class="method-description">
|
612
|
-
<p>
|
613
|
-
Calls <a href="Message.html#M000124">each_answer</a>, <a
|
614
|
-
href="Message.html#M000125">each_authority</a>, <a
|
615
|
-
href="Message.html#M000126">each_additional</a>
|
616
|
-
</p>
|
617
|
-
</div>
|
618
|
-
</div>
|
619
|
-
|
620
|
-
<div id="method-M000127" class="method-detail">
|
621
|
-
<a name="M000127"></a>
|
622
|
-
|
623
|
-
<div class="method-heading">
|
624
|
-
<a href="Message.src/M000127.html" target="Code" class="method-signature"
|
625
|
-
onclick="popupCode('Message.src/M000127.html');return false;">
|
626
|
-
<span class="method-name">each_section</span><span class="method-args">() {|section| ...}</span>
|
627
|
-
</a>
|
628
|
-
</div>
|
629
|
-
|
630
|
-
<div class="method-description">
|
631
|
-
<p>
|
632
|
-
Yields each section (question, answer, authority, additional)
|
633
|
-
</p>
|
634
|
-
</div>
|
635
|
-
</div>
|
636
|
-
|
637
|
-
<div id="method-M000140" class="method-detail">
|
638
|
-
<a name="M000140"></a>
|
639
|
-
|
640
|
-
<div class="method-heading">
|
641
|
-
<span class="method-name">each_update</span><span class="method-args">()</span>
|
642
|
-
</div>
|
643
|
-
|
644
|
-
<div class="method-description">
|
645
|
-
<p>
|
646
|
-
Alias for <a href="Message.html#M000125">each_authority</a>
|
647
|
-
</p>
|
648
|
-
</div>
|
649
|
-
</div>
|
650
|
-
|
651
|
-
<div id="method-M000137" class="method-detail">
|
652
|
-
<a name="M000137"></a>
|
653
|
-
|
654
|
-
<div class="method-heading">
|
655
|
-
<span class="method-name">each_zone</span><span class="method-args">()</span>
|
656
|
-
</div>
|
657
|
-
|
658
|
-
<div class="method-description">
|
659
|
-
<p>
|
660
|
-
Alias for <a href="Message.html#M000123">each_question</a>
|
661
|
-
</p>
|
662
|
-
</div>
|
663
|
-
</div>
|
664
|
-
|
665
|
-
<div id="method-M000134" class="method-detail">
|
666
|
-
<a name="M000134"></a>
|
667
|
-
|
668
|
-
<div class="method-heading">
|
669
|
-
<a href="Message.src/M000134.html" target="Code" class="method-signature"
|
670
|
-
onclick="popupCode('Message.src/M000134.html');return false;">
|
671
|
-
<span class="method-name">encode</span><span class="method-args">()</span>
|
672
|
-
</a>
|
673
|
-
</div>
|
674
|
-
|
675
|
-
<div class="method-description">
|
676
|
-
<p>
|
677
|
-
Return the encoded form of the message
|
678
|
-
</p>
|
679
|
-
<pre>
|
680
|
-
If there is a TSIG record present and the record has not been signed
|
681
|
-
then sign it
|
682
|
-
</pre>
|
683
|
-
</div>
|
684
|
-
</div>
|
685
|
-
|
686
|
-
<div id="method-M000121" class="method-detail">
|
687
|
-
<a name="M000121"></a>
|
688
|
-
|
689
|
-
<div class="method-heading">
|
690
|
-
<a href="Message.src/M000121.html" target="Code" class="method-signature"
|
691
|
-
onclick="popupCode('Message.src/M000121.html');return false;">
|
692
|
-
<span class="method-name">section_rrsets</span><span class="method-args">()</span>
|
693
|
-
</a>
|
694
|
-
</div>
|
695
|
-
|
696
|
-
<div class="method-description">
|
697
|
-
<p>
|
698
|
-
Return a hash, with the section as key, and the RRSets in that section as
|
699
|
-
the data : {section => section_rrs}
|
700
|
-
</p>
|
701
|
-
</div>
|
702
|
-
</div>
|
703
|
-
|
704
|
-
<div id="method-M000130" class="method-detail">
|
705
|
-
<a name="M000130"></a>
|
706
|
-
|
707
|
-
<div class="method-heading">
|
708
|
-
<a href="Message.src/M000130.html" target="Code" class="method-signature"
|
709
|
-
onclick="popupCode('Message.src/M000130.html');return false;">
|
710
|
-
<span class="method-name">set_tsig</span><span class="method-args">(*args)</span>
|
711
|
-
</a>
|
712
|
-
</div>
|
713
|
-
|
714
|
-
<div class="method-description">
|
715
|
-
<p>
|
716
|
-
Sets the TSIG to sign this message with. Can either be a <a
|
717
|
-
href="RR/TSIG.html">Dnsruby::RR::TSIG</a> object, or it can be a (name,
|
718
|
-
key) tuple, or it can be a hash which takes <a
|
719
|
-
href="RR/TSIG.html">Dnsruby::RR::TSIG</a> attributes (e.g. name, key,
|
720
|
-
fudge, etc.)
|
721
|
-
</p>
|
722
|
-
</div>
|
723
|
-
</div>
|
724
|
-
|
725
|
-
<div id="method-M000131" class="method-detail">
|
726
|
-
<a name="M000131"></a>
|
727
|
-
|
728
|
-
<div class="method-heading">
|
729
|
-
<a href="Message.src/M000131.html" target="Code" class="method-signature"
|
730
|
-
onclick="popupCode('Message.src/M000131.html');return false;">
|
731
|
-
<span class="method-name">signed?</span><span class="method-args">()</span>
|
732
|
-
</a>
|
733
|
-
</div>
|
734
|
-
|
735
|
-
<div class="method-description">
|
736
|
-
<p>
|
737
|
-
Was this message signed by a TSIG?
|
738
|
-
</p>
|
739
|
-
</div>
|
740
|
-
</div>
|
741
|
-
|
742
|
-
<div id="method-M000133" class="method-detail">
|
743
|
-
<a name="M000133"></a>
|
744
|
-
|
745
|
-
<div class="method-heading">
|
746
|
-
<a href="Message.src/M000133.html" target="Code" class="method-signature"
|
747
|
-
onclick="popupCode('Message.src/M000133.html');return false;">
|
748
|
-
<span class="method-name">to_s</span><span class="method-args">()</span>
|
749
|
-
</a>
|
750
|
-
</div>
|
751
|
-
|
752
|
-
<div class="method-description">
|
753
|
-
</div>
|
754
|
-
</div>
|
755
|
-
|
756
|
-
<div id="method-M000129" class="method-detail">
|
757
|
-
<a name="M000129"></a>
|
758
|
-
|
759
|
-
<div class="method-heading">
|
760
|
-
<a href="Message.src/M000129.html" target="Code" class="method-signature"
|
761
|
-
onclick="popupCode('Message.src/M000129.html');return false;">
|
762
|
-
<span class="method-name">tsig</span><span class="method-args">()</span>
|
763
|
-
</a>
|
764
|
-
</div>
|
765
|
-
|
766
|
-
<div class="method-description">
|
767
|
-
<p>
|
768
|
-
Returns the TSIG record from the ADDITIONAL section, if one is present.
|
769
|
-
</p>
|
770
|
-
</div>
|
771
|
-
</div>
|
772
|
-
|
773
|
-
<div id="method-M000132" class="method-detail">
|
774
|
-
<a name="M000132"></a>
|
775
|
-
|
776
|
-
<div class="method-heading">
|
777
|
-
<a href="Message.src/M000132.html" target="Code" class="method-signature"
|
778
|
-
onclick="popupCode('Message.src/M000132.html');return false;">
|
779
|
-
<span class="method-name">verified?</span><span class="method-args">()</span>
|
780
|
-
</a>
|
781
|
-
</div>
|
782
|
-
|
783
|
-
<div class="method-description">
|
784
|
-
<p>
|
785
|
-
If this message was signed by a TSIG, was the TSIG <a
|
786
|
-
href="Message.html#M000132">verified?</a>
|
787
|
-
</p>
|
788
|
-
</div>
|
789
|
-
</div>
|
790
|
-
|
791
|
-
|
792
|
-
</div>
|
793
|
-
|
794
|
-
|
795
|
-
</div>
|
796
|
-
|
797
|
-
|
798
|
-
<div id="validator-badges">
|
799
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
800
|
-
</div>
|
801
|
-
|
802
|
-
</body>
|
803
|
-
</html>
|