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