// // named.conf for Red Hat caching-nameserver //
options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53;
zone "localdomain" IN { type master; file "localdomain.zone"; allow-update { none; }; };
zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; };
zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; };
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.arpa" IN { type master; file "named.ip6.local"; allow-update { none; }; };
zone "255.in-addr.arpa" IN { type master; file "named.broadcast"; allow-update { none; }; };
zone "0.in-addr.arpa" IN { type master; file "named.zero"; allow-update { none; }; };
include "/etc/rndc.key";
// hikari-dream.com の正引きゾーンの指定 zone "hikari-dream.com" IN { type master; file "hikari-dream.com.db"; allow-update { none; }; }; // hikari-dream.com の逆引きゾーンの指定 zone "0.168.192.in-addr.arpa" IN { type master; file "0.168.192.in-addr.arpa.db"; allow-update { none; }; };
99,0-1 # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost #192.168.1.20 fedora.hikari-dream.com fedora #192.168.0.10 CLIENT
# option time-offset -18000; # Eastern Standard Time # option ntp-servers 192.168.0.1; # option netbios-name-servers 192.168.0.1; # --- Selects point-to-point node (default is hybrid). Don't change this unless # -- you understand Netbios very well # option netbios-node-type 2;
range dynamic-bootp 192.168.0.30 192.168.0.40; default-lease-time 21600; max-lease-time 43200;
# we want the nameserver to appear at a fixed address host client { # next-server marvin.redhat.com; hardware ethernet 00:0D:61:2B:15:4D; fixed-address 192.168.0.10; } }
// // named.conf for Red Hat caching-nameserver //
options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53;