2 * Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 * PERFORMANCE OF THIS SOFTWARE.
17 /* Id: named.conf,v 1.2 2011/10/20 22:01:48 each Exp */
20 * This is a sample named.conf file that uses the DLZ module defined in
21 * dlz_example.c. It sets up a zone 'example.nil' which can accept DDNS
24 * By default, when run, the zone contains the following records:
26 * example.nil. 3600 IN SOA example.nil. hostmaster.example.nil. (
27 * 123 900 600 86400 3600
29 * example.nil. 3600 IN NS example.nil.
30 * example.nil. 1800 IN A 10.53.0.1
32 * Additionally, a query for 'source-addr.example.nil/TXT' is always
33 * answered with the source address of the query. This is used to
34 * demonstrate the code that retreives client information from the
37 * To use this driver, "dlz_external.so" must be moved into the working
38 * directory for named.
42 allow-transfer { any; };
49 database "dlopen ./dlz_example.so example.nil";