aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/nsd/nsd.conf.authoritative_nameserver
blob: b6d1e119e6db6eaf5f38db7010ccd163f2366ece (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
server:
  server-count: ${nsd_threads}
  log-only-syslog: yes
  verbosity: 1
  hide-version: yes
  minimal-responses: yes
  refuse-any: yes
$(for zone in ${nsd_zones:-}; do
  eval "zone_name=\${nsd_${zone}_domain}"
  eval "zone_slaves=\${nsd_${zone}_slaves:-}"
  echo "zone:
  name: ${zone_name}
  zonefile: ${nsd_conf_dir}/${zone_name}.zone"
  for slave in $zone_slaves; do
    echo "  notify: ${slave} NOKEY"
    echo "  provide-xfr: ${slave} NOKEY"
  done
done)

remote-control:
  control-enable: yes
  control-interface: ${nsd_run_dir}/nsd.ctl