Blame named.caching-nameserver.conf
|
jvdias |
0cd02a |
//
|
|
jvdias |
0cd02a |
// named.caching-nameserver.conf
|
|
jvdias |
0cd02a |
//
|
|
Martin Stransky |
73dd15 |
// Provided by Red Hat caching-nameserver package to configure the
|
|
jvdias |
0cd02a |
// ISC BIND named(8) DNS server as a caching only nameserver
|
|
jvdias |
0cd02a |
// (as a localhost DNS resolver only).
|
|
jvdias |
0cd02a |
//
|
|
jvdias |
053216 |
// See /usr/share/doc/bind*/sample/ for example named configuration files.
|
|
jvdias |
053216 |
//
|
|
jvdias |
0cd02a |
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
|
|
jvdias |
0cd02a |
// to create named.conf - edits to this file will be lost on
|
|
Martin Stransky |
73dd15 |
// caching-nameserver package upgrade.
|
|
jvdias |
0cd02a |
//
|
|
jvdias |
0cd02a |
options {
|
|
jvdias |
0cd02a |
listen-on port 53 { 127.0.0.1; };
|
|
jvdias |
505ab5 |
listen-on-v6 port 53 { ::1; };
|
|
jvdias |
0cd02a |
directory "/var/named";
|
|
jvdias |
0cd02a |
dump-file "/var/named/data/cache_dump.db";
|
|
jvdias |
0cd02a |
statistics-file "/var/named/data/named_stats.txt";
|
|
jvdias |
0cd02a |
memstatistics-file "/var/named/data/named_mem_stats.txt";
|
|
jvdias |
0cd02a |
query-source port 53;
|
|
jvdias |
0cd02a |
query-source-v6 port 53;
|
|
jvdias |
0cd02a |
allow-query { localhost; };
|
|
jvdias |
0cd02a |
};
|
|
jvdias |
0cd02a |
logging {
|
|
jvdias |
0cd02a |
channel default_debug {
|
|
jvdias |
0cd02a |
file "data/named.run";
|
|
jvdias |
0cd02a |
severity dynamic;
|
|
jvdias |
0cd02a |
};
|
|
jvdias |
0cd02a |
};
|
|
jvdias |
0cd02a |
view localhost_resolver {
|
|
jvdias |
0cd02a |
match-clients { localhost; };
|
|
jvdias |
0cd02a |
match-destinations { localhost; };
|
|
jvdias |
0cd02a |
recursion yes;
|
|
jvdias |
0cd02a |
include "/etc/named.rfc1912.zones";
|
|
jvdias |
0cd02a |
};
|