Browse Source

add ::1 to the clients acl (recursion should work from localhost)

ok jakob@
OPENBSD_3_3
todd 22 years ago
parent
commit
0a35bd052f
2 changed files with 8 additions and 4 deletions
  1. +4
    -2
      src/etc/bind/named-dual.conf
  2. +4
    -2
      src/etc/bind/named-simple.conf

+ 4
- 2
src/etc/bind/named-dual.conf View File

@ -1,4 +1,4 @@
// $OpenBSD: named-dual.conf,v 1.3 2003/02/18 09:41:07 jakob Exp $
// $OpenBSD: named-dual.conf,v 1.4 2003/02/27 14:44:04 todd Exp $
// //
// Example file for a named configuration with dual views, // Example file for a named configuration with dual views,
// one processing recursive queries only and one processing // one processing recursive queries only and one processing
@ -7,10 +7,12 @@
// Update this list to include only the networks for which you want // Update this list to include only the networks for which you want
// to execute recursive queries. The default setting allows all hosts // to execute recursive queries. The default setting allows all hosts
// on any IPv4 networks for which the system has an interface.
// on any IPv4 networks for which the system has an interface, and
// the IPv6 localhost address.
// //
acl clients { acl clients {
localnets; localnets;
::1;
}; };
options { options {


+ 4
- 2
src/etc/bind/named-simple.conf View File

@ -1,4 +1,4 @@
// $OpenBSD: named-simple.conf,v 1.3 2003/02/18 09:41:07 jakob Exp $
// $OpenBSD: named-simple.conf,v 1.4 2003/02/27 14:44:04 todd Exp $
// //
// Example file for a simple named configuration, processing both // Example file for a simple named configuration, processing both
// recursive and authoritative queries using one cache. // recursive and authoritative queries using one cache.
@ -6,10 +6,12 @@
// Update this list to include only the networks for which you want // Update this list to include only the networks for which you want
// to execute recursive queries. The default setting allows all hosts // to execute recursive queries. The default setting allows all hosts
// on any IPv4 networks for which the system has an interface.
// on any IPv4 networks for which the system has an interface, and
// the IPv6 localhost address.
// //
acl clients { acl clients {
localnets; localnets;
::1;
}; };
options { options {


Loading…
Cancel
Save