How to do views in Unbound DNS Server

Richard Hum asked:

How would I use the BIND “views” feature in Unbound? I don’t seem to be able to find anything online regarding this.

My answer:

Unbound doesn’t support split-horizon DNS. It’s primarily meant as a recursive and caching nameserver, and has only limited support for serving authoritative answers.

You can sort of fake it in some circumstances through its stub zone feature and/or its local-data option, but for the normal scenario you’d use split-horizon DNS for (a network with RFC1918 addresses), Unbound has nothing.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.