Actions
Named example file » History » Revision 1
Revision 1/2
| Next »
Ohad Levy, 12/19/2010 05:47 AM
Named example file
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
};
controls { inet 127.0.0.1 allow { localhost; } keys { foreman; }; };
include "/etc/rndc.key";
zone "3.2.1.in-addr.arpa" {
type master;
file "/var/named/3.2.1.rev";
allow-update {key "foreman"; };};
zone "my.domain" {
type master;
file "/var/named/my.domain.hosts";
allow-update {key "foreman"; };};
logging
{
category update { update_log; };
channel update_log
{
file "/var/named/logs/dns-update.log" versions 2 size 20m;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
};
zone "." {
type forward;
forwarders {
1.2.3.4;
};
};
Updated by Ohad Levy almost 14 years ago · 2 revisions