xref: /freebsd/contrib/unbound/util/as112.h (revision 0fe0fe112fa6cc220f14a1a9196b51fdc79edc72)
1*0de4f1bfSDag-Erling Smørgrav /*
2*0de4f1bfSDag-Erling Smørgrav  * util/as112.c - list of local zones.
3*0de4f1bfSDag-Erling Smørgrav  *
4*0de4f1bfSDag-Erling Smørgrav  * Copyright (c) 2007, NLnet Labs. All rights reserved.
5*0de4f1bfSDag-Erling Smørgrav  *
6*0de4f1bfSDag-Erling Smørgrav  * This software is open source.
7*0de4f1bfSDag-Erling Smørgrav  *
8*0de4f1bfSDag-Erling Smørgrav  * Redistribution and use in source and binary forms, with or without
9*0de4f1bfSDag-Erling Smørgrav  * modification, are permitted provided that the following conditions
10*0de4f1bfSDag-Erling Smørgrav  * are met:
11*0de4f1bfSDag-Erling Smørgrav  *
12*0de4f1bfSDag-Erling Smørgrav  * Redistributions of source code must retain the above copyright notice,
13*0de4f1bfSDag-Erling Smørgrav  * this list of conditions and the following disclaimer.
14*0de4f1bfSDag-Erling Smørgrav  *
15*0de4f1bfSDag-Erling Smørgrav  * Redistributions in binary form must reproduce the above copyright notice,
16*0de4f1bfSDag-Erling Smørgrav  * this list of conditions and the following disclaimer in the documentation
17*0de4f1bfSDag-Erling Smørgrav  * and/or other materials provided with the distribution.
18*0de4f1bfSDag-Erling Smørgrav  *
19*0de4f1bfSDag-Erling Smørgrav  * Neither the name of the NLNET LABS nor the names of its contributors may
20*0de4f1bfSDag-Erling Smørgrav  * be used to endorse or promote products derived from this software without
21*0de4f1bfSDag-Erling Smørgrav  * specific prior written permission.
22*0de4f1bfSDag-Erling Smørgrav  *
23*0de4f1bfSDag-Erling Smørgrav  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24*0de4f1bfSDag-Erling Smørgrav  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25*0de4f1bfSDag-Erling Smørgrav  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26*0de4f1bfSDag-Erling Smørgrav  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27*0de4f1bfSDag-Erling Smørgrav  * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28*0de4f1bfSDag-Erling Smørgrav  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
29*0de4f1bfSDag-Erling Smørgrav  * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
30*0de4f1bfSDag-Erling Smørgrav  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
31*0de4f1bfSDag-Erling Smørgrav  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
32*0de4f1bfSDag-Erling Smørgrav  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
33*0de4f1bfSDag-Erling Smørgrav  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34*0de4f1bfSDag-Erling Smørgrav  */
35*0de4f1bfSDag-Erling Smørgrav 
36*0de4f1bfSDag-Erling Smørgrav /**
37*0de4f1bfSDag-Erling Smørgrav  * \file
38*0de4f1bfSDag-Erling Smørgrav  *
39*0de4f1bfSDag-Erling Smørgrav  * This file provides a list of lan zones
40*0de4f1bfSDag-Erling Smørgrav  */
41*0de4f1bfSDag-Erling Smørgrav 
42*0de4f1bfSDag-Erling Smørgrav #ifndef UTIL_AS112_H
43*0de4f1bfSDag-Erling Smørgrav #define UTIL_AS112_H
44*0de4f1bfSDag-Erling Smørgrav 
45*0de4f1bfSDag-Erling Smørgrav /**
46*0de4f1bfSDag-Erling Smørgrav  * Array of text-format domain names of the AS112 zones.
47*0de4f1bfSDag-Erling Smørgrav  * The array ends with NULL.  "AS112" is a service on the internet that
48*0de4f1bfSDag-Erling Smørgrav  * that this array is named after.  The names in this list (or some of them)
49*0de4f1bfSDag-Erling Smørgrav  * are null-routed by this service to avoid load on central servers caused by
50*0de4f1bfSDag-Erling Smørgrav  * mistaken lookups for local content on the global internet.
51*0de4f1bfSDag-Erling Smørgrav  *
52*0de4f1bfSDag-Erling Smørgrav  * This is the list of names that unbound should not normally be sending
53*0de4f1bfSDag-Erling Smørgrav  * on towards the internet, because they are local-use.
54*0de4f1bfSDag-Erling Smørgrav  */
55*0de4f1bfSDag-Erling Smørgrav extern const char** as112_zones;
56*0de4f1bfSDag-Erling Smørgrav 
57*0de4f1bfSDag-Erling Smørgrav #endif
58