On 05/25/2012 09:00 PM, Sebastian Benoit wrote:
1. run nsd on 127.0.0.1 (or some other ip != your unbound ip)2. tell unbound where to ask for your local domain "example.com": stub-zone: name: "example.com" stub-addr: 127.0.0.1
If you run nsd on localhost, remember to set do-not-query-localhost to no (default=yes). Took me quite a while to figure out why it didn't work.
In some cases it might be easier to run nsd on a different port, so you can send queries to it from other hosts for debugging (or notifies in case of a slave).
Maurice

