/*
- * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: named.conf,v 1.17 2007/06/19 23:47:04 tbox Exp $ */
+/* $Id: named.conf,v 1.19 2009/07/29 23:47:43 tbox Exp $ */
controls { /* empty */ };
transfer-source 10.53.0.1;
port 5300;
pid-file "named.pid";
- listen-on { 10.53.0.1; };
+ session-keyfile "session.key";
+ listen-on { 10.53.0.1; 127.0.0.1; };
listen-on-v6 { none; };
recursion no;
notify yes;
inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
};
+include "ddns.key";
+
zone "example.nil" {
type master;
file "example.db";
check-integrity no;
- allow-update { any; };
+ update-policy {
+ grant ddns-key.example.nil subdomain example.nil ANY;
+ };
+ allow-transfer { any; };
+};
+
+zone "other.nil" {
+ type master;
+ file "other.db";
+ check-integrity no;
+ update-policy local;
+ allow-query-on { 127.0.0.1; };
allow-transfer { any; };
};