Add option for recursive dns forwarders



When forwarding to a specific domain only forwarding to authoritive servers is implemented by setting:

set service dns forwarding domain <> server <ip-address>

It would be useful if there is an option to flag the queries recursive. This enables the server with to ask other dns-servers it knows, when it is not authorative itself for a sub-domain of <>.

set service dns forwarding domain <> recursive

I’ve already made an example of the needed modifications to the configuration templates and

Adjustments to the configuration templates:

mkdir /opt/vyatta/share/vyatta-cfg/templates/service/dns/forwarding/domain/node.tag/recursive
echo "help: Perform recursive queries > /opt/vyatta/share/vyatta-cfg/templates/service/dns/forwarding/domain/node.tag/recursive/node.def

Modified (8.2 KB)