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.

1 Answer 1


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.

  • That's a bummer in my case, where I want a "split-DNS-forward" functionality with multiple DNS forwarders. Jul 14, 2020 at 17:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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