example.conf.in revision 249140
1193323Sed#
2193323Sed# Example configuration file.
3193323Sed#
4193323Sed# See unbound.conf(5) man page, version 1.4.17.
5193323Sed#
6193323Sed# this is a comment.
7193323Sed
8193323Sed#Use this to include other text into the file.
9193323Sed#include: "otherfile.conf"
10193323Sed
11193323Sed# The server clause sets the main parameters. 
12193323Sedserver:
13193323Sed	# whitespace is not necessary, but looks cleaner.
14193323Sed
15193323Sed	# verbosity number, 0 is least verbose. 1 is default.
16193323Sed	verbosity: 1
17193323Sed
18193323Sed	# print statistics to the log (for every thread) every N seconds.
19193323Sed	# Set to "" or 0 to disable. Default is disabled.
20193323Sed	# statistics-interval: 0
21193323Sed
22193323Sed	# enable cumulative statistics, without clearing them after printing.
23193323Sed	# statistics-cumulative: no
24193323Sed
25193323Sed	# enable extended statistics (query types, answer codes, status)
26193323Sed	# printed from unbound-control. default off, because of speed.
27193323Sed	# extended-statistics: no
28193323Sed
29193323Sed	# number of threads to create. 1 disables threading.
30193323Sed	# num-threads: 1
31193323Sed
32193323Sed	# specify the interfaces to answer queries from by ip-address.
33193323Sed	# The default is to listen to localhost (127.0.0.1 and ::1).
34193323Sed	# specify 0.0.0.0 and ::0 to bind to all available interfaces.
35193323Sed	# specify every interface[@port] on a new 'interface:' labelled line.
36193323Sed	# The listen interfaces are not changed on reload, only on restart.
37193323Sed	# interface: 192.0.2.153
38193323Sed	# interface: 192.0.2.154
39193323Sed	# interface: 192.0.2.154@5003
40193323Sed	# interface: 2001:DB8::5
41193323Sed
42194612Sed	# enable this feature to copy the source address of queries to reply.
43194612Sed	# Socket options are not supported on all platforms. experimental. 
44193323Sed	# interface-automatic: no
45193323Sed
46193323Sed	# port to answer queries from
47193323Sed	# port: 53
48193323Sed
49193323Sed	# specify the interfaces to send outgoing queries to authoritative
50193323Sed	# server from by ip-address. If none, the default (all) interface
51194612Sed	# is used. Specify every interface on a 'outgoing-interface:' line.
52194612Sed	# outgoing-interface: 192.0.2.153
53194612Sed	# outgoing-interface: 2001:DB8::5
54194612Sed	# outgoing-interface: 2001:DB8::6
55194612Sed
56194612Sed	# number of ports to allocate per thread, determines the size of the
57194612Sed	# port range that can be open simultaneously.  About double the
58194612Sed	# num-queries-per-thread, or, use as many as the OS will allow you.
59194612Sed	# outgoing-range: 4096
60194612Sed
61194612Sed	# permit unbound to use this port number or port range for
62194612Sed	# making outgoing queries, using an outgoing interface.
63194612Sed	# outgoing-port-permit: 32768
64194612Sed
65194612Sed	# deny unbound the use this of port number or port range for
66194612Sed	# making outgoing queries, using an outgoing interface.
67194612Sed	# Use this to make sure unbound does not grab a UDP port that some
68194612Sed	# other server on this computer needs. The default is to avoid
69194612Sed	# IANA-assigned port numbers.
70194612Sed	# outgoing-port-avoid: "3200-3208"
71194612Sed
72194612Sed	# number of outgoing simultaneous tcp buffers to hold per thread.
73194612Sed	# outgoing-num-tcp: 10
74194612Sed
75194612Sed	# number of incoming simultaneous tcp buffers to hold per thread.
76194612Sed	# incoming-num-tcp: 10
77194612Sed
78194612Sed	# buffer size for UDP port 53 incoming (SO_RCVBUF socket option).
79194612Sed	# 0 is system default.  Use 4m to catch query spikes for busy servers.
80194612Sed	# so-rcvbuf: 0
81194612Sed
82193323Sed	# buffer size for UDP port 53 outgoing (SO_SNDBUF socket option).
83193323Sed	# 0 is system default.  Use 4m to handle spikes on very busy servers.
84193323Sed	# so-sndbuf: 0
85193323Sed
86193323Sed	# EDNS reassembly buffer to advertise to UDP peers (the actual buffer
87194612Sed	# is set with msg-buffer-size). 1480 can solve fragmentation (timeouts).
88193323Sed	# edns-buffer-size: 4096
89194612Sed
90193323Sed	# buffer size for handling DNS data. No messages larger than this
91193323Sed	# size can be sent or received, by UDP or TCP. In bytes.
92193323Sed	# msg-buffer-size: 65552
93194612Sed
94193323Sed	# the amount of memory to use for the message cache.
95194612Sed	# plain value in bytes or you can append k, m or G. default is "4Mb". 
96193323Sed	# msg-cache-size: 4m
97193323Sed
98193323Sed	# the number of slabs to use for the message cache.
99193323Sed	# the number of slabs must be a power of 2.
100193323Sed	# more slabs reduce lock contention, but fragment memory usage.
101193323Sed	# msg-cache-slabs: 4
102193323Sed
103193323Sed	# the number of queries that a thread gets to service.
104193323Sed	# num-queries-per-thread: 1024
105193323Sed
106193323Sed	# if very busy, 50% queries run to completion, 50% get timeout in msec
107193323Sed	# jostle-timeout: 200
108193323Sed
109193323Sed	# the amount of memory to use for the RRset cache.
110194612Sed	# plain value in bytes or you can append k, m or G. default is "4Mb". 
111194612Sed	# rrset-cache-size: 4m
112194612Sed
113194612Sed	# the number of slabs to use for the RRset cache.
114194612Sed	# the number of slabs must be a power of 2.
115194612Sed	# more slabs reduce lock contention, but fragment memory usage.
116194612Sed	# rrset-cache-slabs: 4
117194612Sed
118194612Sed	# the time to live (TTL) value lower bound, in seconds. Default 0.
119194612Sed	# If more than an hour could easily give trouble due to stale data.
120194612Sed	# cache-min-ttl: 0
121194612Sed
122194612Sed	# the time to live (TTL) value cap for RRsets and messages in the
123194612Sed	# cache. Items are not cached for longer. In seconds.
124194612Sed	# cache-max-ttl: 86400
125194612Sed
126194612Sed	# the time to live (TTL) value for cached roundtrip times, lameness and
127193323Sed	# EDNS version information for hosts. In seconds.
128193323Sed	# infra-host-ttl: 900
129193323Sed
130193323Sed	# the number of slabs to use for the Infrastructure cache.
131193323Sed	# the number of slabs must be a power of 2.
132194612Sed	# more slabs reduce lock contention, but fragment memory usage.
133193323Sed	# infra-cache-slabs: 4
134193323Sed
135194612Sed	# the maximum number of hosts that are cached (roundtrip, EDNS, lame).
136194612Sed	# infra-cache-numhosts: 10000
137194612Sed
138194612Sed	# Enable IPv4, "yes" or "no".
139193323Sed	# do-ip4: yes
140193323Sed
141193323Sed	# Enable IPv6, "yes" or "no".
142193323Sed	# do-ip6: yes
143193323Sed
144193323Sed	# Enable UDP, "yes" or "no".
145193323Sed	# do-udp: yes
146193323Sed
147193323Sed	# Enable TCP, "yes" or "no".
148193323Sed	# do-tcp: yes
149193323Sed
150193323Sed	# upstream connections use TCP only (and no UDP), "yes" or "no"
151193323Sed	# useful for tunneling scenarios, default no.
152194612Sed	# tcp-upstream: no
153194612Sed
154194612Sed	# Detach from the terminal, run in background, "yes" or "no".
155194612Sed	# do-daemonize: yes
156193323Sed
157194612Sed	# control which clients are allowed to make (recursive) queries
158194612Sed	# to this server. Specify classless netblocks with /size and action.
159194612Sed	# By default everything is refused, except for localhost.
160194612Sed	# Choose deny (drop message), refuse (polite error reply),
161194612Sed	# allow (recursive ok), allow_snoop (recursive and nonrecursive ok)
162194612Sed	# access-control: 0.0.0.0/0 refuse
163194612Sed	# access-control: 127.0.0.0/8 allow
164194612Sed	# access-control: ::0/0 refuse
165194612Sed	# access-control: ::1 allow
166194612Sed	# access-control: ::ffff:127.0.0.1 allow
167194612Sed
168194612Sed	# if given, a chroot(2) is done to the given directory.
169194612Sed	# i.e. you can chroot to the working directory, for example,
170194612Sed	# for extra security, but make sure all files are in that directory.
171193323Sed	#
172193323Sed	# If chroot is enabled, you should pass the configfile (from the
173193323Sed	# commandline) as a full path from the original root. After the
174193323Sed	# chroot has been performed the now defunct portion of the config 
175193323Sed	# file path is removed to be able to reread the config after a reload. 
176193323Sed	#
177193323Sed	# All other file paths (working dir, logfile, roothints, and
178193323Sed	# key files) can be specified in several ways:
179193323Sed	# 	o as an absolute path relative to the new root.
180193323Sed	# 	o as a relative path to the working directory.
181193323Sed	# 	o as an absolute path relative to the original root.
182193323Sed	# In the last case the path is adjusted to remove the unused portion.
183193323Sed	#
184193323Sed	# The pid file can be absolute and outside of the chroot, it is 
185193323Sed	# written just prior to performing the chroot and dropping permissions.
186193323Sed	#
187193323Sed	# Additionally, unbound may need to access /dev/random (for entropy).
188193323Sed	# How to do this is specific to your OS.
189193323Sed	#
190193323Sed	# If you give "" no chroot is performed. The path must not end in a /.
191193323Sed	# chroot: "@UNBOUND_CHROOT_DIR@"
192193323Sed
193193323Sed	# if given, user privileges are dropped (after binding port),
194193323Sed	# and the given username is assumed. Default is user "unbound".
195193323Sed	# If you give "" no privileges are dropped.
196193323Sed	# username: "@UNBOUND_USERNAME@"
197193323Sed
198193323Sed	# the working directory. The relative files in this config are 
199193323Sed	# relative to this directory. If you give "" the working directory
200193323Sed	# is not changed.
201193323Sed	# directory: "@UNBOUND_RUN_DIR@"
202193323Sed
203193323Sed	# the log file, "" means log to stderr. 
204193323Sed	# Use of this option sets use-syslog to "no".
205193323Sed	# logfile: ""
206193323Sed
207193323Sed	# Log to syslog(3) if yes. The log facility LOG_DAEMON is used to 
208193323Sed	# log to, with identity "unbound". If yes, it overrides the logfile.
209193323Sed	# use-syslog: yes 
210193323Sed
211193323Sed	# print UTC timestamp in ascii to logfile, default is epoch in seconds.
212193323Sed	# log-time-ascii: no
213193323Sed	
214193323Sed	# print one line with time, IP, name, type, class for every query.
215193323Sed	# log-queries: no
216193323Sed
217193323Sed	# the pid file. Can be an absolute path outside of chroot/work dir.
218193323Sed	# pidfile: "@UNBOUND_PIDFILE@"
219193323Sed
220193323Sed	# file to read root hints from.
221193323Sed	# get one from ftp://FTP.INTERNIC.NET/domain/named.cache
222193323Sed	# root-hints: ""
223193323Sed
224193323Sed	# enable to not answer id.server and hostname.bind queries.
225193323Sed	# hide-identity: no
226193323Sed
227193323Sed	# enable to not answer version.server and version.bind queries.
228193323Sed	# hide-version: no
229193323Sed
230194612Sed	# the identity to report. Leave "" or default to return hostname.
231193323Sed	# identity: ""
232193323Sed
233193323Sed	# the version to report. Leave "" or default to return package version.
234194612Sed	# version: ""
235193323Sed
236193323Sed	# the target fetch policy.
237193323Sed	# series of integers describing the policy per dependency depth. 
238193323Sed	# The number of values in the list determines the maximum dependency 
239193323Sed	# depth the recursor will pursue before giving up. Each integer means:
240193323Sed	# 	-1 : fetch all targets opportunistically,
241193323Sed	# 	0: fetch on demand,
242193323Sed	#	positive value: fetch that many targets opportunistically.
243193323Sed	# Enclose the list of numbers between quotes ("").
244193323Sed	# target-fetch-policy: "3 2 1 0 0"
245193323Sed
246193323Sed	# Harden against very small EDNS buffer sizes. 
247193323Sed	# harden-short-bufsize: no
248193323Sed
249193323Sed	# Harden against unseemly large queries.
250194612Sed	# harden-large-queries: no
251194612Sed
252194612Sed	# Harden against out of zone rrsets, to avoid spoofing attempts. 
253193323Sed	# harden-glue: yes
254193323Sed
255193323Sed	# Harden against receiving dnssec-stripped data. If you turn it
256193323Sed	# off, failing to validate dnskey data for a trustanchor will 
257193323Sed	# trigger insecure mode for that zone (like without a trustanchor).
258193323Sed	# Default on, which insists on dnssec data for trust-anchored zones.
259194612Sed	# harden-dnssec-stripped: yes
260194612Sed
261194612Sed	# Harden against queries that fall under dnssec-signed nxdomain names.
262194612Sed	# harden-below-nxdomain: no
263194612Sed
264194612Sed        # Harden the referral path by performing additional queries for
265194612Sed	# infrastructure data.  Validates the replies (if possible).
266194612Sed	# Default off, because the lookups burden the server.  Experimental 
267194612Sed	# implementation of draft-wijngaards-dnsext-resolver-side-mitigation.
268194612Sed	# harden-referral-path: no
269194612Sed
270194612Sed	# Use 0x20-encoded random bits in the query to foil spoof attempts.
271194612Sed	# This feature is an experimental implementation of draft dns-0x20.
272194612Sed	# use-caps-for-id: no
273194612Sed
274194612Sed	# Enforce privacy of these addresses. Strips them away from answers. 
275194612Sed	# It may cause DNSSEC validation to additionally mark it as bogus. 
276194612Sed	# Protects against 'DNS Rebinding' (uses browser as network proxy). 
277194612Sed	# Only 'private-domain' and 'local-data' names are allowed to have 
278194612Sed	# these private addresses. No default.
279194612Sed	# private-address: 10.0.0.0/8
280194612Sed	# private-address: 172.16.0.0/12
281194612Sed	# private-address: 192.168.0.0/16
282194612Sed	# private-address: 169.254.0.0/16
283194612Sed	# private-address: fd00::/8
284194612Sed	# private-address: fe80::/10
285194612Sed
286194612Sed	# Allow the domain (and its subdomains) to contain private addresses.
287194612Sed	# local-data statements are allowed to contain private addresses too.
288193323Sed	# private-domain: "example.com"
289193323Sed
290193323Sed	# If nonzero, unwanted replies are not only reported in statistics,
291193323Sed	# but also a running total is kept per thread. If it reaches the
292193323Sed	# threshold, a warning is printed and a defensive action is taken,
293193323Sed	# the cache is cleared to flush potential poison out of it.
294193323Sed	# A suggested value is 10000000, the default is 0 (turned off).
295193323Sed	# unwanted-reply-threshold: 0
296
297	# Do not query the following addresses. No DNS queries are sent there.
298	# List one address per entry. List classless netblocks with /size,
299	# do-not-query-address: 127.0.0.1/8
300	# do-not-query-address: ::1
301
302	# if yes, the above default do-not-query-address entries are present.
303	# if no, localhost can be queried (for testing and debugging).
304	# do-not-query-localhost: yes
305
306	# if yes, perform prefetching of almost expired message cache entries.
307	# prefetch: no
308
309	# if yes, perform key lookups adjacent to normal lookups.
310	# prefetch-key: no
311
312	# if yes, Unbound rotates RRSet order in response.
313	# rrset-roundrobin: no
314
315	# if yes, Unbound doesn't insert authority/additional sections
316	# into response messages when those sections are not required.
317	# minimal-responses: no
318
319	# module configuration of the server. A string with identifiers
320	# separated by spaces. "iterator" or "validator iterator"
321	# module-config: "validator iterator"
322
323	# File with trusted keys, kept uptodate using RFC5011 probes,
324	# initial file like trust-anchor-file, then it stores metadata.
325	# Use several entries, one per domain name, to track multiple zones.
326	#
327	# If you want to perform DNSSEC validation, run unbound-anchor before
328	# you start unbound (i.e. in the system boot scripts).  And enable:
329	# Please note usage of unbound-anchor root anchor is at your own risk
330	# and under the terms of our LICENSE (see that file in the source).
331	# auto-trust-anchor-file: "@UNBOUND_ROOTKEY_FILE@"
332
333	# File with DLV trusted keys. Same format as trust-anchor-file.
334	# There can be only one DLV configured, it is trusted from root down.
335	# Download http://ftp.isc.org/www/dlv/dlv.isc.org.key
336	# dlv-anchor-file: "dlv.isc.org.key"
337
338	# File with trusted keys for validation. Specify more than one file
339	# with several entries, one file per entry.
340	# Zone file format, with DS and DNSKEY entries.
341	# Note this gets out of date, use auto-trust-anchor-file please.
342	# trust-anchor-file: ""
343	
344	# Trusted key for validation. DS or DNSKEY. specify the RR on a
345	# single line, surrounded by "". TTL is ignored. class is IN default.
346	# Note this gets out of date, use auto-trust-anchor-file please.
347	# (These examples are from August 2007 and may not be valid anymore).
348	# trust-anchor: "nlnetlabs.nl. DNSKEY 257 3 5 AQPzzTWMz8qSWIQlfRnPckx2BiVmkVN6LPupO3mbz7FhLSnm26n6iG9N Lby97Ji453aWZY3M5/xJBSOS2vWtco2t8C0+xeO1bc/d6ZTy32DHchpW 6rDH1vp86Ll+ha0tmwyy9QP7y2bVw5zSbFCrefk8qCUBgfHm9bHzMG1U BYtEIQ=="
349	# trust-anchor: "jelte.nlnetlabs.nl. DS 42860 5 1 14D739EB566D2B1A5E216A0BA4D17FA9B038BE4A"
350
351	# File with trusted keys for validation. Specify more than one file
352	# with several entries, one file per entry. Like trust-anchor-file
353	# but has a different file format. Format is BIND-9 style format, 
354	# the trusted-keys { name flag proto algo "key"; }; clauses are read.
355	# you need external update procedures to track changes in keys.
356	# trusted-keys-file: ""
357
358	# Ignore chain of trust. Domain is treated as insecure.
359	# domain-insecure: "example.com"
360
361	# Override the date for validation with a specific fixed date.
362	# Do not set this unless you are debugging signature inception
363	# and expiration. "" or "0" turns the feature off. -1 ignores date.
364	# val-override-date: ""
365
366	# The time to live for bogus data, rrsets and messages. This avoids
367	# some of the revalidation, until the time interval expires. in secs.
368	# val-bogus-ttl: 60
369
370	# The signature inception and expiration dates are allowed to be off
371	# by 10% of the signature lifetime (expir-incep) from our local clock.
372	# This leeway is capped with a minimum and a maximum.  In seconds.
373	# val-sig-skew-min: 3600
374	# val-sig-skew-max: 86400
375
376	# Should additional section of secure message also be kept clean of
377	# unsecure data. Useful to shield the users of this validator from
378	# potential bogus data in the additional section. All unsigned data 
379	# in the additional section is removed from secure messages.
380	# val-clean-additional: yes
381
382	# Turn permissive mode on to permit bogus messages. Thus, messages
383	# for which security checks failed will be returned to clients,
384	# instead of SERVFAIL. It still performs the security checks, which
385	# result in interesting log files and possibly the AD bit in
386	# replies if the message is found secure. The default is off.
387	# val-permissive-mode: no
388
389	# Ignore the CD flag in incoming queries and refuse them bogus data.
390	# Enable it if the only clients of unbound are legacy servers (w2008)
391	# that set CD but cannot validate themselves.
392	# ignore-cd-flag: no
393
394	# Have the validator log failed validations for your diagnosis.
395	# 0: off. 1: A line per failed user query. 2: With reason and bad IP.
396	# val-log-level: 0
397
398	# It is possible to configure NSEC3 maximum iteration counts per
399	# keysize. Keep this table very short, as linear search is done.
400	# A message with an NSEC3 with larger count is marked insecure.
401	# List in ascending order the keysize and count values.
402	# val-nsec3-keysize-iterations: "1024 150 2048 500 4096 2500"
403	
404	# instruct the auto-trust-anchor-file probing to add anchors after ttl.
405	# add-holddown: 2592000 # 30 days
406
407	# instruct the auto-trust-anchor-file probing to del anchors after ttl.
408	# del-holddown: 2592000 # 30 days
409
410	# auto-trust-anchor-file probing removes missing anchors after ttl.
411	# If the value 0 is given, missing anchors are not removed.
412	# keep-missing: 31622400 # 366 days
413
414	# the amount of memory to use for the key cache.
415	# plain value in bytes or you can append k, m or G. default is "4Mb". 
416	# key-cache-size: 4m
417
418	# the number of slabs to use for the key cache.
419	# the number of slabs must be a power of 2.
420	# more slabs reduce lock contention, but fragment memory usage.
421	# key-cache-slabs: 4
422
423	# the amount of memory to use for the negative cache (used for DLV).
424	# plain value in bytes or you can append k, m or G. default is "1Mb". 
425	# neg-cache-size: 1m
426
427	# a number of locally served zones can be configured.
428	# 	local-zone: <zone> <type>
429	# 	local-data: "<resource record string>"
430	# o deny serves local data (if any), else, drops queries. 
431	# o refuse serves local data (if any), else, replies with error.
432	# o static serves local data, else, nxdomain or nodata answer.
433	# o transparent gives local data, but resolves normally for other names
434	# o redirect serves the zone data for any subdomain in the zone.
435	# o nodefault can be used to normally resolve AS112 zones.
436	# o typetransparent resolves normally for other types and other names
437	#
438	# defaults are localhost address, reverse for 127.0.0.1 and ::1
439	# and nxdomain for AS112 zones. If you configure one of these zones
440	# the default content is omitted, or you can omit it with 'nodefault'.
441	# 
442	# If you configure local-data without specifying local-zone, by
443	# default a transparent local-zone is created for the data.
444	#
445	# You can add locally served data with
446	# local-zone: "local." static
447	# local-data: "mycomputer.local. IN A 192.0.2.51"
448	# local-data: 'mytext.local TXT "content of text record"'
449	#
450	# You can override certain queries with
451	# local-data: "adserver.example.com A 127.0.0.1"
452	#
453	# You can redirect a domain to a fixed address with
454	# (this makes example.com, www.example.com, etc, all go to 192.0.2.3)
455	# local-zone: "example.com" redirect
456	# local-data: "example.com A 192.0.2.3"
457	#
458	# Shorthand to make PTR records, "IPv4 name" or "IPv6 name".
459	# You can also add PTR records using local-data directly, but then
460	# you need to do the reverse notation yourself.
461	# local-data-ptr: "192.0.2.3 www.example.com"
462
463	# service clients over SSL (on the TCP sockets), with plain DNS inside
464	# the SSL stream.  Give the certificate to use and private key.
465	# default is "" (disabled).  requires restart to take effect.
466	# ssl-service-key: "path/to/privatekeyfile.key"
467	# ssl-service-pem: "path/to/publiccertfile.pem"
468	# ssl-port: 443
469
470	# request upstream over SSL (with plain DNS inside the SSL stream).
471	# Default is no.  Can be turned on and off with unbound-control.
472	# ssl-upstream: no
473
474# Python config section. To enable:
475# o use --with-pythonmodule to configure before compiling.
476# o list python in the module-config string (above) to enable.
477# o and give a python-script to run.
478python:
479	# Script file to load
480	# python-script: "@UNBOUND_SHARE_DIR@/ubmodule-tst.py"
481
482# Remote control config section. 
483remote-control:
484	# Enable remote control with unbound-control(8) here.
485	# set up the keys and certificates with unbound-control-setup.
486	# control-enable: no
487
488	# what interfaces are listened to for remote control.
489	# give 0.0.0.0 and ::0 to listen to all interfaces.
490	# control-interface: 127.0.0.1
491	# control-interface: ::1
492
493	# port number for remote control operations.
494	# control-port: 8953
495
496	# unbound server key file.
497	# server-key-file: "@UNBOUND_RUN_DIR@/unbound_server.key"
498
499	# unbound server certificate file.
500	# server-cert-file: "@UNBOUND_RUN_DIR@/unbound_server.pem"
501
502	# unbound-control key file.
503	# control-key-file: "@UNBOUND_RUN_DIR@/unbound_control.key"
504
505	# unbound-control certificate file.
506	# control-cert-file: "@UNBOUND_RUN_DIR@/unbound_control.pem"
507
508# Stub zones.
509# Create entries like below, to make all queries for 'example.com' and 
510# 'example.org' go to the given list of nameservers. list zero or more 
511# nameservers by hostname or by ipaddress. If you set stub-prime to yes, 
512# the list is treated as priming hints (default is no).
513# With stub-first yes, it attempts without the stub if it fails.
514# stub-zone:
515#	name: "example.com"
516#	stub-addr: 192.0.2.68
517#	stub-prime: no
518#	stub-first: no
519# stub-zone:
520#	name: "example.org"
521#	stub-host: ns.example.com.
522
523# Forward zones
524# Create entries like below, to make all queries for 'example.com' and
525# 'example.org' go to the given list of servers. These servers have to handle
526# recursion to other nameservers. List zero or more nameservers by hostname
527# or by ipaddress. Use an entry with name "." to forward all queries.
528# If you enable forward-first, it attempts without the forward if it fails.
529# forward-zone:
530# 	name: "example.com"
531# 	forward-addr: 192.0.2.68
532# 	forward-addr: 192.0.2.73@5355  # forward to port 5355.
533# 	forward-first: no
534# forward-zone:
535# 	name: "example.org"
536# 	forward-host: fwd.example.com
537