Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2017 22:54:43 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443607 - in head/dns: bind9-devel/files bind910/files bind911/files bind99/files
Message-ID:  <201706142254.v5EMshAN027704@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Wed Jun 14 22:54:43 2017
New Revision: 443607
URL: https://svnweb.freebsd.org/changeset/ports/443607

Log:
  Remove special handling for testing and documentation domains, per RFC
  6761 recommendations.
  
  While there:
  - Fix invalid syntax in sample slave config.
  - Add a message about having syslogd working with BIND9 chroot.
  
  PR:		217915
  Reported by:	eserte12 yahoo de
  Sponsored by:	Absolight

Modified:
  head/dns/bind9-devel/files/named.conf.in
  head/dns/bind9-devel/files/pkg-message.in   (contents, props changed)
  head/dns/bind910/files/named.conf.in
  head/dns/bind910/files/pkg-message.in   (contents, props changed)
  head/dns/bind911/files/named.conf.in
  head/dns/bind911/files/pkg-message.in   (contents, props changed)
  head/dns/bind99/files/named.conf.in
  head/dns/bind99/files/pkg-message.in   (contents, props changed)

Modified: head/dns/bind9-devel/files/named.conf.in
==============================================================================
--- head/dns/bind9-devel/files/named.conf.in	Wed Jun 14 22:45:45 2017	(r443606)
+++ head/dns/bind9-devel/files/named.conf.in	Wed Jun 14 22:54:43 2017	(r443607)
@@ -130,7 +130,7 @@ zone "in-addr.arpa" {
 		2620:0:2830:202::132;   // iad.xfr.dns.icann.org
 	};
 	notify no;
-}
+};
 zone "ip6.arpa" {
 	type slave;
 	file "%%ETCDIR%%/slave/ip6.arpa.slave";
@@ -141,7 +141,7 @@ zone "ip6.arpa" {
 		2620:0:2830:202::132;   // iad.xfr.dns.icann.org
 	};
 	notify no;
-}
+};
 */
 
 /*	Serving the following zones locally will prevent any queries
@@ -260,14 +260,6 @@ zone "113.0.203.in-addr.arpa" { type master; file "%%E
 
 // IPv6 Example Range for Documentation (RFCs 3849 and 6303)
 zone "8.b.d.0.1.0.0.2.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; };
-
-// Domain Names for Documentation and Testing (BCP 32)
-zone "test" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "invalid" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.com" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.net" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.org" { type master; file "%%ETCDIR%%/master/empty.db"; };
 
 // Router Benchmark Testing (RFCs 2544 and 5735)
 zone "18.198.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; };

Modified: head/dns/bind9-devel/files/pkg-message.in
==============================================================================
--- head/dns/bind9-devel/files/pkg-message.in	Wed Jun 14 22:45:45 2017	(r443606)
+++ head/dns/bind9-devel/files/pkg-message.in	Wed Jun 14 22:54:43 2017	(r443607)
@@ -12,6 +12,13 @@
 *                                                                    *
 *     The %%PREFIX%%/etc/rc.d/named script will do that for you.     *
 *                                                                    *
+*      If using syslog to log the BIND9 activity, and using a        *
+*     chroot'ed installation, you will need to tell syslog to        *
+*       install a log socket in the BIND9 chroot by running:         *
+*                                                                    *
+*            # sysrc altlog_proglist+=named                          *
+*                                                                    *
+*    And then restarting syslogd with: service syslogd restart       *
 *                                                                    *
 *                                                                    *
 *   THIS IS A DEVELOPMENT VERSION IF BIND, IT WILL EAT YOUR DATA     *

Modified: head/dns/bind910/files/named.conf.in
==============================================================================
--- head/dns/bind910/files/named.conf.in	Wed Jun 14 22:45:45 2017	(r443606)
+++ head/dns/bind910/files/named.conf.in	Wed Jun 14 22:54:43 2017	(r443607)
@@ -130,7 +130,7 @@ zone "in-addr.arpa" {
 		2620:0:2830:202::132;   // iad.xfr.dns.icann.org
 	};
 	notify no;
-}
+};
 zone "ip6.arpa" {
 	type slave;
 	file "%%ETCDIR%%/slave/ip6.arpa.slave";
@@ -141,7 +141,7 @@ zone "ip6.arpa" {
 		2620:0:2830:202::132;   // iad.xfr.dns.icann.org
 	};
 	notify no;
-}
+};
 */
 
 /*	Serving the following zones locally will prevent any queries
@@ -260,14 +260,6 @@ zone "113.0.203.in-addr.arpa" { type master; file "%%E
 
 // IPv6 Example Range for Documentation (RFCs 3849 and 6303)
 zone "8.b.d.0.1.0.0.2.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; };
-
-// Domain Names for Documentation and Testing (BCP 32)
-zone "test" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "invalid" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.com" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.net" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.org" { type master; file "%%ETCDIR%%/master/empty.db"; };
 
 // Router Benchmark Testing (RFCs 2544 and 5735)
 zone "18.198.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; };

Modified: head/dns/bind910/files/pkg-message.in
==============================================================================
--- head/dns/bind910/files/pkg-message.in	Wed Jun 14 22:45:45 2017	(r443606)
+++ head/dns/bind910/files/pkg-message.in	Wed Jun 14 22:54:43 2017	(r443607)
@@ -12,4 +12,12 @@
 *                                                                    *
 *     The %%PREFIX%%/etc/rc.d/named script will do that for you.     *
 *                                                                    *
+*      If using syslog to log the BIND9 activity, and using a        *
+*     chroot'ed installation, you will need to tell syslog to        *
+*       install a log socket in the BIND9 chroot by running:         *
+*                                                                    *
+*            # sysrc altlog_proglist+=named                          *
+*                                                                    *
+*    And then restarting syslogd with: service syslogd restart       *
+*                                                                    *
 **********************************************************************

Modified: head/dns/bind911/files/named.conf.in
==============================================================================
--- head/dns/bind911/files/named.conf.in	Wed Jun 14 22:45:45 2017	(r443606)
+++ head/dns/bind911/files/named.conf.in	Wed Jun 14 22:54:43 2017	(r443607)
@@ -130,7 +130,7 @@ zone "in-addr.arpa" {
 		2620:0:2830:202::132;   // iad.xfr.dns.icann.org
 	};
 	notify no;
-}
+};
 zone "ip6.arpa" {
 	type slave;
 	file "%%ETCDIR%%/slave/ip6.arpa.slave";
@@ -141,7 +141,7 @@ zone "ip6.arpa" {
 		2620:0:2830:202::132;   // iad.xfr.dns.icann.org
 	};
 	notify no;
-}
+};
 */
 
 /*	Serving the following zones locally will prevent any queries
@@ -260,14 +260,6 @@ zone "113.0.203.in-addr.arpa" { type master; file "%%E
 
 // IPv6 Example Range for Documentation (RFCs 3849 and 6303)
 zone "8.b.d.0.1.0.0.2.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; };
-
-// Domain Names for Documentation and Testing (BCP 32)
-zone "test" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "invalid" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.com" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.net" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.org" { type master; file "%%ETCDIR%%/master/empty.db"; };
 
 // Router Benchmark Testing (RFCs 2544 and 5735)
 zone "18.198.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; };

Modified: head/dns/bind911/files/pkg-message.in
==============================================================================
--- head/dns/bind911/files/pkg-message.in	Wed Jun 14 22:45:45 2017	(r443606)
+++ head/dns/bind911/files/pkg-message.in	Wed Jun 14 22:54:43 2017	(r443607)
@@ -12,4 +12,12 @@
 *                                                                    *
 *     The %%PREFIX%%/etc/rc.d/named script will do that for you.     *
 *                                                                    *
+*      If using syslog to log the BIND9 activity, and using a        *
+*     chroot'ed installation, you will need to tell syslog to        *
+*       install a log socket in the BIND9 chroot by running:         *
+*                                                                    *
+*            # sysrc altlog_proglist+=named                          *
+*                                                                    *
+*    And then restarting syslogd with: service syslogd restart       *
+*                                                                    *
 **********************************************************************

Modified: head/dns/bind99/files/named.conf.in
==============================================================================
--- head/dns/bind99/files/named.conf.in	Wed Jun 14 22:45:45 2017	(r443606)
+++ head/dns/bind99/files/named.conf.in	Wed Jun 14 22:54:43 2017	(r443607)
@@ -130,7 +130,7 @@ zone "in-addr.arpa" {
 		2620:0:2830:202::132;   // iad.xfr.dns.icann.org
 	};
 	notify no;
-}
+};
 zone "ip6.arpa" {
 	type slave;
 	file "%%ETCDIR%%/slave/ip6.arpa.slave";
@@ -141,7 +141,7 @@ zone "ip6.arpa" {
 		2620:0:2830:202::132;   // iad.xfr.dns.icann.org
 	};
 	notify no;
-}
+};
 */
 
 /*	Serving the following zones locally will prevent any queries
@@ -260,14 +260,6 @@ zone "113.0.203.in-addr.arpa" { type master; file "%%E
 
 // IPv6 Example Range for Documentation (RFCs 3849 and 6303)
 zone "8.b.d.0.1.0.0.2.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; };
-
-// Domain Names for Documentation and Testing (BCP 32)
-zone "test" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "invalid" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.com" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.net" { type master; file "%%ETCDIR%%/master/empty.db"; };
-zone "example.org" { type master; file "%%ETCDIR%%/master/empty.db"; };
 
 // Router Benchmark Testing (RFCs 2544 and 5735)
 zone "18.198.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; };

Modified: head/dns/bind99/files/pkg-message.in
==============================================================================
--- head/dns/bind99/files/pkg-message.in	Wed Jun 14 22:45:45 2017	(r443606)
+++ head/dns/bind99/files/pkg-message.in	Wed Jun 14 22:54:43 2017	(r443607)
@@ -12,4 +12,12 @@
 *                                                                    *
 *     The %%PREFIX%%/etc/rc.d/named script will do that for you.     *
 *                                                                    *
+*      If using syslog to log the BIND9 activity, and using a        *
+*     chroot'ed installation, you will need to tell syslog to        *
+*       install a log socket in the BIND9 chroot by running:         *
+*                                                                    *
+*            # sysrc altlog_proglist+=named                          *
+*                                                                    *
+*    And then restarting syslogd with: service syslogd restart       *
+*                                                                    *
 **********************************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706142254.v5EMshAN027704>