update to 9.7.1-P2
[tridge/bind9.git] / bin / tests / system / nsupdate / ns1 / named.conf
index 0c0e8ff46089d04e162bc19b23c12b8d88ca4d51..19be93aad7d33854c54ced80cac958cb44035daf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -15,7 +15,7 @@
  * 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 */ };
 
@@ -25,7 +25,8 @@ options {
        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;
@@ -40,11 +41,24 @@ controls {
        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; };
 };