Software /
code /
prosody
Annotate
util/dnsregistry.lua @ 12578:10bb58ad5583
executables: Reject Lua 5.1 early
Prevents attempting to load libraries that may no longer be found and
crashing with a traceback.
Platforms like Debian where multiple Lua versions can be installed at
the same time and 'lua' pointing to one of the installed interpreters
via symlinks, there's the possibility that prosody/prosodyctl may be
invoked with Lua 5.1, which will no longer have any of the rest of
Prosody libraries available to be require(), and thus would immediately
fail with an unfriendly traceback.
Checking and aborting early with a friendlier message and reference to
more information is better.
Part of #1600
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 02 Jul 2022 17:27:39 +0200 |
parent | 12238:57215267dd4f |
child | 12856:89bc598c7051 |
rev | line source |
---|---|
12238
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
1 -- Source: https://www.iana.org/assignments/dns-parameters/dns-parameters.xml |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
2 -- Generated on 2022-02-02 |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
3 return { |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
4 classes = { |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
5 ["IN"] = 1; [1] = "IN"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
6 ["CH"] = 3; [3] = "CH"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
7 ["HS"] = 4; [4] = "HS"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
8 ["ANY"] = 255; [255] = "ANY"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
9 }; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
10 types = { |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
11 ["A"] = 1; [1] = "A"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
12 ["NS"] = 2; [2] = "NS"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
13 ["MD"] = 3; [3] = "MD"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
14 ["MF"] = 4; [4] = "MF"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
15 ["CNAME"] = 5; [5] = "CNAME"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
16 ["SOA"] = 6; [6] = "SOA"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
17 ["MB"] = 7; [7] = "MB"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
18 ["MG"] = 8; [8] = "MG"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
19 ["MR"] = 9; [9] = "MR"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
20 ["NULL"] = 10; [10] = "NULL"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
21 ["WKS"] = 11; [11] = "WKS"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
22 ["PTR"] = 12; [12] = "PTR"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
23 ["HINFO"] = 13; [13] = "HINFO"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
24 ["MINFO"] = 14; [14] = "MINFO"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
25 ["MX"] = 15; [15] = "MX"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
26 ["TXT"] = 16; [16] = "TXT"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
27 ["RP"] = 17; [17] = "RP"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
28 ["AFSDB"] = 18; [18] = "AFSDB"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
29 ["X25"] = 19; [19] = "X25"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
30 ["ISDN"] = 20; [20] = "ISDN"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
31 ["RT"] = 21; [21] = "RT"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
32 ["NSAP"] = 22; [22] = "NSAP"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
33 ["NSAP-PTR"] = 23; [23] = "NSAP-PTR"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
34 ["SIG"] = 24; [24] = "SIG"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
35 ["KEY"] = 25; [25] = "KEY"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
36 ["PX"] = 26; [26] = "PX"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
37 ["GPOS"] = 27; [27] = "GPOS"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
38 ["AAAA"] = 28; [28] = "AAAA"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
39 ["LOC"] = 29; [29] = "LOC"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
40 ["NXT"] = 30; [30] = "NXT"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
41 ["EID"] = 31; [31] = "EID"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
42 ["NIMLOC"] = 32; [32] = "NIMLOC"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
43 ["SRV"] = 33; [33] = "SRV"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
44 ["ATMA"] = 34; [34] = "ATMA"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
45 ["NAPTR"] = 35; [35] = "NAPTR"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
46 ["KX"] = 36; [36] = "KX"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
47 ["CERT"] = 37; [37] = "CERT"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
48 ["A6"] = 38; [38] = "A6"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
49 ["DNAME"] = 39; [39] = "DNAME"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
50 ["SINK"] = 40; [40] = "SINK"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
51 ["OPT"] = 41; [41] = "OPT"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
52 ["APL"] = 42; [42] = "APL"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
53 ["DS"] = 43; [43] = "DS"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
54 ["SSHFP"] = 44; [44] = "SSHFP"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
55 ["IPSECKEY"] = 45; [45] = "IPSECKEY"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
56 ["RRSIG"] = 46; [46] = "RRSIG"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
57 ["NSEC"] = 47; [47] = "NSEC"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
58 ["DNSKEY"] = 48; [48] = "DNSKEY"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
59 ["DHCID"] = 49; [49] = "DHCID"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
60 ["NSEC3"] = 50; [50] = "NSEC3"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
61 ["NSEC3PARAM"] = 51; [51] = "NSEC3PARAM"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
62 ["TLSA"] = 52; [52] = "TLSA"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
63 ["SMIMEA"] = 53; [53] = "SMIMEA"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
64 ["Unassigned"] = 54; [54] = "Unassigned"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
65 ["HIP"] = 55; [55] = "HIP"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
66 ["NINFO"] = 56; [56] = "NINFO"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
67 ["RKEY"] = 57; [57] = "RKEY"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
68 ["TALINK"] = 58; [58] = "TALINK"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
69 ["CDS"] = 59; [59] = "CDS"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
70 ["CDNSKEY"] = 60; [60] = "CDNSKEY"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
71 ["OPENPGPKEY"] = 61; [61] = "OPENPGPKEY"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
72 ["CSYNC"] = 62; [62] = "CSYNC"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
73 ["ZONEMD"] = 63; [63] = "ZONEMD"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
74 ["SVCB"] = 64; [64] = "SVCB"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
75 ["HTTPS"] = 65; [65] = "HTTPS"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
76 ["SPF"] = 99; [99] = "SPF"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
77 ["NID"] = 104; [104] = "NID"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
78 ["L32"] = 105; [105] = "L32"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
79 ["L64"] = 106; [106] = "L64"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
80 ["LP"] = 107; [107] = "LP"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
81 ["EUI48"] = 108; [108] = "EUI48"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
82 ["EUI64"] = 109; [109] = "EUI64"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
83 ["TKEY"] = 249; [249] = "TKEY"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
84 ["TSIG"] = 250; [250] = "TSIG"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
85 ["IXFR"] = 251; [251] = "IXFR"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
86 ["AXFR"] = 252; [252] = "AXFR"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
87 ["MAILB"] = 253; [253] = "MAILB"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
88 ["MAILA"] = 254; [254] = "MAILA"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
89 ["*"] = 255; [255] = "*"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
90 ["URI"] = 256; [256] = "URI"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
91 ["CAA"] = 257; [257] = "CAA"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
92 ["AVC"] = 258; [258] = "AVC"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
93 ["DOA"] = 259; [259] = "DOA"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
94 ["AMTRELAY"] = 260; [260] = "AMTRELAY"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
95 ["TA"] = 32768; [32768] = "TA"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
96 ["DLV"] = 32769; [32769] = "DLV"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
97 }; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
98 errors = { |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
99 [0] = "NoError"; ["NoError"] = "No Error"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
100 [1] = "FormErr"; ["FormErr"] = "Format Error"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
101 [2] = "ServFail"; ["ServFail"] = "Server Failure"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
102 [3] = "NXDomain"; ["NXDomain"] = "Non-Existent Domain"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
103 [4] = "NotImp"; ["NotImp"] = "Not Implemented"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
104 [5] = "Refused"; ["Refused"] = "Query Refused"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
105 [6] = "YXDomain"; ["YXDomain"] = "Name Exists when it should not"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
106 [7] = "YXRRSet"; ["YXRRSet"] = "RR Set Exists when it should not"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
107 [8] = "NXRRSet"; ["NXRRSet"] = "RR Set that should exist does not"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
108 [9] = "NotAuth"; ["NotAuth"] = "Server Not Authoritative for zone"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
109 -- [9] = "NotAuth"; ["NotAuth"] = "Not Authorized"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
110 [10] = "NotZone"; ["NotZone"] = "Name not contained in zone"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
111 [11] = "DSOTYPENI"; ["DSOTYPENI"] = "DSO-TYPE Not Implemented"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
112 [16] = "BADVERS"; ["BADVERS"] = "Bad OPT Version"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
113 -- [16] = "BADSIG"; ["BADSIG"] = "TSIG Signature Failure"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
114 [17] = "BADKEY"; ["BADKEY"] = "Key not recognized"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
115 [18] = "BADTIME"; ["BADTIME"] = "Signature out of time window"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
116 [19] = "BADMODE"; ["BADMODE"] = "Bad TKEY Mode"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
117 [20] = "BADNAME"; ["BADNAME"] = "Duplicate key name"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
118 [21] = "BADALG"; ["BADALG"] = "Algorithm not supported"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
119 [22] = "BADTRUNC"; ["BADTRUNC"] = "Bad Truncation"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
120 [23] = "BADCOOKIE"; ["BADCOOKIE"] = "Bad/missing Server Cookie"; |
57215267dd4f
util.dnsregistry: Regenerate from IANA registry
Kim Alvefur <zash@zash.se>
parents:
12236
diff
changeset
|
121 }; |
10961
f93dce30089a
util.dns: Library for decoding DNS records
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
122 }; |