Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The usual format for Unbound forward-zone is

name: "imap.gmail.com"
forward-addr: #googleDNS
forward-addr: #googleDNS

for example. Is it possible to add multiple sites in a list to the `name' field? I've tried comma separation but doesn't seem to work, e.g. something perhaps like:

name: "site1.com; site2.com"
forward-addr: #googleDNS
forward-addr: #googleDNS

perhaps? If so what is the correct format for the list of sites? I just want to save some space in the `unbound.conf' file.

share|improve this question
up vote 1 down vote accepted

No. If you want to have multiple forward zones, you have to define each one individually, no matter whether the forwarders are the same or not for each one of them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.