How to setup failover server for PowerDNS Recursor with forward-zone option?
<p>my <code>pdns_recursor</code> setup includes this</p>

<p><code>forward-zones=net=127.0.0.1:5353;8.8.8.8</code></p>

<p>where at <code>127.0.0.1:5353</code> listens my own DNS server that acts as a filter on all DNS requests under <code>.net</code> zone. When my DNS server thinks a request should be blocked, it returns the IP of a blocking page to pdns_recursor. If not, it returns <code>NXDOMAIN</code> to <code>pdns_recursor</code>.</p>

<p>My understanding about <code>pdns_recursor</code> is that it will continue to forward the DNS request to <code>8.8.8.8</code> in case it receives <code>NXDOMAIN</code> from my own DNS server. This way, unblocked requests would reach to their destinations via Google DNS. However, the client always sees either the blocking page or <code>NXDOMAIN</code> message from <code>pdns_recursor</code>!</p>

<p>What am I missing here?</p>

<p>Thanks a lot!</p>