Print the BIND9 default configuration Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!nslookup Failurebind9 configuration problemdefault name server behavior (named.conf configuration; Bind9)Bind9 configuration issuesBIND slave doesn't sync up with master until it is restartedHow to show the host/configured/default ssh “configuration”?Bind9 Change Default Config LocationBind9 Server Default NXDOMAIN ResponseBind 9 - allow-query-on versus listen-onBIND DNS rate-limit: qps-scale understanding

Why does tar appear to skip file contents when output file is /dev/null?

Is there folklore associating late breastfeeding with low intelligence and/or gullibility?

Cold is to Refrigerator as warm is to?

Keep going mode for require-package

3 doors, three guards, one stone

How do you clear the ApexPages.getMessages() collection in a test?

If I can make up priors, why can't I make up posteriors?

How are presidential pardons supposed to be used?

Windows 10: How to Lock (not sleep) laptop on lid close?

Is it possible to ask for a hotel room without minibar/extra services?

Slither Like a Snake

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Why is "Captain Marvel" translated as male in Portugal?

Was credit for the black hole image misattributed?

What is the largest species of polychaete?

Strange behaviour of Check

How to rotate it perfectly?

Array/tabular for long multiplication

What's the point in a preamp?

How do I automatically answer y in bash script?

When communicating altitude with a '9' in it, should it be pronounced "nine hundred" or "niner hundred"?

How should I respond to a player wanting to catch a sword between their hands?

What to do with post with dry rot?

Estimate capacitor parameters



Print the BIND9 default configuration



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!nslookup Failurebind9 configuration problemdefault name server behavior (named.conf configuration; Bind9)Bind9 configuration issuesBIND slave doesn't sync up with master until it is restartedHow to show the host/configured/default ssh “configuration”?Bind9 Change Default Config LocationBind9 Server Default NXDOMAIN ResponseBind 9 - allow-query-on versus listen-onBIND DNS rate-limit: qps-scale understanding



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








3















Postfix has the command postconf which prints the entire Postfix configuration including its default values (default can also be shown using the -d option).



Samba has a similar command which prints the entire configuration file including its default values: testparm -v.



I'm however unable to find a similar command to print the entire configuration BIND file including its default values. I know I can look up the default values in the BIND9 Configuration Reference (Chapter 6 of the ARM) but this is tedious and the default are not easily spotted when skimming through the web page. Does this option exist for BIND?










share|improve this question




























    3















    Postfix has the command postconf which prints the entire Postfix configuration including its default values (default can also be shown using the -d option).



    Samba has a similar command which prints the entire configuration file including its default values: testparm -v.



    I'm however unable to find a similar command to print the entire configuration BIND file including its default values. I know I can look up the default values in the BIND9 Configuration Reference (Chapter 6 of the ARM) but this is tedious and the default are not easily spotted when skimming through the web page. Does this option exist for BIND?










    share|improve this question
























      3












      3








      3








      Postfix has the command postconf which prints the entire Postfix configuration including its default values (default can also be shown using the -d option).



      Samba has a similar command which prints the entire configuration file including its default values: testparm -v.



      I'm however unable to find a similar command to print the entire configuration BIND file including its default values. I know I can look up the default values in the BIND9 Configuration Reference (Chapter 6 of the ARM) but this is tedious and the default are not easily spotted when skimming through the web page. Does this option exist for BIND?










      share|improve this question














      Postfix has the command postconf which prints the entire Postfix configuration including its default values (default can also be shown using the -d option).



      Samba has a similar command which prints the entire configuration file including its default values: testparm -v.



      I'm however unable to find a similar command to print the entire configuration BIND file including its default values. I know I can look up the default values in the BIND9 Configuration Reference (Chapter 6 of the ARM) but this is tedious and the default are not easily spotted when skimming through the web page. Does this option exist for BIND?







      bind defaults






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 23 '17 at 10:47









      TomTom

      455




      455




















          2 Answers
          2






          active

          oldest

          votes


















          4














          No, there is no tool/option that really does what you want.



          named-checkconf -p prints the full user configuration but does not show the full effective configuration (including defaults).



          You can find the default configuration for options in bin/named/config.c in the BIND codebase, BUT some configuration parameters are interdependent, where overriding one affects others as well (see eg allow-query and allow-recursion), so the effective configuration is not as simple as just overlaying the user configuration on top of the default config without additional logic.



          I agree that it would sometimes be useful to have a tool that would print the full effective configuration as named would use it, but there just isn't any option for that currently.



          The best readily available suggestion I can offer is searching for default in your browser before you start reading through the options in the manual to get every instance of this word highlighted, making it easier to spot the default values as you go along.






          share|improve this answer

























          • Excellent answer. Bonus points for referring me to the source code! Thanks!

            – Tom
            Apr 27 '17 at 20:08


















          2














          The BIND configuration is little more complex than just a list of option/value pairs that can have default values which are then altered. Configuration can also be split to several files through includes.



          The similar syntax checking tool and the command you are looking for is named-checkconf:




          named-checkconf checks the syntax, but not the semantics, of a named
          configuration file. The file is parsed and checked for syntax errors,
          along with all files included by it. If no file is specified,
          /etc/named.conf is read by default.



          Note: files that named reads in separate parser contexts, such as
          rndc.key and bind.keys, are not automatically read by named-checkconf.
          Configuration errors in these files may cause named to fail to run,
          even if named-checkconf was successful. named-checkconf can be run on
          these files explicitly, however.




          While named-checkconf reads through named.conf and the all the configuration files included, another tool, named-checkzone checks the syntax and integrity of a zone file.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2fserverfault.com%2fquestions%2f846055%2fprint-the-bind9-default-configuration%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









            4














            No, there is no tool/option that really does what you want.



            named-checkconf -p prints the full user configuration but does not show the full effective configuration (including defaults).



            You can find the default configuration for options in bin/named/config.c in the BIND codebase, BUT some configuration parameters are interdependent, where overriding one affects others as well (see eg allow-query and allow-recursion), so the effective configuration is not as simple as just overlaying the user configuration on top of the default config without additional logic.



            I agree that it would sometimes be useful to have a tool that would print the full effective configuration as named would use it, but there just isn't any option for that currently.



            The best readily available suggestion I can offer is searching for default in your browser before you start reading through the options in the manual to get every instance of this word highlighted, making it easier to spot the default values as you go along.






            share|improve this answer

























            • Excellent answer. Bonus points for referring me to the source code! Thanks!

              – Tom
              Apr 27 '17 at 20:08















            4














            No, there is no tool/option that really does what you want.



            named-checkconf -p prints the full user configuration but does not show the full effective configuration (including defaults).



            You can find the default configuration for options in bin/named/config.c in the BIND codebase, BUT some configuration parameters are interdependent, where overriding one affects others as well (see eg allow-query and allow-recursion), so the effective configuration is not as simple as just overlaying the user configuration on top of the default config without additional logic.



            I agree that it would sometimes be useful to have a tool that would print the full effective configuration as named would use it, but there just isn't any option for that currently.



            The best readily available suggestion I can offer is searching for default in your browser before you start reading through the options in the manual to get every instance of this word highlighted, making it easier to spot the default values as you go along.






            share|improve this answer

























            • Excellent answer. Bonus points for referring me to the source code! Thanks!

              – Tom
              Apr 27 '17 at 20:08













            4












            4








            4







            No, there is no tool/option that really does what you want.



            named-checkconf -p prints the full user configuration but does not show the full effective configuration (including defaults).



            You can find the default configuration for options in bin/named/config.c in the BIND codebase, BUT some configuration parameters are interdependent, where overriding one affects others as well (see eg allow-query and allow-recursion), so the effective configuration is not as simple as just overlaying the user configuration on top of the default config without additional logic.



            I agree that it would sometimes be useful to have a tool that would print the full effective configuration as named would use it, but there just isn't any option for that currently.



            The best readily available suggestion I can offer is searching for default in your browser before you start reading through the options in the manual to get every instance of this word highlighted, making it easier to spot the default values as you go along.






            share|improve this answer















            No, there is no tool/option that really does what you want.



            named-checkconf -p prints the full user configuration but does not show the full effective configuration (including defaults).



            You can find the default configuration for options in bin/named/config.c in the BIND codebase, BUT some configuration parameters are interdependent, where overriding one affects others as well (see eg allow-query and allow-recursion), so the effective configuration is not as simple as just overlaying the user configuration on top of the default config without additional logic.



            I agree that it would sometimes be useful to have a tool that would print the full effective configuration as named would use it, but there just isn't any option for that currently.



            The best readily available suggestion I can offer is searching for default in your browser before you start reading through the options in the manual to get every instance of this word highlighted, making it easier to spot the default values as you go along.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 9 at 19:56









            IBBoard

            1255




            1255










            answered Apr 23 '17 at 20:02









            Håkan LindqvistHåkan Lindqvist

            22.6k43761




            22.6k43761












            • Excellent answer. Bonus points for referring me to the source code! Thanks!

              – Tom
              Apr 27 '17 at 20:08

















            • Excellent answer. Bonus points for referring me to the source code! Thanks!

              – Tom
              Apr 27 '17 at 20:08
















            Excellent answer. Bonus points for referring me to the source code! Thanks!

            – Tom
            Apr 27 '17 at 20:08





            Excellent answer. Bonus points for referring me to the source code! Thanks!

            – Tom
            Apr 27 '17 at 20:08













            2














            The BIND configuration is little more complex than just a list of option/value pairs that can have default values which are then altered. Configuration can also be split to several files through includes.



            The similar syntax checking tool and the command you are looking for is named-checkconf:




            named-checkconf checks the syntax, but not the semantics, of a named
            configuration file. The file is parsed and checked for syntax errors,
            along with all files included by it. If no file is specified,
            /etc/named.conf is read by default.



            Note: files that named reads in separate parser contexts, such as
            rndc.key and bind.keys, are not automatically read by named-checkconf.
            Configuration errors in these files may cause named to fail to run,
            even if named-checkconf was successful. named-checkconf can be run on
            these files explicitly, however.




            While named-checkconf reads through named.conf and the all the configuration files included, another tool, named-checkzone checks the syntax and integrity of a zone file.






            share|improve this answer



























              2














              The BIND configuration is little more complex than just a list of option/value pairs that can have default values which are then altered. Configuration can also be split to several files through includes.



              The similar syntax checking tool and the command you are looking for is named-checkconf:




              named-checkconf checks the syntax, but not the semantics, of a named
              configuration file. The file is parsed and checked for syntax errors,
              along with all files included by it. If no file is specified,
              /etc/named.conf is read by default.



              Note: files that named reads in separate parser contexts, such as
              rndc.key and bind.keys, are not automatically read by named-checkconf.
              Configuration errors in these files may cause named to fail to run,
              even if named-checkconf was successful. named-checkconf can be run on
              these files explicitly, however.




              While named-checkconf reads through named.conf and the all the configuration files included, another tool, named-checkzone checks the syntax and integrity of a zone file.






              share|improve this answer

























                2












                2








                2







                The BIND configuration is little more complex than just a list of option/value pairs that can have default values which are then altered. Configuration can also be split to several files through includes.



                The similar syntax checking tool and the command you are looking for is named-checkconf:




                named-checkconf checks the syntax, but not the semantics, of a named
                configuration file. The file is parsed and checked for syntax errors,
                along with all files included by it. If no file is specified,
                /etc/named.conf is read by default.



                Note: files that named reads in separate parser contexts, such as
                rndc.key and bind.keys, are not automatically read by named-checkconf.
                Configuration errors in these files may cause named to fail to run,
                even if named-checkconf was successful. named-checkconf can be run on
                these files explicitly, however.




                While named-checkconf reads through named.conf and the all the configuration files included, another tool, named-checkzone checks the syntax and integrity of a zone file.






                share|improve this answer













                The BIND configuration is little more complex than just a list of option/value pairs that can have default values which are then altered. Configuration can also be split to several files through includes.



                The similar syntax checking tool and the command you are looking for is named-checkconf:




                named-checkconf checks the syntax, but not the semantics, of a named
                configuration file. The file is parsed and checked for syntax errors,
                along with all files included by it. If no file is specified,
                /etc/named.conf is read by default.



                Note: files that named reads in separate parser contexts, such as
                rndc.key and bind.keys, are not automatically read by named-checkconf.
                Configuration errors in these files may cause named to fail to run,
                even if named-checkconf was successful. named-checkconf can be run on
                these files explicitly, however.




                While named-checkconf reads through named.conf and the all the configuration files included, another tool, named-checkzone checks the syntax and integrity of a zone file.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 23 '17 at 16:36









                Esa JokinenEsa Jokinen

                23.8k23359




                23.8k23359



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • 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%2fserverfault.com%2fquestions%2f846055%2fprint-the-bind9-default-configuration%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

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company