aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/nsd/nsd.conf.authoritative_nameserver
blob: 0a3b22443d649fa86ae4d948c83fcb0054952834 (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: 2
  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