NetBSD/etc/named.conf

62 lines
1000 B
Plaintext
Raw Normal View History

# $NetBSD: named.conf,v 1.3 2005/11/29 21:08:13 christos Exp $
1998-12-15 04:08:43 +03:00
# boot file for secondary name server
# Note that there should be one primary entry for each SOA record.
options {
directory "/etc/namedb";
query-source address * port 53;
};
zone "." {
type hint;
file "root.cache";
};
zone "localhost" {
type master;
file "localhost";
};
zone "127.IN-ADDR.ARPA" {
type master;
file "127";
};
zone "1.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.arpa" {
type master;
file "loopback.v6";
};
1998-12-15 04:08:43 +03:00
# example secondary server config:
#
# zone "Berkeley.EDU" {
# type slave;
# file "berkeley.edu.cache";
1998-12-15 04:08:43 +03:00
# masters {
# 128.32.130.11;
# 128.32.133.1;
# };
# };
# zone "32.128.IN-ADDR.ARPA" {
# type slave;
# file "128.32.cache";
1998-12-15 04:08:43 +03:00
# masters {
# 128.32.130.11;
# 128.32.133.1;
# };
# };
# example primary server config:
#
# zone "Berkeley.EDU" {
# type master;
# file "berkeley.edu";
1998-12-15 04:08:43 +03:00
# };
# zone "32.128.IN-ADDR.ARPA" {
# type master;
# file "128.32";
1998-12-15 04:08:43 +03:00
# };