xref: /freebsd/contrib/unbound/util/as112.c (revision 43a5ec4eb41567cc92586503212743d89686d78f)
1 /*
2  * util/as112.c - list of local zones.
3  *
4  * Copyright (c) 2007, NLnet Labs. All rights reserved.
5  *
6  * This software is open source.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions
10  * are met:
11  *
12  * Redistributions of source code must retain the above copyright notice,
13  * this list of conditions and the following disclaimer.
14  *
15  * Redistributions in binary form must reproduce the above copyright notice,
16  * this list of conditions and the following disclaimer in the documentation
17  * and/or other materials provided with the distribution.
18  *
19  * Neither the name of the NLNET LABS nor the names of its contributors may
20  * be used to endorse or promote products derived from this software without
21  * specific prior written permission.
22  *
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27  * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
29  * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
30  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
31  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
32  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
33  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34  */
35 
36 /**
37  * \file
38  *
39  * This file provides a list of lan zones.
40  */
41 
42 #include "util/as112.h"
43 
44 static const char* as112_zone_array[] = {
45 	"10.in-addr.arpa.",
46 	"16.172.in-addr.arpa.",
47 	"17.172.in-addr.arpa.",
48 	"18.172.in-addr.arpa.",
49 	"19.172.in-addr.arpa.",
50 	"20.172.in-addr.arpa.",
51 	"21.172.in-addr.arpa.",
52 	"22.172.in-addr.arpa.",
53 	"23.172.in-addr.arpa.",
54 	"24.172.in-addr.arpa.",
55 	"25.172.in-addr.arpa.",
56 	"26.172.in-addr.arpa.",
57 	"27.172.in-addr.arpa.",
58 	"28.172.in-addr.arpa.",
59 	"29.172.in-addr.arpa.",
60 	"30.172.in-addr.arpa.",
61 	"31.172.in-addr.arpa.",
62 	"168.192.in-addr.arpa.",
63 	"0.in-addr.arpa.",
64 	"64.100.in-addr.arpa.",
65 	"65.100.in-addr.arpa.",
66 	"66.100.in-addr.arpa.",
67 	"67.100.in-addr.arpa.",
68 	"68.100.in-addr.arpa.",
69 	"69.100.in-addr.arpa.",
70 	"70.100.in-addr.arpa.",
71 	"71.100.in-addr.arpa.",
72 	"72.100.in-addr.arpa.",
73 	"73.100.in-addr.arpa.",
74 	"74.100.in-addr.arpa.",
75 	"75.100.in-addr.arpa.",
76 	"76.100.in-addr.arpa.",
77 	"77.100.in-addr.arpa.",
78 	"78.100.in-addr.arpa.",
79 	"79.100.in-addr.arpa.",
80 	"80.100.in-addr.arpa.",
81 	"81.100.in-addr.arpa.",
82 	"82.100.in-addr.arpa.",
83 	"83.100.in-addr.arpa.",
84 	"84.100.in-addr.arpa.",
85 	"85.100.in-addr.arpa.",
86 	"86.100.in-addr.arpa.",
87 	"87.100.in-addr.arpa.",
88 	"88.100.in-addr.arpa.",
89 	"89.100.in-addr.arpa.",
90 	"90.100.in-addr.arpa.",
91 	"91.100.in-addr.arpa.",
92 	"92.100.in-addr.arpa.",
93 	"93.100.in-addr.arpa.",
94 	"94.100.in-addr.arpa.",
95 	"95.100.in-addr.arpa.",
96 	"96.100.in-addr.arpa.",
97 	"97.100.in-addr.arpa.",
98 	"98.100.in-addr.arpa.",
99 	"99.100.in-addr.arpa.",
100 	"100.100.in-addr.arpa.",
101 	"101.100.in-addr.arpa.",
102 	"102.100.in-addr.arpa.",
103 	"103.100.in-addr.arpa.",
104 	"104.100.in-addr.arpa.",
105 	"105.100.in-addr.arpa.",
106 	"106.100.in-addr.arpa.",
107 	"107.100.in-addr.arpa.",
108 	"108.100.in-addr.arpa.",
109 	"109.100.in-addr.arpa.",
110 	"110.100.in-addr.arpa.",
111 	"111.100.in-addr.arpa.",
112 	"112.100.in-addr.arpa.",
113 	"113.100.in-addr.arpa.",
114 	"114.100.in-addr.arpa.",
115 	"115.100.in-addr.arpa.",
116 	"116.100.in-addr.arpa.",
117 	"117.100.in-addr.arpa.",
118 	"118.100.in-addr.arpa.",
119 	"119.100.in-addr.arpa.",
120 	"120.100.in-addr.arpa.",
121 	"121.100.in-addr.arpa.",
122 	"122.100.in-addr.arpa.",
123 	"123.100.in-addr.arpa.",
124 	"124.100.in-addr.arpa.",
125 	"125.100.in-addr.arpa.",
126 	"126.100.in-addr.arpa.",
127 	"127.100.in-addr.arpa.",
128 	"254.169.in-addr.arpa.",
129 	"2.0.192.in-addr.arpa.",
130 	"100.51.198.in-addr.arpa.",
131 	"113.0.203.in-addr.arpa.",
132 	"255.255.255.255.in-addr.arpa.",
133 	"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.",
134 	"d.f.ip6.arpa.",
135 	"8.e.f.ip6.arpa.",
136 	"9.e.f.ip6.arpa.",
137 	"a.e.f.ip6.arpa.",
138 	"b.e.f.ip6.arpa.",
139 	"8.b.d.0.1.0.0.2.ip6.arpa.",
140 	0
141 };
142 
143 const char** as112_zones = as112_zone_array;
144