How to allow recursion for only 1 zone?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












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










share|improve this question





















  • 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














up vote
1
down vote

favorite












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










share|improve this question





















  • 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












up vote
1
down vote

favorite









up vote
1
down vote

favorite











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










share|improve this question













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







linux dns bind






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 17 '13 at 9:44









8inf

62




62











  • 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
















  • 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















Don't you mean 'view'?
– jirib
Oct 17 '13 at 9:55




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




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










2 Answers
2






active

oldest

votes

















up vote
1
down vote













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






share|improve this answer



























    up vote
    0
    down vote













    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.






    share|improve this answer




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f96456%2fhow-to-allow-recursion-for-only-1-zone%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













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






      share|improve this answer
























        up vote
        1
        down vote













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






        share|improve this answer






















          up vote
          1
          down vote










          up vote
          1
          down vote









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






          share|improve this answer












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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 17 '13 at 10:32









          jirib

          1,002712




          1,002712






















              up vote
              0
              down vote













              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.






              share|improve this answer
























                up vote
                0
                down vote













                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.






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  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.






                  share|improve this answer












                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 31 at 17:47









                  kael

                  1




                  1



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f96456%2fhow-to-allow-recursion-for-only-1-zone%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Bahrain

                      Postfix configuration issue with fips on centos 7; mailgun relay