Browse Source

set .com/.net to delegation-only

OPENBSD_3_5
jakob 21 years ago
parent
commit
2e36db02e4
2 changed files with 19 additions and 2 deletions
  1. +9
    -1
      src/etc/bind/named-dual.conf
  2. +10
    -1
      src/etc/bind/named-simple.conf

+ 9
- 1
src/etc/bind/named-dual.conf View File

@ -1,4 +1,4 @@
// $OpenBSD: named-dual.conf,v 1.4 2003/02/27 14:44:04 todd Exp $
// $OpenBSD: named-dual.conf,v 1.5 2003/09/22 20:44:32 jakob Exp $
//
// Example file for a named configuration with dual views,
// one processing recursive queries only and one processing
@ -60,6 +60,14 @@ view "recursive" {
file "standard/loopback6.int";
allow-transfer { localhost; };
};
zone "com" {
type delegation-only;
};
zone "net" {
type delegation-only;
};
};
view "authoritative" {


+ 10
- 1
src/etc/bind/named-simple.conf View File

@ -1,4 +1,4 @@
// $OpenBSD: named-simple.conf,v 1.4 2003/02/27 14:44:04 todd Exp $
// $OpenBSD: named-simple.conf,v 1.5 2003/09/22 20:44:32 jakob Exp $
//
// Example file for a simple named configuration, processing both
// recursive and authoritative queries using one cache.
@ -58,6 +58,15 @@ zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int" {
allow-transfer { localhost; };
};
zone "com" {
type delegation-only;
};
zone "net" {
type delegation-only;
};
// Master zones
//
//zone "myzone.net" {


Loading…
Cancel
Save