Re: Default Options

2012-06-05 Thread Mike Hoskins
i'd love to hear there is...  something like postconf.  :-)

in the past, i've always read through the options syntax section of each
version's ARM to determine current defaults.  documentation can get out of
date or have errors though, so a command that prints real values would be
a useful auditing tool.

-Original Message-
From: "Manson, John" 
Date: Tuesday, June 5, 2012 8:02 AM
To: "'bind-users@lists.isc.org'" 
Subject: Default Options

>Is there a command for bind that will list all Options default names and
>settings in named.conf?
>Might be helpful in understanding why bind is acting a certin way.
> 
>Thanks
> 
> 
> 
>John Manson 
>CAO/HIR/NI Data-Communications | U.S. House of Representatives |
>Washington, DC 20515
>Desk: 202-226-4244 | Team: 202-225-5552 | john.man...@mail.house.gov
> 
> 
> 
> 
>
>
>___
>Please visit https://lists.isc.org/mailman/listinfo/bind-users to
>unsubscribe from this list
>
>bind-users mailing list
>bind-users@lists.isc.org
>https://lists.isc.org/mailman/listinfo/bind-users


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Default Options

2012-06-05 Thread Evan Hunt
>Is there a command for bind that will list all Options default names and
>settings in named.conf?
>Might be helpful in understanding why bind is acting a certin way.

Not really...  if you download and build source, there's a tool that
will print all the supported options (bin/tests/cfg_test --named --grammar)
but it doesn't print the default settings.

But, if you've downloaded the source anyway, the defaults for nearly every
option are set in bin/named/config.c -- scroll down to where it says
"default configuration" and read from there.

-- 
Evan Hunt -- e...@isc.org
Internet Systems Consortium, Inc.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


RE: Default Options

2012-06-05 Thread Manson, John
Very helpful.
The search word in the file is 'options'.
Snippet:

options {\n\
#   blackhole {none;};\n"
#ifndef WIN32
"   coresize default;\n\
datasize default;\n\
files default;\n\
stacksize default;\n"
#endif
"   deallocate-on-exit true;\n\
#   directory \n\
dump-file \"named_dump.db\";\n\
fake-iquery no;\n\
has-old-clients false;\n\
heartbeat-interval 60;\n\
host-statistics no;\n\
interface-interval 60;\n\
listen-on {any;};\n\
listen-on-v6 {none;};\n\
.
.
.
.
The file also includes defaults for 'view' and 'zone'.
Thanks


-Original Message-
From: Evan Hunt [mailto:e...@isc.org]
Sent: Tuesday, June 05, 2012 3:04 PM
To: Mike Hoskins
Cc: Manson, John; 'bind-users@lists.isc.org'
Subject: Re: Default Options

>Is there a command for bind that will list all Options default names and
>settings in named.conf?
>Might be helpful in understanding why bind is acting a certin way.

Not really...  if you download and build source, there's a tool that
will print all the supported options (bin/tests/cfg_test --named --grammar)
but it doesn't print the default settings.

But, if you've downloaded the source anyway, the defaults for nearly every
option are set in bin/named/config.c -- scroll down to where it says
"default configuration" and read from there.

--
Evan Hunt -- e...@isc.org
Internet Systems Consortium, Inc.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users