1

Is it possible to allow recursion for a single zone in BIND 9.6?

  • Don't you mean 'view'? – jirib Oct 17 '13 at 9:55
  • I don't think so, I've created a zone which redirects any queries for www.mydomain.com to another name server and anything else is resolved locally. This redirect only works if recursion is enabled in named.conf.options, but has the adverse affect of allowing any domain to be resolved by the server such as google.com – 8inf Oct 17 '13 at 10:13
1

Yes, type forward. See How to configure a name server to forward some queries to other name servers.

0

Here is the more complete answer I was looking for. Adapted from DNS Cookbook.

Use a zone statement of type forward to tell a BIND name server to forward queries for domain names that end in the specified suffix to particular name servers. For example:

zone "bar.example" {
    type forward;
    forwarders { 10.0.0.9; };
};

This tells the name server to forward queries for domain names that end in bar.example to the name server at 10.0.0.9.

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.