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;
  };
};