2

The usual format for Unbound forward-zone is

forward-zone:
name: "imap.gmail.com"
forward-addr: 8.8.8.8 #googleDNS
forward-addr: 8.8.4.4 #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:

forward-zone:
name: "site1.com; site2.com"
forward-addr: 8.8.8.8 #googleDNS
forward-addr: 8.8.4.4 #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.

2

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.

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.