Commit 2c15fcde authored by Mark Andrews's avatar Mark Andrews

seperate out sibling glue checks

parent f255d0eb
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: check-tool.c,v 1.18 2005/06/20 01:03:48 marka Exp $ */ /* $Id: check-tool.c,v 1.19 2005/08/24 23:53:54 marka Exp $ */
/*! \file */ /*! \file */
...@@ -70,7 +70,7 @@ unsigned int zone_options = DNS_ZONEOPT_CHECKNS | ...@@ -70,7 +70,7 @@ unsigned int zone_options = DNS_ZONEOPT_CHECKNS |
DNS_ZONEOPT_CHECKMX | DNS_ZONEOPT_CHECKMX |
DNS_ZONEOPT_MANYERRORS | DNS_ZONEOPT_MANYERRORS |
DNS_ZONEOPT_CHECKNAMES | DNS_ZONEOPT_CHECKNAMES |
DNS_ZONEOPT_INTEGRITYCHECK | DNS_ZONEOPT_CHECKINTEGRITY |
DNS_ZONEOPT_CHECKWILDCARD; DNS_ZONEOPT_CHECKWILDCARD;
/* /*
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: named-checkconf.c,v 1.37 2005/08/23 02:36:05 marka Exp $ */ /* $Id: named-checkconf.c,v 1.38 2005/08/24 23:53:54 marka Exp $ */
/*! \file */ /*! \file */
...@@ -166,9 +166,7 @@ configure_zone(const char *vclass, const char *view, cfg_obj_t *zconfig, ...@@ -166,9 +166,7 @@ configure_zone(const char *vclass, const char *view, cfg_obj_t *zconfig,
cfg_obj_t *fmtobj = NULL; cfg_obj_t *fmtobj = NULL;
dns_masterformat_t masterformat; dns_masterformat_t masterformat;
zone_options = DNS_ZONEOPT_CHECKNS | zone_options = DNS_ZONEOPT_CHECKNS | DNS_ZONEOPT_MANYERRORS;
DNS_ZONEOPT_MANYERRORS |
DNS_ZONEOPT_INTEGRITYCHECK;
zname = cfg_obj_asstring(cfg_tuple_get(zconfig, "name")); zname = cfg_obj_asstring(cfg_tuple_get(zconfig, "name"));
classobj = cfg_tuple_get(zconfig, "class"); classobj = cfg_tuple_get(zconfig, "class");
...@@ -219,6 +217,22 @@ configure_zone(const char *vclass, const char *view, cfg_obj_t *zconfig, ...@@ -219,6 +217,22 @@ configure_zone(const char *vclass, const char *view, cfg_obj_t *zconfig,
zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL; zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
} }
obj = NULL;
if (get_maps(maps, "check-integrity", &obj)) {
if (cfg_obj_asboolean(obj))
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
else
zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
}
obj = NULL;
if (get_maps(maps, "check-sibling", &obj)) {
if (cfg_obj_asboolean(obj))
zone_options |= DNS_ZONEOPT_CHECKSIBLING;
else
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
}
obj = NULL; obj = NULL;
if (get_checknames(maps, &obj)) { if (get_checknames(maps, &obj)) {
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) { if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: named-checkzone.c,v 1.38 2005/08/22 00:58:18 marka Exp $ */ /* $Id: named-checkzone.c,v 1.39 2005/08/24 23:53:55 marka Exp $ */
/*! \file */ /*! \file */
...@@ -145,19 +145,36 @@ main(int argc, char **argv) { ...@@ -145,19 +145,36 @@ main(int argc, char **argv) {
case 'i': case 'i':
if (!strcmp(isc_commandline_argument, "full")) { if (!strcmp(isc_commandline_argument, "full")) {
zone_options |= DNS_ZONEOPT_INTEGRITYCHECK; zone_options |= DNS_ZONEOPT_CHECKINTEGRITY |
DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_TRUE;
docheckns = ISC_TRUE;
dochecksrv = ISC_TRUE;
} else if (!strcmp(isc_commandline_argument,
"full-sibling")) {
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_TRUE; docheckmx = ISC_TRUE;
docheckns = ISC_TRUE; docheckns = ISC_TRUE;
dochecksrv = ISC_TRUE; dochecksrv = ISC_TRUE;
} else if (!strcmp(isc_commandline_argument, } else if (!strcmp(isc_commandline_argument,
"local")) { "local")) {
zone_options |= DNS_ZONEOPT_INTEGRITYCHECK; zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
zone_options |= DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_FALSE;
docheckns = ISC_FALSE;
dochecksrv = ISC_FALSE;
} else if (!strcmp(isc_commandline_argument,
"local-sibling")) {
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_FALSE; docheckmx = ISC_FALSE;
docheckns = ISC_FALSE; docheckns = ISC_FALSE;
dochecksrv = ISC_FALSE; dochecksrv = ISC_FALSE;
} else if (!strcmp(isc_commandline_argument, } else if (!strcmp(isc_commandline_argument,
"none")) { "none")) {
zone_options &= ~DNS_ZONEOPT_INTEGRITYCHECK; zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_FALSE; docheckmx = ISC_FALSE;
docheckns = ISC_FALSE; docheckns = ISC_FALSE;
dochecksrv = ISC_FALSE; dochecksrv = ISC_FALSE;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE. - PERFORMANCE OF THIS SOFTWARE.
--> -->
<!-- $Id: named-checkzone.docbook,v 1.22 2005/07/19 04:55:19 marka Exp $ --> <!-- $Id: named-checkzone.docbook,v 1.23 2005/08/24 23:53:55 marka Exp $ -->
<refentry id="man.named-checkzone"> <refentry id="man.named-checkzone">
<refentryinfo> <refentryinfo>
<date>June 13, 2000</date> <date>June 13, 2000</date>
...@@ -174,7 +174,9 @@ ...@@ -174,7 +174,9 @@
<para> <para>
Perform post load zone integrity checks. Possible modes are Perform post load zone integrity checks. Possible modes are
<command>"full"</command> (default), <command>"full"</command> (default),
<command>"local"</command> and <command>"full-sibling"</command>,
<command>"local"</command>,
<command>"local-sibling"</command> and
<command>"none"</command>. <command>"none"</command>.
</para> </para>
<para> <para>
...@@ -198,6 +200,12 @@ ...@@ -198,6 +200,12 @@
refer to in-zone hostnames or that some required glue exists, refer to in-zone hostnames or that some required glue exists,
that is when the nameserver is in a child zone. that is when the nameserver is in a child zone.
</para> </para>
<para>
Mode <command>"full-sibling"</command> and
<command>"local-sibling"</command> disable sibling glue
checks but are otherwise the same as <command>"full"</command>
and <command>"local"</command> respectively.
</para>
<para> <para>
Mode <command>"none"</command> disables the checks. Mode <command>"none"</command> disables the checks.
</para> </para>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: config.c,v 1.59 2005/08/23 02:36:06 marka Exp $ */ /* $Id: config.c,v 1.60 2005/08/24 23:53:56 marka Exp $ */
/*! \file */ /*! \file */
...@@ -133,7 +133,6 @@ options {\n\ ...@@ -133,7 +133,6 @@ options {\n\
acache-cleaning-interval 60;\n\ acache-cleaning-interval 60;\n\
max-acache-size 0;\n\ max-acache-size 0;\n\
dnssec-enable no; /* Make yes for 9.4. */ \n\ dnssec-enable no; /* Make yes for 9.4. */ \n\
integrity-check yes;\n\
clients-per-query 10;\n\ clients-per-query 10;\n\
max-clients-per-query 100;\n\ max-clients-per-query 100;\n\
" "
...@@ -167,6 +166,8 @@ options {\n\ ...@@ -167,6 +166,8 @@ options {\n\
max-journal-size unlimited;\n\ max-journal-size unlimited;\n\
ixfr-from-differences false;\n\ ixfr-from-differences false;\n\
check-wildcard yes;\n\ check-wildcard yes;\n\
check-sibling yes;\n\
check-integrity yes;\n\
};\n\ };\n\
" "
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: update.c,v 1.123 2005/07/18 05:58:56 marka Exp $ */ /* $Id: update.c,v 1.124 2005/08/24 23:53:57 marka Exp $ */
#include <config.h> #include <config.h>
...@@ -2199,7 +2199,7 @@ check_mx(ns_client_t *client, dns_zone_t *zone, ...@@ -2199,7 +2199,7 @@ check_mx(ns_client_t *client, dns_zone_t *zone,
/* /*
* Check zone integrity checks. * Check zone integrity checks.
*/ */
if ((options & DNS_ZONEOPT_INTEGRITYCHECK) == 0) if ((options & DNS_ZONEOPT_CHECKINTEGRITY) == 0)
continue; continue;
result = dns_db_find(db, &mx.mx, newver, dns_rdatatype_a, result = dns_db_find(db, &mx.mx, newver, dns_rdatatype_a,
0, 0, NULL, foundname, NULL, NULL); 0, 0, NULL, foundname, NULL, NULL);
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: zoneconf.c,v 1.123 2005/08/23 02:36:08 marka Exp $ */ /* $Id: zoneconf.c,v 1.124 2005/08/24 23:53:57 marka Exp $ */
/*% */ /*% */
...@@ -600,6 +600,11 @@ ns_zone_configure(cfg_obj_t *config, cfg_obj_t *vconfig, cfg_obj_t *zconfig, ...@@ -600,6 +600,11 @@ ns_zone_configure(cfg_obj_t *config, cfg_obj_t *vconfig, cfg_obj_t *zconfig,
INSIST(result == ISC_R_SUCCESS); INSIST(result == ISC_R_SUCCESS);
dns_zone_setnotifydelay(zone, cfg_obj_asuint32(obj)); dns_zone_setnotifydelay(zone, cfg_obj_asuint32(obj));
obj = NULL;
result = ns_config_get(maps, "check-sibling", &obj);
INSIST(result == ISC_R_SUCCESS);
dns_zone_setoption(zone, DNS_ZONEOPT_CHECKSIBLING,
cfg_obj_asboolean(obj));
} }
/* /*
...@@ -666,9 +671,9 @@ ns_zone_configure(cfg_obj_t *config, cfg_obj_t *vconfig, cfg_obj_t *zconfig, ...@@ -666,9 +671,9 @@ ns_zone_configure(cfg_obj_t *config, cfg_obj_t *vconfig, cfg_obj_t *zconfig,
dns_zone_setoption(zone, DNS_ZONEOPT_CHECKMXFAIL, fail); dns_zone_setoption(zone, DNS_ZONEOPT_CHECKMXFAIL, fail);
obj = NULL; obj = NULL;
result = ns_config_get(maps, "integrity-check", &obj); result = ns_config_get(maps, "check-integrity", &obj);
INSIST(obj != NULL); INSIST(obj != NULL);
dns_zone_setoption(zone, DNS_ZONEOPT_INTEGRITYCHECK, dns_zone_setoption(zone, DNS_ZONEOPT_CHECKINTEGRITY,
cfg_obj_asboolean(obj)); cfg_obj_asboolean(obj));
} }
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: named.conf,v 1.6 2005/05/30 02:00:38 marka Exp $ */ /* $Id: named.conf,v 1.7 2005/08/24 23:53:58 marka Exp $ */
controls { /* empty */ }; controls { /* empty */ };
...@@ -29,7 +29,7 @@ options { ...@@ -29,7 +29,7 @@ options {
listen-on-v6 { none; }; listen-on-v6 { none; };
recursion no; recursion no;
notify yes; notify yes;
integrity-check no; check-integrity no;
}; };
zone "." { zone "." {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: named.conf,v 1.6 2005/05/30 02:00:39 marka Exp $ */ /* $Id: named.conf,v 1.7 2005/08/24 23:53:58 marka Exp $ */
controls { /* empty */ }; controls { /* empty */ };
...@@ -28,7 +28,7 @@ options { ...@@ -28,7 +28,7 @@ options {
listen-on-v6 { none; }; listen-on-v6 { none; };
recursion no; recursion no;
notify yes; notify yes;
integrity-check no; check-integrity no;
}; };
zone "." { zone "." {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: named.conf,v 1.12 2005/05/30 02:00:39 marka Exp $ */ /* $Id: named.conf,v 1.13 2005/08/24 23:53:59 marka Exp $ */
controls { /* empty */ }; controls { /* empty */ };
...@@ -30,7 +30,7 @@ options { ...@@ -30,7 +30,7 @@ options {
recursion no; recursion no;
notify no; notify no;
cache-file "cache"; cache-file "cache";
integrity-check no; check-integrity no;
}; };
zone "." { zone "." {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: named.conf,v 1.14 2005/05/20 01:09:35 marka Exp $ */ /* $Id: named.conf,v 1.15 2005/08/24 23:53:59 marka Exp $ */
controls { /* empty */ }; controls { /* empty */ };
...@@ -43,7 +43,7 @@ controls { ...@@ -43,7 +43,7 @@ controls {
zone "example.nil" { zone "example.nil" {
type master; type master;
file "example.db"; file "example.db";
integrity-check no; check-integrity no;
allow-update { any; }; allow-update { any; };
allow-transfer { any; }; allow-transfer { any; };
}; };
...@@ -51,7 +51,7 @@ zone "example.nil" { ...@@ -51,7 +51,7 @@ zone "example.nil" {
zone "update.nil" { zone "update.nil" {
type master; type master;
file "update.db"; file "update.db";
integrity-check no; check-integrity no;
allow-update { any; }; allow-update { any; };
allow-transfer { any; }; allow-transfer { any; };
also-notify { 10.53.0.2; }; also-notify { 10.53.0.2; };
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: named.conf,v 1.20 2005/05/30 02:00:39 marka Exp $ */ /* $Id: named.conf,v 1.21 2005/08/24 23:54:00 marka Exp $ */
controls { /* empty */ }; controls { /* empty */ };
...@@ -30,7 +30,7 @@ options { ...@@ -30,7 +30,7 @@ options {
recursion no; recursion no;
notify yes; notify yes;
ixfr-from-differences yes; ixfr-from-differences yes;
integrity-check no; check-integrity no;
}; };
include "../../common/controls.conf"; include "../../common/controls.conf";
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE. - PERFORMANCE OF THIS SOFTWARE.
--> -->
<!-- File: $Id: Bv9ARM-book.xml,v 1.277 2005/08/18 00:57:28 marka Exp $ --> <!-- File: $Id: Bv9ARM-book.xml,v 1.278 2005/08/24 23:54:01 marka Exp $ -->
<book xmlns:xi="http://www.w3.org/2001/XInclude"> <book xmlns:xi="http://www.w3.org/2001/XInclude">
<title>BIND 9 Administrator Reference Manual</title> <title>BIND 9 Administrator Reference Manual</title>
...@@ -4359,7 +4359,8 @@ category notify { null; }; ...@@ -4359,7 +4359,8 @@ category notify { null; };
( <replaceable>warn</replaceable> | <replaceable>fail</replaceable> | <replaceable>ignore</replaceable> ); </optional> ( <replaceable>warn</replaceable> | <replaceable>fail</replaceable> | <replaceable>ignore</replaceable> ); </optional>
<optional> check-mx ( <replaceable>warn</replaceable> | <replaceable>fail</replaceable> | <replaceable>ignore</replaceable> ); </optional> <optional> check-mx ( <replaceable>warn</replaceable> | <replaceable>fail</replaceable> | <replaceable>ignore</replaceable> ); </optional>
<optional> check-wildcard <replaceable>yes_or_no</replaceable>; </optional> <optional> check-wildcard <replaceable>yes_or_no</replaceable>; </optional>
<optional> integrity-checks <replaceable>yes_or_no</replaceable>; </optional> <optional> check-integrity <replaceable>yes_or_no</replaceable>; </optional>
<optional> check-sibling <replaceable>yes_or_no</replaceable>; </optional>
<optional> allow-notify { <replaceable>address_match_list</replaceable> }; </optional> <optional> allow-notify { <replaceable>address_match_list</replaceable> }; </optional>
<optional> allow-query { <replaceable>address_match_list</replaceable> }; </optional> <optional> allow-query { <replaceable>address_match_list</replaceable> }; </optional>
<optional> allow-query-cache { <replaceable>address_match_list</replaceable> }; </optional> <optional> allow-query-cache { <replaceable>address_match_list</replaceable> }; </optional>
...@@ -5507,7 +5508,7 @@ options { ...@@ -5507,7 +5508,7 @@ options {
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><command>integrity-check</command></term> <term><command>check-integrity</command></term>
<listitem> <listitem>
<para> <para>
Perform post load zone integrity checks on master Perform post load zone integrity checks on master
...@@ -5524,6 +5525,15 @@ options { ...@@ -5524,6 +5525,15 @@ options {
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><command>check-sibling</command></term>
<listitem>
<para>
When performing integrity checks also check that
sibling glue exists. The default is <command>yes</command>.
</para>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</sect3> </sect3>
...@@ -7749,7 +7759,7 @@ view "external" { ...@@ -7749,7 +7759,7 @@ view "external" {
<optional> check-names (<constant>warn</constant>|<constant>fail</constant>|<constant>ignore</constant>) ; </optional> <optional> check-names (<constant>warn</constant>|<constant>fail</constant>|<constant>ignore</constant>) ; </optional>
<optional> check-mx (<constant>warn</constant>|<constant>fail</constant>|<constant>ignore</constant>) ; </optional> <optional> check-mx (<constant>warn</constant>|<constant>fail</constant>|<constant>ignore</constant>) ; </optional>
<optional> check-wildcard <replaceable>yes_or_no</replaceable>; </optional> <optional> check-wildcard <replaceable>yes_or_no</replaceable>; </optional>
<optional> integrity-checks <replaceable>yes_or_no</replaceable> ; </optional> <optional> check-integrity <replaceable>yes_or_no</replaceable> ; </optional>
<optional> dialup <replaceable>dialup_option</replaceable> ; </optional> <optional> dialup <replaceable>dialup_option</replaceable> ; </optional>
<optional> delegation-only <replaceable>yes_or_no</replaceable> ; </optional> <optional> delegation-only <replaceable>yes_or_no</replaceable> ; </optional>
<optional> file <replaceable>string</replaceable> ; </optional> <optional> file <replaceable>string</replaceable> ; </optional>
...@@ -8160,11 +8170,21 @@ view "external" { ...@@ -8160,11 +8170,21 @@ view "external" {
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><command>integrity-check</command></term> <term><command>check-integrity</command></term>
<listitem>
<para>
See the description of
<command>check-integrity</command> in <xref linkend="boolean_options"/>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>check-sibling</command></term>
<listitem> <listitem>
<para> <para>
See the description of See the description of
<command>integrity-check</command> in <xref linkend="boolean_options"/>. <command>check-sibling</command> in <xref linkend="boolean_options"/>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: zone.h,v 1.136 2005/08/18 00:57:30 marka Exp $ */ /* $Id: zone.h,v 1.137 2005/08/24 23:54:03 marka Exp $ */
#ifndef DNS_ZONE_H #ifndef DNS_ZONE_H
#define DNS_ZONE_H 1 #define DNS_ZONE_H 1
...@@ -58,8 +58,9 @@ typedef enum { ...@@ -58,8 +58,9 @@ typedef enum {
#define DNS_ZONEOPT_CHECKWILDCARD 0x00002000U /*%< check for internal wildcards */ #define DNS_ZONEOPT_CHECKWILDCARD 0x00002000U /*%< check for internal wildcards */
#define DNS_ZONEOPT_CHECKMX 0x00004000U /*%< check-mx */ #define DNS_ZONEOPT_CHECKMX 0x00004000U /*%< check-mx */
#define DNS_ZONEOPT_CHECKMXFAIL 0x00008000U /*%< fatal check-mx failures */ #define DNS_ZONEOPT_CHECKMXFAIL 0x00008000U /*%< fatal check-mx failures */
#define DNS_ZONEOPT_INTEGRITYCHECK 0x00010000U /*%< perform integrity checks */ #define DNS_ZONEOPT_CHECKINTEGRITY 0x00010000U /*%< perform integrity checks */
#define DNS_ZONEOPT_NOCHECKNS 0x00020000U /*%< disable IN NS address checks */ #define DNS_ZONEOPT_CHECKSIBLING 0x00020000U /*%< perform sibling glue checks */
#define DNS_ZONEOPT_NOCHECKNS 0x00040000U /*%< disable IN NS address checks */
#ifndef NOMINUM_PUBLIC #ifndef NOMINUM_PUBLIC
/* /*
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: zone.c,v 1.444 2005/08/18 00:57:29 marka Exp $ */ /* $Id: zone.c,v 1.445 2005/08/24 23:54:02 marka Exp $ */
/*! \file */ /*! \file */
...@@ -1585,15 +1585,20 @@ zone_check_glue(dns_zone_t *zone, dns_db_t *db, dns_name_t *name, ...@@ -1585,15 +1585,20 @@ zone_check_glue(dns_zone_t *zone, dns_db_t *db, dns_name_t *name,
what = "SIBLING GLUE "; what = "SIBLING GLUE ";
else else
what = ""; what = "";
dns_zone_log(zone, level,
"%s/NS '%s' has no %saddress records (A or AAAA)", if (result != DNS_R_DELEGATION ||
ownerbuf, namebuf, what); DNS_ZONE_OPTION(zone, DNS_ZONEOPT_CHECKSIBLING)) {
/* dns_zone_log(zone