zone delegation in BindBIND server doesn't recognize my zone properlyHostname won't resolve, DNS issue, loop...

What is the significance of 104% for throttle power and rotor speed?

MOSFET broke after attaching capacitor bank

How to describe hit point damage without talking about wounds

When making yogurt, why doesn't bad bacteria grow as well?

Does POSIX guarantee the paths to any standard utilities?

What happens when there is no available physical memory left for SQL Server?

Does this bike use hydraulic brakes?

a harmful idea/plan

Generate points for smooth movement between two given points

How will the UK Commons debate tonight despite the prorogation?

Do index funds really have double-digit percents annual return rates?

What is this red bug infesting some trees in southern Germany?

Count rook moves 1D

Why didn't Thatcher give Hong Kong to Taiwan?

Is it rude to ask my opponent to resign an online game when they have a lost endgame?

Importance of electrolytic capacitor size

What happens if I double Meddling Mage's 'enter the battlefield' trigger?

How to move UVs by a set amount of pixels?

One hour 10 min layover in Newark; International -> Domestic connection. Enough time to clear customs?

Is mathematics truth?

My boss says "This will help us better view the utilization of your services." Does this mean my job is ending in this organisation?

If p-value is exactly 1 (1.0000000), what are the confidence interval limits?

Is torque as fundamental a concept as force?

How to encode a class with 24,000 categories?



zone delegation in Bind


BIND server doesn't recognize my zone properlyHostname won't resolve, DNS issue, loop detectedSetup of DNS zone with secure zone updatesDNS zone fallback fileSecurity of zone transfers for bindBind DNS slave for all zoneBIND Reverse DNS Ignoring out-of-zone dataHave unexpected hostname and IPBIND9 DNS zone file check reveals “ignoring out-of-zone data”Bug in Virtualmin (/var/lib/bind/mydomain.com.hosts) causes 'unknown RR type' - prevents Zone loading and DNS propagation






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















I have a lot of zones defined in my DNS server. I need to delegate one particular zone to a foreign DNS server and I don't have access to my domain-registrar control panel, currently.
Is there a way in Bind to delegate the resolution of a whole zone to another DNS server?



I thought it was possible to just name the foreign server ns1.delegatenameserver.com in the zone file but it's not working.



$TTL 3600
@ IN SOA ns1.delegatednameserver.com. hostmaster.ariel.org. (
2013120904 ;serial
3600 ;refresh
360 ;retry
86400 ;expire
3600 ;minimum
)

IN NS ns1.delegatednameserver.com.









share|improve this question

















bumped to the homepage by Community 49 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.























    2















    I have a lot of zones defined in my DNS server. I need to delegate one particular zone to a foreign DNS server and I don't have access to my domain-registrar control panel, currently.
    Is there a way in Bind to delegate the resolution of a whole zone to another DNS server?



    I thought it was possible to just name the foreign server ns1.delegatenameserver.com in the zone file but it's not working.



    $TTL 3600
    @ IN SOA ns1.delegatednameserver.com. hostmaster.ariel.org. (
    2013120904 ;serial
    3600 ;refresh
    360 ;retry
    86400 ;expire
    3600 ;minimum
    )

    IN NS ns1.delegatednameserver.com.









    share|improve this question

















    bumped to the homepage by Community 49 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















      2












      2








      2








      I have a lot of zones defined in my DNS server. I need to delegate one particular zone to a foreign DNS server and I don't have access to my domain-registrar control panel, currently.
      Is there a way in Bind to delegate the resolution of a whole zone to another DNS server?



      I thought it was possible to just name the foreign server ns1.delegatenameserver.com in the zone file but it's not working.



      $TTL 3600
      @ IN SOA ns1.delegatednameserver.com. hostmaster.ariel.org. (
      2013120904 ;serial
      3600 ;refresh
      360 ;retry
      86400 ;expire
      3600 ;minimum
      )

      IN NS ns1.delegatednameserver.com.









      share|improve this question
















      I have a lot of zones defined in my DNS server. I need to delegate one particular zone to a foreign DNS server and I don't have access to my domain-registrar control panel, currently.
      Is there a way in Bind to delegate the resolution of a whole zone to another DNS server?



      I thought it was possible to just name the foreign server ns1.delegatenameserver.com in the zone file but it's not working.



      $TTL 3600
      @ IN SOA ns1.delegatednameserver.com. hostmaster.ariel.org. (
      2013120904 ;serial
      3600 ;refresh
      360 ;retry
      86400 ;expire
      3600 ;minimum
      )

      IN NS ns1.delegatednameserver.com.






      linux dns bind






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 20 '14 at 19:32









      erch

      2,10513 gold badges36 silver badges65 bronze badges




      2,10513 gold badges36 silver badges65 bronze badges










      asked Feb 19 '14 at 15:25









      avdavd

      111 silver badge3 bronze badges




      111 silver badge3 bronze badges






      bumped to the homepage by Community 49 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.









      bumped to the homepage by Community 49 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 49 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          2 Answers
          2






          active

          oldest

          votes


















          0
















          The address of the name server is missing in this zone declaration.



          Add the following to your declaration file.



          ns1  IN A  ip.of.delgated.server





          share|improve this answer



































            0
















            It's not entirely clear from your question how far along you are, but to delegate a subdomain you have to have control over its parent domain.



            So, if you control example.com and want to delegate sub.example.com to another DNS, you have to do:



            In example.com's zone file



            ## this is the "glue" record
            sub.example.com. IN NS ns1.sub.example.com.
            ns1.sub.example.com. IN A 123.123.123.123 ;; IP address of the foreign DNS server to which you're delegating


            In the foreign DNS server:



            ## you must have configured the sub.example.com zone
            @ IN SOA ns1.sub.example.com. hostmaster.sub.example.com. (
            2016060700 ;serial
            3600 ;refresh
            360 ;retry
            86400 ;expire
            3600 ;minimum
            )

            IN NS ns1.sub.example.com.
            ns1.sub.example.com. IN A 123.123.123.123

            www IN A 121.121.121.121
            ;; etc


            Note that you can only properly delegate a subdomain, and to achieve it you must control its upper-level domain.



            If you don't have control over the upper-level domain, you can still transfer load/responsibility over a domain by other means.



            Let's say you control example.com at ns1.example.com (delegator) and want to delegate to ns3.example.com (delegatee).



            1. add extra NS records to the zone file in ns1.example.com and set up a master/slave relationship



            Your delegator nameserver will still get requests, but some clients will hit the delegatee.
            You must set up example.com as a slave zone in ns3.example.com with master ns1.example.com for this to work. You will still have control of example.com in your delegator nameserver.



            2. forward the zone to ns3.example.com



            You can forward every request you receive to example.com by configuring:



            zone "example.com" IN { type forward; forwarders { 122.122.122.122; }; }; // ns3.example.com


            You will still receive every request for example.com on your delegator nameserver, which will then send the request forward but control of the zone contents will be entirely under control of the delegatee ns3.example.com.



            In the delegated nameserver, example.com must be configured as a master zone.



            3. ns1.example.com as slave



            You can set up example.com as a slave zone in ns1.example.com with master ns3.example.com.



            This is similar to option 2 above, with the difference that ns3.example.com won't be receiving any DNS requests from the world, only zone transfer requests from ns1.example.com.
            ns1.example.com also keeps a cached copy of the zone and will still answer queries if ns3.example.com goes down.






            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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              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%2f115924%2fzone-delegation-in-bind%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0
















              The address of the name server is missing in this zone declaration.



              Add the following to your declaration file.



              ns1  IN A  ip.of.delgated.server





              share|improve this answer
































                0
















                The address of the name server is missing in this zone declaration.



                Add the following to your declaration file.



                ns1  IN A  ip.of.delgated.server





                share|improve this answer






























                  0














                  0










                  0









                  The address of the name server is missing in this zone declaration.



                  Add the following to your declaration file.



                  ns1  IN A  ip.of.delgated.server





                  share|improve this answer















                  The address of the name server is missing in this zone declaration.



                  Add the following to your declaration file.



                  ns1  IN A  ip.of.delgated.server






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Feb 20 '14 at 19:35









                  X Tian

                  8,1661 gold badge23 silver badges38 bronze badges




                  8,1661 gold badge23 silver badges38 bronze badges










                  answered Feb 20 '14 at 18:23









                  carloscarlos

                  1




                  1




























                      0
















                      It's not entirely clear from your question how far along you are, but to delegate a subdomain you have to have control over its parent domain.



                      So, if you control example.com and want to delegate sub.example.com to another DNS, you have to do:



                      In example.com's zone file



                      ## this is the "glue" record
                      sub.example.com. IN NS ns1.sub.example.com.
                      ns1.sub.example.com. IN A 123.123.123.123 ;; IP address of the foreign DNS server to which you're delegating


                      In the foreign DNS server:



                      ## you must have configured the sub.example.com zone
                      @ IN SOA ns1.sub.example.com. hostmaster.sub.example.com. (
                      2016060700 ;serial
                      3600 ;refresh
                      360 ;retry
                      86400 ;expire
                      3600 ;minimum
                      )

                      IN NS ns1.sub.example.com.
                      ns1.sub.example.com. IN A 123.123.123.123

                      www IN A 121.121.121.121
                      ;; etc


                      Note that you can only properly delegate a subdomain, and to achieve it you must control its upper-level domain.



                      If you don't have control over the upper-level domain, you can still transfer load/responsibility over a domain by other means.



                      Let's say you control example.com at ns1.example.com (delegator) and want to delegate to ns3.example.com (delegatee).



                      1. add extra NS records to the zone file in ns1.example.com and set up a master/slave relationship



                      Your delegator nameserver will still get requests, but some clients will hit the delegatee.
                      You must set up example.com as a slave zone in ns3.example.com with master ns1.example.com for this to work. You will still have control of example.com in your delegator nameserver.



                      2. forward the zone to ns3.example.com



                      You can forward every request you receive to example.com by configuring:



                      zone "example.com" IN { type forward; forwarders { 122.122.122.122; }; }; // ns3.example.com


                      You will still receive every request for example.com on your delegator nameserver, which will then send the request forward but control of the zone contents will be entirely under control of the delegatee ns3.example.com.



                      In the delegated nameserver, example.com must be configured as a master zone.



                      3. ns1.example.com as slave



                      You can set up example.com as a slave zone in ns1.example.com with master ns3.example.com.



                      This is similar to option 2 above, with the difference that ns3.example.com won't be receiving any DNS requests from the world, only zone transfer requests from ns1.example.com.
                      ns1.example.com also keeps a cached copy of the zone and will still answer queries if ns3.example.com goes down.






                      share|improve this answer
































                        0
















                        It's not entirely clear from your question how far along you are, but to delegate a subdomain you have to have control over its parent domain.



                        So, if you control example.com and want to delegate sub.example.com to another DNS, you have to do:



                        In example.com's zone file



                        ## this is the "glue" record
                        sub.example.com. IN NS ns1.sub.example.com.
                        ns1.sub.example.com. IN A 123.123.123.123 ;; IP address of the foreign DNS server to which you're delegating


                        In the foreign DNS server:



                        ## you must have configured the sub.example.com zone
                        @ IN SOA ns1.sub.example.com. hostmaster.sub.example.com. (
                        2016060700 ;serial
                        3600 ;refresh
                        360 ;retry
                        86400 ;expire
                        3600 ;minimum
                        )

                        IN NS ns1.sub.example.com.
                        ns1.sub.example.com. IN A 123.123.123.123

                        www IN A 121.121.121.121
                        ;; etc


                        Note that you can only properly delegate a subdomain, and to achieve it you must control its upper-level domain.



                        If you don't have control over the upper-level domain, you can still transfer load/responsibility over a domain by other means.



                        Let's say you control example.com at ns1.example.com (delegator) and want to delegate to ns3.example.com (delegatee).



                        1. add extra NS records to the zone file in ns1.example.com and set up a master/slave relationship



                        Your delegator nameserver will still get requests, but some clients will hit the delegatee.
                        You must set up example.com as a slave zone in ns3.example.com with master ns1.example.com for this to work. You will still have control of example.com in your delegator nameserver.



                        2. forward the zone to ns3.example.com



                        You can forward every request you receive to example.com by configuring:



                        zone "example.com" IN { type forward; forwarders { 122.122.122.122; }; }; // ns3.example.com


                        You will still receive every request for example.com on your delegator nameserver, which will then send the request forward but control of the zone contents will be entirely under control of the delegatee ns3.example.com.



                        In the delegated nameserver, example.com must be configured as a master zone.



                        3. ns1.example.com as slave



                        You can set up example.com as a slave zone in ns1.example.com with master ns3.example.com.



                        This is similar to option 2 above, with the difference that ns3.example.com won't be receiving any DNS requests from the world, only zone transfer requests from ns1.example.com.
                        ns1.example.com also keeps a cached copy of the zone and will still answer queries if ns3.example.com goes down.






                        share|improve this answer






























                          0














                          0










                          0









                          It's not entirely clear from your question how far along you are, but to delegate a subdomain you have to have control over its parent domain.



                          So, if you control example.com and want to delegate sub.example.com to another DNS, you have to do:



                          In example.com's zone file



                          ## this is the "glue" record
                          sub.example.com. IN NS ns1.sub.example.com.
                          ns1.sub.example.com. IN A 123.123.123.123 ;; IP address of the foreign DNS server to which you're delegating


                          In the foreign DNS server:



                          ## you must have configured the sub.example.com zone
                          @ IN SOA ns1.sub.example.com. hostmaster.sub.example.com. (
                          2016060700 ;serial
                          3600 ;refresh
                          360 ;retry
                          86400 ;expire
                          3600 ;minimum
                          )

                          IN NS ns1.sub.example.com.
                          ns1.sub.example.com. IN A 123.123.123.123

                          www IN A 121.121.121.121
                          ;; etc


                          Note that you can only properly delegate a subdomain, and to achieve it you must control its upper-level domain.



                          If you don't have control over the upper-level domain, you can still transfer load/responsibility over a domain by other means.



                          Let's say you control example.com at ns1.example.com (delegator) and want to delegate to ns3.example.com (delegatee).



                          1. add extra NS records to the zone file in ns1.example.com and set up a master/slave relationship



                          Your delegator nameserver will still get requests, but some clients will hit the delegatee.
                          You must set up example.com as a slave zone in ns3.example.com with master ns1.example.com for this to work. You will still have control of example.com in your delegator nameserver.



                          2. forward the zone to ns3.example.com



                          You can forward every request you receive to example.com by configuring:



                          zone "example.com" IN { type forward; forwarders { 122.122.122.122; }; }; // ns3.example.com


                          You will still receive every request for example.com on your delegator nameserver, which will then send the request forward but control of the zone contents will be entirely under control of the delegatee ns3.example.com.



                          In the delegated nameserver, example.com must be configured as a master zone.



                          3. ns1.example.com as slave



                          You can set up example.com as a slave zone in ns1.example.com with master ns3.example.com.



                          This is similar to option 2 above, with the difference that ns3.example.com won't be receiving any DNS requests from the world, only zone transfer requests from ns1.example.com.
                          ns1.example.com also keeps a cached copy of the zone and will still answer queries if ns3.example.com goes down.






                          share|improve this answer















                          It's not entirely clear from your question how far along you are, but to delegate a subdomain you have to have control over its parent domain.



                          So, if you control example.com and want to delegate sub.example.com to another DNS, you have to do:



                          In example.com's zone file



                          ## this is the "glue" record
                          sub.example.com. IN NS ns1.sub.example.com.
                          ns1.sub.example.com. IN A 123.123.123.123 ;; IP address of the foreign DNS server to which you're delegating


                          In the foreign DNS server:



                          ## you must have configured the sub.example.com zone
                          @ IN SOA ns1.sub.example.com. hostmaster.sub.example.com. (
                          2016060700 ;serial
                          3600 ;refresh
                          360 ;retry
                          86400 ;expire
                          3600 ;minimum
                          )

                          IN NS ns1.sub.example.com.
                          ns1.sub.example.com. IN A 123.123.123.123

                          www IN A 121.121.121.121
                          ;; etc


                          Note that you can only properly delegate a subdomain, and to achieve it you must control its upper-level domain.



                          If you don't have control over the upper-level domain, you can still transfer load/responsibility over a domain by other means.



                          Let's say you control example.com at ns1.example.com (delegator) and want to delegate to ns3.example.com (delegatee).



                          1. add extra NS records to the zone file in ns1.example.com and set up a master/slave relationship



                          Your delegator nameserver will still get requests, but some clients will hit the delegatee.
                          You must set up example.com as a slave zone in ns3.example.com with master ns1.example.com for this to work. You will still have control of example.com in your delegator nameserver.



                          2. forward the zone to ns3.example.com



                          You can forward every request you receive to example.com by configuring:



                          zone "example.com" IN { type forward; forwarders { 122.122.122.122; }; }; // ns3.example.com


                          You will still receive every request for example.com on your delegator nameserver, which will then send the request forward but control of the zone contents will be entirely under control of the delegatee ns3.example.com.



                          In the delegated nameserver, example.com must be configured as a master zone.



                          3. ns1.example.com as slave



                          You can set up example.com as a slave zone in ns1.example.com with master ns3.example.com.



                          This is similar to option 2 above, with the difference that ns3.example.com won't be receiving any DNS requests from the world, only zone transfer requests from ns1.example.com.
                          ns1.example.com also keeps a cached copy of the zone and will still answer queries if ns3.example.com goes down.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Feb 2 '18 at 23:49









                          Rui F Ribeiro

                          41.4k16 gold badges95 silver badges158 bronze badges




                          41.4k16 gold badges95 silver badges158 bronze badges










                          answered Jun 7 '16 at 10:10









                          André FernandesAndré Fernandes

                          1415 bronze badges




                          1415 bronze badges

































                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f115924%2fzone-delegation-in-bind%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                              Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                              Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...