[PATCH] enable IPv6 in named.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Matt Domsch <mdomsch@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

---
 modules/bind/files/named.conf |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/modules/bind/files/named.conf b/modules/bind/files/named.conf
index 6063696..29f0d63 100644
--- a/modules/bind/files/named.conf
+++ b/modules/bind/files/named.conf
@@ -13,9 +13,11 @@ key "rndckey" {
 // dns1.j2solutions.net - run by Jesse Keating <jkeating@xxxxxxxxxx>
 acl "slaves" { 209.124.61.35; 209.124.61.34; 209.124.62.154; };
 //
-acl "me" { 127.0.0.1; };
+acl "me" { 127.0.0.1; ::1; };
 //
-acl "everyone" { 0.0.0.0/0; };
+acl "everyone-v4" { 0.0.0.0/0;  };
+acl "everyone-v6" { ::0/0; };
+acl "everyone" { 0.0.0.0/0; ::0/0; };
 //
 acl "ns_redhat" { 66.187.233.210; 209.132.183.2; 66.187.229.10; };
 //
@@ -27,6 +29,7 @@ options {
         allow-query { everyone; };
         allow-recursion { me; cloud; };
         query-source address * port *;
+        query-source-v6 address * port *;
         allow-transfer { me; slaves; };
         transfer-source * port 53;
         pid-file "var/run/named/named.pid";
@@ -34,7 +37,10 @@ options {
 //	forwarders { 209.132.178.0/23; };
         version "cowbell++";
         listen-on port 53 {
-                everyone;
+                everyone-v4;
+        };
+        listen-on-v6 port 53 {
+                everyone-v6;
         };
         notify yes;
 };
-- 
1.5.5.6

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux