diff --git a/CHANGES b/CHANGES
index 007e5d2e32..b8cafb1958 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+5276. [func] DNSSEC Lookaside Validation (DLV) is now obsolete;
+ all code enabling its use has been removed from the
+ validator, "delv", and the DNSSEC tools. [GL #7]
+
5275. [bug] Mark DS records included in referral messages
with trust level "pending" so that they can be
validated and cached immediately, with no need to
diff --git a/bin/delv/delv.c b/bin/delv/delv.c
index d2573f4827..0411abc7e4 100644
--- a/bin/delv/delv.c
+++ b/bin/delv/delv.c
@@ -125,18 +125,16 @@ static bool
static bool
cdflag = false,
no_sigs = false,
- root_validation = true,
- dlv_validation = true;
+ root_validation = true;
static bool use_tcp = false;
static char *anchorfile = NULL;
static char *trust_anchor = NULL;
-static char *dlv_anchor = NULL;
static int num_keys = 0;
-static dns_fixedname_t afn, dfn;
-static dns_name_t *anchor_name = NULL, *dlv_name = NULL;
+static dns_fixedname_t afn;
+static dns_name_t *anchor_name = NULL;
/* Default bind.keys contents */
static char anchortext[] = DNSSEC_KEYS;
@@ -161,7 +159,7 @@ usage(void) {
" q-opt is one of:\n"
" -x dot-notation (shortcut for reverse lookups)\n"
" -d level (set debugging level)\n"
-" -a anchor-file (specify root and dlv trust anchors)\n"
+" -a anchor-file (specify root trust anchor)\n"
" -b address[#port] (bind to source address/port)\n"
" -p port (specify port number)\n"
" -q name (specify query name)\n"
@@ -181,7 +179,8 @@ usage(void) {
" +[no]comments (Control display of comment lines)\n"
" +[no]rrcomments (Control display of per-record "
"comments)\n"
-" +[no]unknownformat (Print RDATA in RFC 3597 \"unknown\" format)\n"
+" +[no]unknownformat (Print RDATA in RFC 3597 "
+ "\"unknown\" format)\n"
" +[no]short (Short form answer)\n"
" +[no]split=## (Split hex/base64 fields into chunks)\n"
" +[no]tcp (TCP mode)\n"
@@ -190,7 +189,7 @@ usage(void) {
" +[no]rtrace (Trace resolver fetches)\n"
" +[no]mtrace (Trace messages received)\n"
" +[no]vtrace (Trace validation process)\n"
-" +[no]dlv (DNSSEC lookaside validation anchor)\n"
+" +[no]dlv (Obsolete)\n"
" +[no]root (DNSSEC validation trust anchor)\n"
" +[no]dnssec (Display DNSSEC records)\n"
" -h (print help and exit)\n"
@@ -381,10 +380,9 @@ print_status(dns_rdataset_t *rdataset) {
tstr = "glue data";
break;
case dns_trust_answer:
- if (root_validation || dlv_validation)
+ if (root_validation) {
tstr = "unsigned answer";
- else
- tstr = "answer not validated";
+ }
break;
case dns_trust_authauthority:
tstr = "authority data";
@@ -575,30 +573,30 @@ key_fromconfig(const cfg_obj_t *key, dns_client_t *client) {
dns_fixedname_t fkeyname;
dns_name_t *keyname;
isc_result_t result;
- bool match_root = false, match_dlv = false;
+ bool match_root = false;
keynamestr = cfg_obj_asstring(cfg_tuple_get(key, "name"));
CHECK(convert_name(&fkeyname, &keyname, keynamestr));
- if (!root_validation && !dlv_validation)
+ if (!root_validation) {
return (ISC_R_SUCCESS);
+ }
- if (anchor_name)
+ if (anchor_name) {
match_root = dns_name_equal(keyname, anchor_name);
- if (dlv_name)
- match_dlv = dns_name_equal(keyname, dlv_name);
+ }
- if (!match_root && !match_dlv)
+ if (!match_root) {
return (ISC_R_SUCCESS);
- if ((!root_validation && match_root) || (!dlv_validation && match_dlv))
+ }
+ if (!root_validation && match_root) {
return (ISC_R_SUCCESS);
+ }
- if (match_root)
+ if (match_root) {
delv_log(ISC_LOG_DEBUG(3), "adding trust anchor %s",
trust_anchor);
- if (match_dlv)
- delv_log(ISC_LOG_DEBUG(3), "adding DLV trust anchor %s",
- dlv_anchor);
+ }
flags = cfg_obj_asuint32(cfg_tuple_get(key, "flags"));
proto = cfg_obj_asuint32(cfg_tuple_get(key, "protocol"));
@@ -697,7 +695,7 @@ setup_dnsseckeys(dns_client_t *client) {
cfg_obj_t *bindkeys = NULL;
const char *filename = anchorfile;
- if (!root_validation && !dlv_validation) {
+ if (!root_validation) {
return (ISC_R_SUCCESS);
}
@@ -719,9 +717,6 @@ setup_dnsseckeys(dns_client_t *client) {
if (trust_anchor != NULL) {
CHECK(convert_name(&afn, &anchor_name, trust_anchor));
}
- if (dlv_anchor != NULL) {
- CHECK(convert_name(&dfn, &dlv_name, dlv_anchor));
- }
CHECK(cfg_parser_create(mctx, dns_lctx, &parser));
@@ -772,11 +767,6 @@ setup_dnsseckeys(dns_client_t *client) {
fatal("No trusted keys were loaded");
}
- if (dlv_validation) {
- dns_client_setdlv(client, dns_rdataclass_in, dlv_anchor);
- }
-
-
cleanup:
if (bindkeys != NULL) {
cfg_obj_destroy(parser, &bindkeys);
@@ -1024,11 +1014,10 @@ plus_option(char *option) {
switch (cmd[1]) {
case 'l': /* dlv */
FULLCHECK("dlv");
- if (state && no_sigs)
- break;
- dlv_validation = state;
- if (value != NULL) {
- dlv_anchor = isc_mem_strdup(mctx, value);
+ if (state) {
+ fprintf(stderr, "Invalid option: "
+ "+dlv is obsolete\n");
+ exit(1);
}
break;
case 'n': /* dnssec */
@@ -1213,7 +1202,6 @@ dash_option(char *option, char *next, bool *open_type_class) {
/* NOTREACHED */
case 'i':
no_sigs = true;
- dlv_validation = false;
root_validation = false;
break;
case 'm':
@@ -1648,14 +1636,18 @@ main(int argc, char *argv[]) {
/* Set up resolution options */
resopt = DNS_CLIENTRESOPT_ALLOWRUN | DNS_CLIENTRESOPT_NOCDFLAG;
- if (no_sigs)
+ if (no_sigs) {
resopt |= DNS_CLIENTRESOPT_NODNSSEC;
- if (!root_validation && !dlv_validation)
+ }
+ if (!root_validation) {
resopt |= DNS_CLIENTRESOPT_NOVALIDATE;
- if (cdflag)
+ }
+ if (cdflag) {
resopt &= ~DNS_CLIENTRESOPT_NOCDFLAG;
- if (use_tcp)
+ }
+ if (use_tcp) {
resopt |= DNS_CLIENTRESOPT_TCP;
+ }
/* Perform resolution */
ISC_LIST_INIT(namelist);
@@ -1680,8 +1672,6 @@ main(int argc, char *argv[]) {
dns_client_freeresanswer(client, &namelist);
cleanup:
- if (dlv_anchor != NULL)
- isc_mem_free(mctx, dlv_anchor);
if (trust_anchor != NULL)
isc_mem_free(mctx, trust_anchor);
if (anchorfile != NULL)
diff --git a/bin/delv/delv.docbook b/bin/delv/delv.docbook
index d30bedd55f..78eb6feb04 100644
--- a/bin/delv/delv.docbook
+++ b/bin/delv/delv.docbook
@@ -96,7 +96,7 @@
delv will send to a specified name server all
queries needed to fetch and validate the requested data; this
includes the original requested query, subsequent queries to follow
- CNAME or DNAME chains, and queries for DNSKEY, DS and DLV records
+ CNAME or DNAME chains, and queries for DNSKEY and DS records
to establish a chain of trust for DNSSEC validation.
It does not perform iterative resolution, but simulates the
behavior of a name server configured for DNSSEC validating and
@@ -211,10 +211,7 @@
Keys that do not match the root zone name are ignored.
An alternate key name can be specified using the
- options. DNSSEC Lookaside
- Validation can also be turned on by using the
- to specify the name of a
- zone containing DLV records.
+ options.
Note: When reading the trust anchor file,
@@ -620,8 +617,7 @@
request DNSSEC records or whether to validate them.
DNSSEC records are always requested, and validation
will always occur unless suppressed by the use of
- or and
- .
+ or .
@@ -630,7 +626,7 @@
- Indicates whether to perform conventional (non-lookaside)
+ Indicates whether to perform conventional
DNSSEC validation, and if so, specifies the
name of a trust anchor. The default is to validate using
a trust anchor of "." (the root zone), for which there is
@@ -641,18 +637,6 @@
-
-
-
-
- Indicates whether to perform DNSSEC lookaside validation,
- and if so, specifies the name of the DLV trust anchor.
- The option must also be used to specify
- a file containing the DLV key.
-
-
-
-
diff --git a/bin/dnssec/dnssec-dsfromkey.c b/bin/dnssec/dnssec-dsfromkey.c
index 5ea294b93e..d6f44d8566 100644
--- a/bin/dnssec/dnssec-dsfromkey.c
+++ b/bin/dnssec/dnssec-dsfromkey.c
@@ -208,8 +208,7 @@ loadkey(char *filename, unsigned char *key_buf, unsigned int key_buf_size,
}
static void
-logkey(dns_rdata_t *rdata)
-{
+logkey(dns_rdata_t *rdata) {
isc_result_t result;
dst_key_t *key = NULL;
isc_buffer_t buf;
@@ -228,9 +227,7 @@ logkey(dns_rdata_t *rdata)
}
static void
-emit(dns_dsdigest_t dt, bool showall, char *lookaside,
- bool cds, dns_rdata_t *rdata)
-{
+emit(dns_dsdigest_t dt, bool showall, bool cds, dns_rdata_t *rdata) {
isc_result_t result;
unsigned char buf[DNS_DS_BUFFERSIZE];
char text_buf[DST_KEY_MAXTEXTSIZE];
@@ -262,18 +259,6 @@ emit(dns_dsdigest_t dt, bool showall, char *lookaside,
if (result != ISC_R_SUCCESS)
fatal("can't print name");
- /* Add lookaside origin, if set */
- if (lookaside != NULL) {
- if (isc_buffer_availablelength(&nameb) < strlen(lookaside))
- fatal("DLV origin '%s' is too long", lookaside);
- isc_buffer_putstr(&nameb, lookaside);
- if (lookaside[strlen(lookaside) - 1] != '.') {
- if (isc_buffer_availablelength(&nameb) < 1)
- fatal("DLV origin '%s' is too long", lookaside);
- isc_buffer_putstr(&nameb, ".");
- }
- }
-
result = dns_rdata_tofmttext(&ds, (dns_name_t *) NULL, 0, 0, 0, "",
&textb);
@@ -293,26 +278,24 @@ emit(dns_dsdigest_t dt, bool showall, char *lookaside,
isc_buffer_usedregion(&classb, &r);
printf("%.*s", (int)r.length, r.base);
- if (lookaside == NULL) {
- if (cds)
- printf(" CDS ");
- else
- printf(" DS ");
- } else
- printf(" DLV ");
+ if (cds) {
+ printf(" CDS ");
+ } else {
+ printf(" DS ");
+ }
isc_buffer_usedregion(&textb, &r);
printf("%.*s\n", (int)r.length, r.base);
}
static void
-emits(bool showall, char *lookaside, bool cds, dns_rdata_t *rdata) {
+emits(bool showall, bool cds, dns_rdata_t *rdata) {
unsigned i, n;
n = sizeof(dtype)/sizeof(dtype[0]);
for (i = 0; i < n; i++) {
if (dtype[i] != 0) {
- emit(dtype[i], showall, lookaside, cds, rdata);
+ emit(dtype[i], showall, cds, rdata);
}
}
}
@@ -338,12 +321,11 @@ usage(void) {
" -f zonefile: read keys from a zone file\n"
" -h: print help information\n"
" -K directory: where to find key or keyset files\n"
-" -l zone: print DLV records in the given lookaside zone\n"
" -s: read keys from keyset- file\n"
" -T: TTL of output records (omitted by default)\n"
" -v level: verbosity\n"
" -V: print version information\n");
- fprintf(stderr, "Output: DS, DLV, or CDS RRs\n");
+ fprintf(stderr, "Output: DS or CDS RRs\n");
exit (-1);
}
@@ -352,7 +334,6 @@ int
main(int argc, char **argv) {
char *classname = NULL;
char *filename = NULL, *dir = NULL, *namestr;
- char *lookaside = NULL;
char *endp;
int ch;
bool cds = false;
@@ -397,9 +378,6 @@ main(int argc, char **argv) {
add_dtype(strtodsdigest(isc_commandline_argument));
break;
case 'C':
- if (lookaside != NULL)
- fatal("lookaside and CDS are mutually"
- " exclusive");
cds = true;
break;
case 'c':
@@ -418,12 +396,7 @@ main(int argc, char **argv) {
filename = isc_commandline_argument;
break;
case 'l':
- if (cds)
- fatal("lookaside and CDS are mutually"
- " exclusive");
- lookaside = isc_commandline_argument;
- if (strlen(lookaside) == 0U)
- fatal("lookaside must be a non-empty string");
+ fatal("-l option (DLV lookaside) is obsolete");
break;
case 's':
usekeyset = true;
@@ -528,7 +501,7 @@ main(int argc, char **argv) {
logkey(&rdata);
}
- emits(showall, lookaside, cds, &rdata);
+ emits(showall, cds, &rdata);
}
} else {
unsigned char key_buf[DST_KEY_MAXSIZE];
@@ -536,7 +509,7 @@ main(int argc, char **argv) {
loadkey(argv[isc_commandline_index], key_buf,
DST_KEY_MAXSIZE, &rdata);
- emits(showall, lookaside, cds, &rdata);
+ emits(showall, cds, &rdata);
}
if (dns_rdataset_isassociated(&rdataset)) {
diff --git a/bin/dnssec/dnssec-dsfromkey.docbook b/bin/dnssec/dnssec-dsfromkey.docbook
index d67e404178..a1104ead2f 100644
--- a/bin/dnssec/dnssec-dsfromkey.docbook
+++ b/bin/dnssec/dnssec-dsfromkey.docbook
@@ -112,10 +112,8 @@
The dnssec-dsfromkey command outputs DS (Delegation
- Signer) resource records (RRs) and other similarly-constructed RRs:
- with the option it outputs DLV (DNSSEC Lookaside
- Validation) RRs; or with the it outputs CDS (Child
- DS) RRs.
+ Signer) resource records (RRs), or CDS (Child DS) RRs with the
+ option.
@@ -212,9 +210,7 @@
-C
- Generate CDS records rather than DS records. This is mutually
- exclusive with the option for generating DLV
- records.
+ Generate CDS records rather than DS records.
@@ -260,19 +256,6 @@
-
- -l domain
-
-
- Generate a DLV set instead of a DS set. The specified
- domain is appended to the name for each
- record in the set.
- This is mutually exclusive with the option
- for generating CDS records.
-
-
-
-
-s
@@ -362,7 +345,6 @@
,
BIND 9 Administrator Reference Manual,
RFC 3658 (DS RRs),
- RFC 4431 (DLV RRs),
RFC 4509 (SHA-256 for DS RRs),
RFC 6605 (SHA-384 for DS RRs),
RFC 7344 (CDS and CDNSKEY RRs).
diff --git a/bin/dnssec/dnssec-signzone.c b/bin/dnssec/dnssec-signzone.c
index 8fc7080a46..e06f09c23c 100644
--- a/bin/dnssec/dnssec-signzone.c
+++ b/bin/dnssec/dnssec-signzone.c
@@ -163,8 +163,6 @@ static bool removefile = false;
static bool generateds = false;
static bool ignore_kskflag = false;
static bool keyset_kskonly = false;
-static dns_name_t *dlv = NULL;
-static dns_fixedname_t dlv_fixed;
static dns_master_style_t *dsstyle = NULL;
static unsigned int serialformat = SOA_SERIAL_KEEP;
static unsigned int hash_length = 0;
@@ -2906,7 +2904,6 @@ writeset(const char *prefix, dns_rdatatype_t type) {
dns_dbversion_t *dbversion = NULL;
dns_diff_t diff;
dns_difftuple_t *tuple = NULL;
- dns_fixedname_t fixed;
dns_name_t *name;
dns_rdata_t rdata, ds;
bool have_ksk = false;
@@ -2939,18 +2936,7 @@ writeset(const char *prefix, dns_rdatatype_t type) {
dns_diff_init(mctx, &diff);
- if (type == dns_rdatatype_dlv) {
- dns_name_t tname;
- unsigned int labels;
-
- dns_name_init(&tname, NULL);
- name = dns_fixedname_initname(&fixed);
- labels = dns_name_countlabels(gorigin);
- dns_name_getlabelsequence(gorigin, 0, labels - 1, &tname);
- result = dns_name_concatenate(&tname, dlv, name, NULL);
- check_result(result, "dns_name_concatenate");
- } else
- name = gorigin;
+ name = gorigin;
for (key = ISC_LIST_HEAD(keylist);
key != NULL;
@@ -2991,8 +2977,6 @@ writeset(const char *prefix, dns_rdatatype_t type) {
DNS_DSDIGEST_SHA256,
dsbuf, &ds);
check_result(result, "dns_ds_buildrdata");
- if (type == dns_rdatatype_dlv)
- ds.type = dns_rdatatype_dlv;
result = dns_difftuple_create(mctx,
DNS_DIFFOP_ADDRESIGN,
name, 0, &ds, &tuple);
@@ -3130,7 +3114,6 @@ usage(void) {
"\t\twith older versions of dnssec-signzone -g\n");
fprintf(stderr, "\t-n ncpus (number of cpus present)\n");
fprintf(stderr, "\t-k key_signing_key\n");
- fprintf(stderr, "\t-l lookasidezone\n");
fprintf(stderr, "\t-3 NSEC3 salt\n");
fprintf(stderr, "\t-H NSEC3 iterations (10)\n");
fprintf(stderr, "\t-A NSEC3 optout\n");
@@ -3206,8 +3189,6 @@ main(int argc, char *argv[]) {
int tempfilelen = 0;
dns_rdataclass_t rdclass;
isc_task_t **tasks = NULL;
- isc_buffer_t b;
- int len;
hashlist_t hashlist;
bool make_keyset = false;
bool set_salt = false;
@@ -3385,14 +3366,7 @@ main(int argc, char *argv[]) {
break;
case 'l':
- len = strlen(isc_commandline_argument);
- isc_buffer_init(&b, isc_commandline_argument, len);
- isc_buffer_add(&b, len);
-
- dlv = dns_fixedname_initname(&dlv_fixed);
- result = dns_name_fromtext(dlv, &b, dns_rootname, 0,
- NULL);
- check_result(result, "dns_name_fromtext(dlv)");
+ fatal("-l option (DLV lookaside) is obsolete");
break;
case 'M':
@@ -3798,10 +3772,8 @@ main(int argc, char *argv[]) {
if (!nokeys) {
writeset("dsset-", dns_rdatatype_ds);
- if (make_keyset)
+ if (make_keyset) {
writeset("keyset-", dns_rdatatype_dnskey);
- if (dlv != NULL) {
- writeset("dlvset-", dns_rdatatype_dlv);
}
}
diff --git a/bin/dnssec/dnssec-signzone.docbook b/bin/dnssec/dnssec-signzone.docbook
index 986bc990a4..dea47a0b22 100644
--- a/bin/dnssec/dnssec-signzone.docbook
+++ b/bin/dnssec/dnssec-signzone.docbook
@@ -224,16 +224,6 @@
-
- -l domain
-
-
- Generate a DLV set in addition to the key (DNSKEY) and DS sets.
- The domain is appended to the name of the records.
-
-
-
-
-M maxttl
diff --git a/bin/named/named.conf.docbook b/bin/named/named.conf.docbook
index 61d6225e77..a013873e18 100644
--- a/bin/named/named.conf.docbook
+++ b/bin/named/named.conf.docbook
@@ -13,7 +13,7 @@
- 2019-06-28
+ 2019-08-07
ISC
@@ -154,7 +154,6 @@ logging {
-
MANAGED-KEYS
Deprecated - see DNSSEC-KEYS.
@@ -253,9 +252,6 @@ options {
dnssec-accept-expired boolean;
dnssec-dnskey-kskonly boolean;
dnssec-loadkeys-interval integer;
- dnssec-lookaside ( string
- trust-anchor string |
- auto | no ); deprecated
dnssec-must-be-secure string boolean;
dnssec-secure-to-insecure boolean;
dnssec-update-mode ( maintain | no-resign );
@@ -614,9 +610,6 @@ view string [ class ] {
initial-key ) integer integer
integer quoted_string; ... };
dnssec-loadkeys-interval integer;
- dnssec-lookaside ( string
- trust-anchor string |
- auto | no ); deprecated
dnssec-must-be-secure string boolean;
dnssec-secure-to-insecure boolean;
dnssec-update-mode ( maintain | no-resign );
@@ -866,7 +859,6 @@ view string [ class ] {
masters [ port integer ] [ dscp integer ] { ( masters
| ipv4_address [ port integer ] | ipv6_address [
port integer ] ) [ key string ]; ... };
- max-ixfr-log-size ( default | unlimited |
max-journal-size ( default | unlimited | sizeval );
max-records integer;
max-refresh-time integer;
@@ -886,7 +878,6 @@ view string [ class ] {
notify-source-v6 ( ipv6_address | * ) [ port ( integer
| * ) ] [ dscp integer ];
notify-to-soa boolean;
- pubkey integer integer integer
request-expire boolean;
request-ixfr boolean;
serial-update-method ( date | increment | unixtime );
diff --git a/bin/named/server.c b/bin/named/server.c
index ea187d50ad..11a9bd4844 100644
--- a/bin/named/server.c
+++ b/bin/named/server.c
@@ -3783,7 +3783,6 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist,
const cfg_obj_t *zonelist;
const cfg_obj_t *dlzlist;
const cfg_obj_t *dlz;
- const cfg_obj_t *dlvobj = NULL;
unsigned int dlzargc;
char **dlzargv;
const cfg_obj_t *dyndb_list, *plugin_list;
@@ -4614,7 +4613,7 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist,
}
/*
- * Set supported DS/DLV digest types.
+ * Set supported DS digest types.
*/
dns_resolver_reset_ds_digests(view->resolver);
disabled = NULL;
@@ -5204,57 +5203,6 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist,
view->prefetch_eligible = view->prefetch_trigger + 6;
}
- obj = NULL;
- result = named_config_get(optionmaps, "dnssec-lookaside", &obj);
- if (result == ISC_R_SUCCESS) {
- /* "auto" is deprecated, log a warning if seen */
- const char *dom;
- dlvobj = cfg_listelt_value(cfg_list_first(obj));
- dom = cfg_obj_asstring(cfg_tuple_get(dlvobj, "domain"));
- if (cfg_obj_isvoid(cfg_tuple_get(dlvobj, "trust-anchor"))) {
- /* If "no", skip; if "auto", log warning */
- if (!strcasecmp(dom, "no")) {
- result = ISC_R_NOTFOUND;
- } else if (!strcasecmp(dom, "auto")) {
- /*
- * Warning logged by libbind9.
- */
- result = ISC_R_NOTFOUND;
- }
- }
- }
-
- if (result == ISC_R_SUCCESS) {
- dns_name_t *dlv, *iscdlv;
- dns_fixedname_t f;
-
- /* Also log a warning if manually configured to dlv.isc.org */
- iscdlv = dns_fixedname_initname(&f);
- CHECK(dns_name_fromstring(iscdlv, "dlv.isc.org", 0, NULL));
-
- for (element = cfg_list_first(obj);
- element != NULL;
- element = cfg_list_next(element))
- {
- obj = cfg_listelt_value(element);
- obj = cfg_tuple_get(obj, "trust-anchor");
-
- dlv = dns_fixedname_name(&view->dlv_fixed);
- CHECK(dns_name_fromstring(dlv, cfg_obj_asstring(obj),
- DNS_NAME_DOWNCASE, NULL));
- if (dns_name_equal(dlv, iscdlv)) {
- /*
- * Warning logged by libbind9.
- */
- view->dlv = NULL;
- } else {
- view->dlv = dlv;
- }
- }
- } else {
- view->dlv = NULL;
- }
-
/*
* For now, there is only one kind of trusted keys, the
* "security roots".
diff --git a/bin/python/dnssec-checkds.docbook b/bin/python/dnssec-checkds.docbook
index bc18b616f6..b4af540655 100644
--- a/bin/python/dnssec-checkds.docbook
+++ b/bin/python/dnssec-checkds.docbook
@@ -59,9 +59,8 @@
DESCRIPTION
dnssec-checkds
- verifies the correctness of Delegation Signer (DS) or DNSSEC
- Lookaside Validation (DLV) resource records for keys in a specified
- zone.
+ verifies the correctness of Delegation Signer (DS)
+ resource records for keys in a specified zone.
@@ -74,7 +73,7 @@
Specify a digest algorithm to use when converting the
- zone's DNSKEY records to expected DS or DLV records. This
+ zone's DNSKEY records to expected DS records. This
option can be repeated, so that multiple records are
checked for each DNSKEY record.
@@ -98,16 +97,6 @@
-
- -l domain
-
-
- Check for a DLV record in the specified lookaside domain,
- instead of checking for a DS record in the zone's parent.
-
-
-
-
-s file
diff --git a/bin/python/isc/checkds.py.in b/bin/python/isc/checkds.py.in
index f20d6bf564..0d71629436 100644
--- a/bin/python/isc/checkds.py.in
+++ b/bin/python/isc/checkds.py.in
@@ -21,7 +21,7 @@ prog = 'dnssec-checkds'
############################################################################
# SECRR class:
-# Class for DS/DLV resource record
+# Class for DS resource record
############################################################################
class SECRR:
hashalgs = {1: 'SHA-1', 2: 'SHA-256', 3: 'GOST', 4: 'SHA-384'}
@@ -33,7 +33,7 @@ class SECRR:
digest = ''
ttl = 0
- def __init__(self, rrtext, dlvname = None):
+ def __init__(self, rrtext):
if not rrtext:
raise Exception
@@ -45,24 +45,8 @@ class SECRR:
if len(fields) < 7:
raise Exception
- if dlvname:
- self.rrtype = "DLV"
- self.dlvname = dlvname.lower()
- parent = fields[0].lower().strip('.').split('.')
- parent.reverse()
- dlv = dlvname.split('.')
- dlv.reverse()
- while len(dlv) != 0 and len(parent) != 0 and parent[0] == dlv[0]:
- parent = parent[1:]
- dlv = dlv[1:]
- if dlv:
- raise Exception
- parent.reverse()
- self.parent = '.'.join(parent)
- self.rrname = self.parent + '.' + self.dlvname + '.'
- else:
- self.rrtype = "DS"
- self.rrname = fields[0].lower()
+ self.rrtype = "DS"
+ self.rrname = fields[0].lower()
fields = fields[1:]
if fields[0].upper() in ['IN', 'CH', 'HS']:
@@ -91,9 +75,9 @@ class SECRR:
############################################################################
# check:
-# Fetch DS/DLV RRset for the given zone from the DNS; fetch DNSKEY
+# Fetch DS RRset for the given zone from the DNS; fetch DNSKEY
# RRset from the masterfile if specified, or from DNS if not.
-# Generate a set of expected DS/DLV records from the DNSKEY RRset,
+# Generate a set of expected DS records from the DNSKEY RRset,
# and report on congruency.
############################################################################
def check(zone, args):
@@ -101,15 +85,13 @@ def check(zone, args):
if args.dssetfile:
fp = open(args.dssetfile).read()
else:
- cmd = [args.dig, "+noall", "+answer", "-t",
- "dlv" if args.lookaside else "ds", "-q",
- zone + "." + args.lookaside if args.lookaside else zone]
+ cmd = [args.dig, "+noall", "+answer", "-t", "ds", "-q", zone]
fp, _ = Popen(cmd, stdout=PIPE).communicate()
for line in fp.splitlines():
if type(line) is not str:
line = line.decode('ascii')
- rrlist.append(SECRR(line, args.lookaside))
+ rrlist.append(SECRR(line))
rrlist = sorted(rrlist, key=lambda rr: (rr.keyid, rr.keyalg, rr.hashalg))
klist = []
@@ -117,8 +99,6 @@ def check(zone, args):
cmd = [args.dsfromkey]
for algo in args.algo:
cmd += ['-a', algo]
- if args.lookaside:
- cmd += ["-l", args.lookaside]
if args.masterfile:
cmd += ["-f", args.masterfile, zone]
@@ -132,7 +112,7 @@ def check(zone, args):
for line in fp.splitlines():
if type(line) is not str:
line = line.decode('ascii')
- klist.append(SECRR(line, args.lookaside))
+ klist.append(SECRR(line))
if len(klist) < 1:
print("No DNSKEY records found in zone apex")
@@ -182,8 +162,6 @@ def parse_args():
type=str, help='path to \'dnssec-dsfromkey\'')
parser.add_argument('-f', '--file', dest='masterfile', type=str,
help='zone master file')
- parser.add_argument('-l', '--lookaside', dest='lookaside', type=str,
- help='DLV lookaside zone')
parser.add_argument('-s', '--dsset', dest='dssetfile', type=str,
help='prepared DSset file')
parser.add_argument('-v', '--version', action='version',
@@ -191,8 +169,6 @@ def parse_args():
args = parser.parse_args()
args.zone = args.zone.strip('.')
- if args.lookaside:
- args.lookaside = args.lookaside.strip('.')
return args
diff --git a/bin/tests/cfg_test.c b/bin/tests/cfg_test.c
index cb5cf8c614..d16b3bd699 100644
--- a/bin/tests/cfg_test.c
+++ b/bin/tests/cfg_test.c
@@ -49,7 +49,8 @@ output(void *closure, const char *text, int textlen) {
static void
usage(void) {
fprintf(stderr, "usage: cfg_test --rndc|--named "
- "[--grammar] [--memstats] conffile\n");
+ "[--grammar] [--zonegrammar] [--active] "
+ "[--memstats] conffile\n");
exit(1);
}
@@ -67,6 +68,7 @@ main(int argc, char **argv) {
bool memstats = false;
char *filename = NULL;
unsigned int zonetype = 0;
+ unsigned int pflags = 0;
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
@@ -98,7 +100,9 @@ main(int argc, char **argv) {
usage();
while (argc > 1) {
- if (strcmp(argv[1], "--grammar") == 0) {
+ if (strcmp(argv[1], "--active") == 0) {
+ pflags |= CFG_PRINTER_ACTIVEONLY;
+ } else if (strcmp(argv[1], "--grammar") == 0) {
grammar = true;
} else if (strcmp(argv[1], "--zonegrammar") == 0) {
argv++, argc--;
@@ -149,13 +153,14 @@ main(int argc, char **argv) {
if (grammar) {
if (type == NULL)
usage();
- cfg_print_grammar(type, output, NULL);
+ cfg_print_grammar(type, pflags, output, NULL);
} else if (zonetype != 0) {
- cfg_print_zonegrammar(zonetype, output, NULL);
+ cfg_print_zonegrammar(zonetype, pflags, output, NULL);
} else {
if (type == NULL || filename == NULL)
usage();
- RUNTIME_CHECK(cfg_parser_create(mctx, lctx, &pctx) == ISC_R_SUCCESS);
+ RUNTIME_CHECK(cfg_parser_create(mctx, lctx, &pctx) ==
+ ISC_R_SUCCESS);
result = cfg_parse_file(pctx, filename, type, &cfg);
diff --git a/bin/tests/system/checkconf/check-dlv-ksk-key.conf b/bin/tests/system/checkconf/check-dlv-ksk-key.conf
deleted file mode 100644
index 93a0040db0..0000000000
--- a/bin/tests/system/checkconf/check-dlv-ksk-key.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-dnssec-keys {
- dlv.isc.org static-key 257 3 5 "BEAAAAPHMu/5onzrEE7z1egmhg/WPO0+juoZrW3euWE
- n4MxDCE1+lLy2brhQv5rN32RKtMzX6Mj70jdzeND4XknW58dnJNPCxn8
- +jAGl2FZLK8t+1uq4W+nnA3qO2+DL+k6BD4mewMLbIYFwe0PG73Te9fZ
- 2kJb56dhgMde5ymX4BI/oQ+cAK50/xvJv00Frf8kw6ucMTwFlgPe+jnG
- xPPEmHAte/URkY62ZfkLoBAADLHQ9IrS2tryAe7mbBZVcOwIeU/Rw/mR
- x/vwwMCTgNboMQKtUdvNXDrYJDSHZws3xiRXF1Rf+al9UmZfSav/4NWL
- KjHzpT59k/VStTDN0YUuWrBNh";
-};
diff --git a/bin/tests/system/checkconf/deprecated.conf b/bin/tests/system/checkconf/deprecated.conf
index f080af4087..d4f30a0b0c 100644
--- a/bin/tests/system/checkconf/deprecated.conf
+++ b/bin/tests/system/checkconf/deprecated.conf
@@ -11,7 +11,6 @@
options {
dnssec-validation yes;
- dnssec-lookaside . trust-anchor dlv.example.com;
};
trusted-keys {
diff --git a/bin/tests/system/checkconf/tests.sh b/bin/tests/system/checkconf/tests.sh
index d41247a903..9bd631c6b9 100644
--- a/bin/tests/system/checkconf/tests.sh
+++ b/bin/tests/system/checkconf/tests.sh
@@ -130,7 +130,6 @@ n=`expr $n + 1`
echo_i "checking named-checkconf deprecate warnings ($n)"
ret=0
$CHECKCONF deprecated.conf > checkconf.out$n.1 2>&1
-grep "option 'dnssec-lookaside' is deprecated" < checkconf.out$n.1 > /dev/null || ret=1
grep "option 'managed-keys' is deprecated" < checkconf.out$n.1 > /dev/null || ret=1
grep "option 'trusted-keys' is deprecated" < checkconf.out$n.1 > /dev/null || ret=1
if [ $ret != 0 ]; then echo_i "failed"; fi
@@ -389,7 +388,7 @@ n=`expr $n + 1`
echo_i "check that 'dnssec-lookaside auto;' generates a warning ($n)"
ret=0
$CHECKCONF warn-dlv-auto.conf > checkconf.out$n 2>/dev/null || ret=1
-grep "dnssec-lookaside 'auto' is no longer supported" < checkconf.out$n > /dev/null || ret=1
+grep "option 'dnssec-lookaside' is obsolete and should be removed" < checkconf.out$n > /dev/null || ret=1
if [ $ret != 0 ]; then echo_i "failed"; ret=1; fi
status=`expr $status + $ret`
@@ -397,17 +396,15 @@ n=`expr $n + 1`
echo_i "check that 'dnssec-lookaside . trust-anchor dlv.isc.org;' generates a warning ($n)"
ret=0
$CHECKCONF warn-dlv-dlv.isc.org.conf > checkconf.out$n 2>/dev/null || ret=1
-grep "dlv.isc.org has been shut down" < checkconf.out$n > /dev/null || ret=1
+grep "option 'dnssec-lookaside' is obsolete and should be removed" < checkconf.out$n > /dev/null || ret=1
if [ $ret != 0 ]; then echo_i "failed"; ret=1; fi
status=`expr $status + $ret`
n=`expr $n + 1`
-echo_i "check that 'dnssec-lookaside . trust-anchor dlv.example.com;' generates only a deprecate warning ($n)"
+echo_i "check that 'dnssec-lookaside . trust-anchor dlv.example.com;' generates a warning ($n)"
ret=0
-$CHECKCONF good-dlv-dlv.example.com.conf > checkconf.out$n 2>/dev/null || ret=1
-lines=$(wc -l < checkconf.out$n)
-if [ $lines != 1 ]; then ret=1; fi
-grep "option 'dnssec-lookaside' is deprecated" < checkconf.out$n > /dev/null || ret=1
+$CHECKCONF warn-dlv-dlv.example.com.conf > checkconf.out$n 2>/dev/null || ret=1
+grep "option 'dnssec-lookaside' is obsolete and should be removed" < checkconf.out$n > /dev/null || ret=1
if [ $ret != 0 ]; then echo_i "failed"; ret=1; fi
status=`expr $status + $ret`
@@ -456,14 +453,6 @@ grep "use of managed-keys is not allowed" checkconf.out$n > /dev/null || ret=1
if [ $ret != 0 ]; then echo_i "failed"; ret=1; fi
status=`expr $status + $ret`
-echo_i "check that the dlv.isc.org KSK generates a warning ($n)"
-ret=0
-$CHECKCONF check-dlv-ksk-key.conf > checkconf.out$n 2>/dev/null || ret=1
-[ -s checkconf.out$n ] || ret=1
-grep "trust anchor for dlv.isc.org is present" < checkconf.out$n > /dev/null || ret=1
-if [ $ret != 0 ]; then echo_i "failed"; ret=1; fi
-status=`expr $status + $ret`
-
echo_i "check that 'geoip-use-ecs no' generates a warning ($n)"
ret=0
$CHECKCONF warn-geoip-use-ecs.conf > checkconf.out$n 2>/dev/null || ret=1
diff --git a/bin/tests/system/checkconf/good-dlv-dlv.example.com.conf b/bin/tests/system/checkconf/warn-dlv-dlv.example.com.conf
similarity index 100%
rename from bin/tests/system/checkconf/good-dlv-dlv.example.com.conf
rename to bin/tests/system/checkconf/warn-dlv-dlv.example.com.conf
diff --git a/bin/tests/system/checkds/dig.bat b/bin/tests/system/checkds/dig.bat
index bf07a4f153..9465a46025 100755
--- a/bin/tests/system/checkds/dig.bat
+++ b/bin/tests/system/checkds/dig.bat
@@ -9,8 +9,6 @@ if "%arg:~0,1%" == "+" goto next
if "%arg%" == "-t" goto next
if "%arg%" == "ds" goto ds
if "%arg%" == "DS" goto ds
-if "%arg%" == "dlv" goto dlv
-if "%arg%" == "DLV" goto dlv
if "%arg%" == "dnskey" goto dnskey
if "%arg%" == "DNSKEY" goto dnskey
set file=%arg%
@@ -20,10 +18,6 @@ goto next
set ext=ds
goto next
-:dlv
-set ext=dlv
-goto next
-
:dnskey
set ext=dnskey
goto next
diff --git a/bin/tests/system/checkds/dig.pl b/bin/tests/system/checkds/dig.pl
index 35cf973e5d..7312f02421 100644
--- a/bin/tests/system/checkds/dig.pl
+++ b/bin/tests/system/checkds/dig.pl
@@ -24,10 +24,6 @@ foreach $arg (@ARGV) {
$ext = "ds";
next;
}
- if ($arg =~ /^dlv$/i) {
- $ext = "dlv";
- next;
- }
if ($arg =~ /^dnskey$/i) {
$ext = "dnskey";
next;
diff --git a/bin/tests/system/checkds/dig.sh b/bin/tests/system/checkds/dig.sh
index 41354fa627..e6fd84e2f0 100755
--- a/bin/tests/system/checkds/dig.sh
+++ b/bin/tests/system/checkds/dig.sh
@@ -14,7 +14,6 @@ while [ "$#" != 0 ]; do
+*) shift ;;
-t) shift ;;
DS|ds) ext=ds ; shift ;;
- DLV|dlv) ext=dlv ; shift ;;
DNSKEY|dnskey) ext=dnskey ; shift ;;
*) file=$1 ; shift ;;
esac
diff --git a/bin/tests/system/checkds/missing.example.dlv.example.dlv.db b/bin/tests/system/checkds/missing.example.dlv.example.dlv.db
deleted file mode 100644
index 5dd94621c6..0000000000
--- a/bin/tests/system/checkds/missing.example.dlv.example.dlv.db
+++ /dev/null
@@ -1,2 +0,0 @@
-missing.example.dlv.example. 3600 IN DLV 12892 5 1 9D4CD60491D372207FA584D2EE460CC51D7FF8A7
-missing.example.dlv.example. 3600 IN DLV 12892 5 2 EF59E5C70BC4153B7DB4C11F9C36B729577DA71474E0A5C9B8875173 6E583200
diff --git a/bin/tests/system/checkds/none.example.dlv.example.dlv.db b/bin/tests/system/checkds/none.example.dlv.example.dlv.db
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bin/tests/system/checkds/ok.example.dlv.example.dlv.db b/bin/tests/system/checkds/ok.example.dlv.example.dlv.db
deleted file mode 100644
index 5896bcc7b4..0000000000
--- a/bin/tests/system/checkds/ok.example.dlv.example.dlv.db
+++ /dev/null
@@ -1,2 +0,0 @@
-ok.example.dlv.example. 3600 IN DLV 12892 5 1 7AA4A3F416C2F2391FB7AB0D434F762CD62D1390
-ok.example.dlv.example. 3600 IN DLV 12892 5 2 26584835CA80C81C91999F31CFAF2A0E89D4FF1C8FAFD0DDB31A85C7 19277C13
diff --git a/bin/tests/system/checkds/tests.sh b/bin/tests/system/checkds/tests.sh
index 1d46bc53c4..b205d25cde 100644
--- a/bin/tests/system/checkds/tests.sh
+++ b/bin/tests/system/checkds/tests.sh
@@ -43,24 +43,6 @@ n=`expr $n + 1`
if [ $ret != 0 ]; then echo_i "failed"; fi
status=`expr $status + $ret`
-echo_i "checking for correct DLV, looking up key via 'dig' ($n)"
-ret=0
-$CHECKDS -l dlv.example ok.example > checkds.out.$n 2>&1 || ret=1
-grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-echo_i "checking for correct DLV, obtaining key from file ($n)"
-ret=0
-$CHECKDS -l dlv.example -f ok.example.dnskey.db ok.example > checkds.out.$n 2>&1 || ret=1
-grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
echo_i "checking for incorrect DS, looking up key via 'dig' ($n)"
ret=0
$CHECKDS wrong.example > checkds.out.$n 2>&1 || ret=1
@@ -79,24 +61,6 @@ n=`expr $n + 1`
if [ $ret != 0 ]; then echo_i "failed"; fi
status=`expr $status + $ret`
-echo_i "checking for incorrect DLV, looking up key via 'dig' ($n)"
-ret=0
-$CHECKDS -l dlv.example wrong.example > checkds.out.$n 2>&1 || ret=1
-grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-echo_i "checking for incorrect DLV, obtaining key from file ($n)"
-ret=0
-$CHECKDS -l dlv.example -f wrong.example.dnskey.db wrong.example > checkds.out.$n 2>&1 || ret=1
-grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
echo_i "checking for partially missing DS, looking up key via 'dig' ($n)"
ret=0
$CHECKDS missing.example > checkds.out.$n 2>&1 && ret=1
@@ -119,28 +83,6 @@ n=`expr $n + 1`
if [ $ret != 0 ]; then echo_i "failed"; fi
status=`expr $status + $ret`
-echo_i "checking for partially missing DLV, looking up key via 'dig' ($n)"
-ret=0
-$CHECKDS -l dlv.example missing.example > checkds.out.$n 2>&1 && ret=1
-grep 'SHA-1.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-256.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-1.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-256.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-echo_i "checking for partially missing DLV, obtaining key from file ($n)"
-ret=0
-$CHECKDS -l dlv.example -f missing.example.dnskey.db missing.example > checkds.out.$n 2>&1 && ret=1
-grep 'SHA-1.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-256.*found' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-1.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
-grep 'SHA-256.*missing' checkds.out.$n > /dev/null 2>&1 || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
echo_i "checking for entirely missing DS, looking up key via 'dig' ($n)"
ret=0
$CHECKDS none.example > checkds.out.$n 2>&1 && ret=1
@@ -159,24 +101,6 @@ n=`expr $n + 1`
if [ $ret != 0 ]; then echo_i "failed"; fi
status=`expr $status + $ret`
-echo_i "checking for entirely missing DLV, looking up key via 'dig' ($n)"
-ret=0
-$CHECKDS -l dlv.example none.example > checkds.out.$n 2>&1 && ret=1
-grep 'SHA-1.*found' checkds.out.$n > /dev/null 2>&1 && ret=1
-grep 'SHA-256.*found' checkds.out.$n > /dev/null 2>&1 && ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-echo_i "checking for entirely missing DLV, obtaining key from file ($n)"
-ret=0
-$CHECKDS -l dlv.example -f none.example.dnskey.db none.example > checkds.out.$n 2>&1 && ret=1
-grep 'SHA-1.*found' checkds.out.$n > /dev/null 2>&1 && ret=1
-grep 'SHA-256.*found' checkds.out.$n > /dev/null 2>&1 && ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
echo_i "checking with prepared dsset file ($n)"
ret=0
$CHECKDS -f prep.example.db -s prep.example.ds.db prep.example > checkds.out.$n 2>&1 || ret=1
diff --git a/bin/tests/system/checkds/wrong.example.dlv.example.dlv.db b/bin/tests/system/checkds/wrong.example.dlv.example.dlv.db
deleted file mode 100644
index 096969b415..0000000000
--- a/bin/tests/system/checkds/wrong.example.dlv.example.dlv.db
+++ /dev/null
@@ -1,2 +0,0 @@
-wrong.example.dlv.example. 3600 IN DLV 1192 5 1 684BB5119673C9272A0A7582AF8576561B5D80EC
-wrong.example.dlv.example. 3600 IN DLV 1192 5 2 14E4A873360E512CD2E8C2C331C4472F5EDAB0736669901F4D42E976 3D7B1F5C
diff --git a/bin/tests/system/conf.sh.common b/bin/tests/system/conf.sh.common
index 613c0cd72b..d1efc192d4 100644
--- a/bin/tests/system/conf.sh.common
+++ b/bin/tests/system/conf.sh.common
@@ -59,7 +59,7 @@ PARALLEL_COMMON="dnssec rpzrecurse serve-stale \
acl additional addzone allow-query auth autosign \
builtin cacheclean case catz cds chain \
checkconf checknames checkzone \
- cookie database digdelv dlv dlz dlzexternal \
+ cookie database digdelv dlz dlzexternal \
dns64 dscp dsdigest dyndb \
ednscompliance emptyzones \
fetchlimit filter-aaaa formerr forward \
diff --git a/bin/tests/system/digdelv/tests.sh b/bin/tests/system/digdelv/tests.sh
index b0f655b739..0a0509f9be 100644
--- a/bin/tests/system/digdelv/tests.sh
+++ b/bin/tests/system/digdelv/tests.sh
@@ -55,7 +55,7 @@ check_ttl_range() {
# using delv insecure mode as not testing dnssec here
delv_with_opts() {
- "$DELV" +noroot +nodlv -p "$PORT" "$@"
+ "$DELV" +noroot -p "$PORT" "$@"
}
KEYID="$(cat ns2/keyid)"
diff --git a/bin/tests/system/dlv/clean.sh b/bin/tests/system/dlv/clean.sh
deleted file mode 100644
index 9f3f1cb8c1..0000000000
--- a/bin/tests/system/dlv/clean.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-rm -f ns*/named.run
-rm -f ns*/named.conf
-rm -f ns1/K*
-rm -f ns1/dsset-*
-rm -f ns1/*.signed
-rm -f ns1/signer.err
-rm -f ns1/root.db
-rm -f ns1/trusted.conf
-rm -f ns2/K*
-rm -f ns2/dlvset-*
-rm -f ns2/dsset-*
-rm -f ns2/*.signed
-rm -f ns2/*.pre
-rm -f ns2/signer.err
-rm -f ns2/druz.db
-rm -f ns3/K*
-rm -f ns3/*.db
-rm -f ns3/*.signed ns3/*.signed.tmp
-rm -f ns3/dlvset-*
-rm -f ns3/dsset-*
-rm -f ns3/keyset-*
-rm -f ns3/trusted*.conf
-rm -f ns3/signer.err
-rm -f ns5/trusted*.conf
-rm -f ns6/K*
-rm -f ns6/*.db
-rm -f ns6/*.signed
-rm -f ns6/dsset-*
-rm -f ns6/signer.err
-rm -f ns7/trusted*.conf ns8/trusted*.conf
-rm -f */named.memstats
-rm -f dig.out.ns*.test*
-rm -f ns*/named.lock
-rm -f ns*/managed-keys.bind*
diff --git a/bin/tests/system/dlv/ns1/named.conf.in b/bin/tests/system/dlv/ns1/named.conf.in
deleted file mode 100644
index e628dbe36d..0000000000
--- a/bin/tests/system/dlv/ns1/named.conf.in
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-options {
- query-source address 10.53.0.1;
- notify-source 10.53.0.1;
- transfer-source 10.53.0.1;
- port @PORT@;
- pid-file "named.pid";
- listen-on { 10.53.0.1; };
- listen-on-v6 { none; };
- recursion no;
- notify yes;
-};
-
-zone "." { type master; file "root.signed"; };
-zone "rootservers.utld" { type master; file "rootservers.utld.db"; };
diff --git a/bin/tests/system/dlv/ns1/root.db.in b/bin/tests/system/dlv/ns1/root.db.in
deleted file mode 100644
index f4faa25d3e..0000000000
--- a/bin/tests/system/dlv/ns1/root.db.in
+++ /dev/null
@@ -1,26 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-$TTL 120
-@ SOA ns.rootservers.utld hostmaster.ns.rootservers.utld (
- 1 3600 1200 604800 60 )
-@ NS ns.rootservers.utld
-ns A 10.53.0.1
-;
-; A zone that is unsigned (utld=unsigned tld) that will include a second level
-; zone that acts as a DLV.
-;
-utld NS ns.utld
-ns.utld A 10.53.0.2
-;
-; A zone that has a bad DNSKEY RRset but has good DLV records for its child
-; zones.
-;
-druz NS ns.druz
-ns.druz A 10.53.0.2
diff --git a/bin/tests/system/dlv/ns1/rootservers.utld.db b/bin/tests/system/dlv/ns1/rootservers.utld.db
deleted file mode 100644
index 8491ed0e30..0000000000
--- a/bin/tests/system/dlv/ns1/rootservers.utld.db
+++ /dev/null
@@ -1,13 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-$TTL 120
-@ SOA ns hostmaster.ns 1 3600 1200 604800 60
-@ NS ns
-ns A 10.53.0.1
diff --git a/bin/tests/system/dlv/ns1/sign.sh b/bin/tests/system/dlv/ns1/sign.sh
deleted file mode 100755
index 487d609a7f..0000000000
--- a/bin/tests/system/dlv/ns1/sign.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-SYSTEMTESTTOP=../..
-. $SYSTEMTESTTOP/conf.sh
-
-SYSTESTDIR=dlv
-
-(cd ../ns2 && $SHELL -e ./sign.sh || exit 1)
-
-echo_i "dlv/ns1/sign.sh"
-
-zone=.
-infile=root.db.in
-zonefile=root.db
-outfile=root.signed
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-
-echo_i "signed $zone"
-
-keyfile_to_static_keys $keyname2 > trusted.conf
-cp trusted.conf ../ns5
-cp trusted.conf ../ns7
-cp trusted.conf ../ns8
diff --git a/bin/tests/system/dlv/ns2/druz.db.in b/bin/tests/system/dlv/ns2/druz.db.in
deleted file mode 100644
index 4e0f892a53..0000000000
--- a/bin/tests/system/dlv/ns2/druz.db.in
+++ /dev/null
@@ -1,47 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-$TTL 120
-@ SOA ns hostmaster.ns 1 3600 1200 604800 60
-@ NS ns
-ns A 10.53.0.2
-;
-rootservers NS ns.rootservers
-ns.rootservers A 10.53.0.1
-;
-;
-child1 NS ns.child1
-ns.child1 A 10.53.0.3
-;
-child2 NS ns.child2
-ns.child2 A 10.53.0.4
-;
-child3 NS ns.child3
-ns.child3 A 10.53.0.3
-;
-child4 NS ns.child4
-ns.child4 A 10.53.0.3
-;
-child5 NS ns.child5
-ns.child5 A 10.53.0.3
-;
-child6 NS ns.child6
-ns.child6 A 10.53.0.4
-;
-child7 NS ns.child7
-ns.child7 A 10.53.0.3
-;
-child8 NS ns.child8
-ns.child8 A 10.53.0.3
-;
-child9 NS ns.child9
-ns.child9 A 10.53.0.3
-;
-child10 NS ns.child10
-ns.child10 A 10.53.0.3
diff --git a/bin/tests/system/dlv/ns2/hints b/bin/tests/system/dlv/ns2/hints
deleted file mode 100644
index 381e86b152..0000000000
--- a/bin/tests/system/dlv/ns2/hints
+++ /dev/null
@@ -1,11 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-. 0 NS ns.rootservers.utld.
-ns.rootservers.utld. 0 A 10.53.0.1
diff --git a/bin/tests/system/dlv/ns2/named.conf.in b/bin/tests/system/dlv/ns2/named.conf.in
deleted file mode 100644
index e10a9899b2..0000000000
--- a/bin/tests/system/dlv/ns2/named.conf.in
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-options {
- query-source address 10.53.0.2;
- notify-source 10.53.0.2;
- transfer-source 10.53.0.2;
- port @PORT@;
- pid-file "named.pid";
- listen-on { 10.53.0.2; };
- listen-on-v6 { none; };
- recursion no;
- notify yes;
-};
-
-/* Root hints. */
-zone "." { type hint; file "hints"; };
-
-/*
- * A zone that is unsigned (utld=unsigned tld) that will include a second level
- * zone that acts as a DLV.
- */
-zone "utld" { type master; file "utld.db"; };
-
-/*
- * A zone that has a bad DNSKEY RRset but has good DLV records for its child
- * zones.
- */
-zone "druz" { type master; file "druz.signed"; };
diff --git a/bin/tests/system/dlv/ns2/sign.sh b/bin/tests/system/dlv/ns2/sign.sh
deleted file mode 100755
index 8367725735..0000000000
--- a/bin/tests/system/dlv/ns2/sign.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-SYSTEMTESTTOP=../..
-. $SYSTEMTESTTOP/conf.sh
-
-SYSTESTDIR=dlv
-
-(cd ../ns3 && $SHELL -e ./sign.sh || exit 1)
-
-echo_i "dlv/ns2/sign.sh"
-
-zone=druz.
-infile=druz.db.in
-zonefile=druz.db
-outfile=druz.pre
-dlvzone=utld.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -l $dlvzone -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-
-$CHECKZONE -q -D -i none druz druz.pre |
-sed '/IN DNSKEY/s/\([a-z0-9A-Z+/]\{10\}\)[a-z0-9A-Z+/]\{16\}/\1XXXXXXXXXXXXXXXX/'> druz.signed
-
-echo_i "signed $zone"
diff --git a/bin/tests/system/dlv/ns2/utld.db b/bin/tests/system/dlv/ns2/utld.db
deleted file mode 100644
index 4369968b0f..0000000000
--- a/bin/tests/system/dlv/ns2/utld.db
+++ /dev/null
@@ -1,61 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-$TTL 120
-@ SOA ns hostmaster.ns 1 3600 1200 604800 60
-@ NS ns
-ns A 10.53.0.2
-;
-rootservers NS ns.rootservers
-ns.rootservers A 10.53.0.1
-;
-dlv NS ns.dlv
-ns.dlv A 10.53.0.3
-;
-disabled-algorithm-dlv NS ns.disabled-algorithm-dlv
-ns.disabled-algorithm-dlv A 10.53.0.3
-;
-unsupported-algorithm-dlv NS ns.unsupported-algorithm-dlv
-ns.unsupported-algorithm-dlv A 10.53.0.3
-;
-child1 NS ns.child1
-ns.child1 A 10.53.0.3
-;
-child2 NS ns.child2
-ns.child2 A 10.53.0.4
-;
-child3 NS ns.child3
-ns.child3 A 10.53.0.3
-;
-child4 NS ns.child4
-ns.child4 A 10.53.0.3
-;
-child5 NS ns.child5
-ns.child5 A 10.53.0.3
-;
-child6 NS ns.child6
-ns.child6 A 10.53.0.4
-;
-child7 NS ns.child7
-ns.child7 A 10.53.0.3
-;
-child8 NS ns.child8
-ns.child8 A 10.53.0.3
-;
-child9 NS ns.child9
-ns.child9 A 10.53.0.3
-;
-child10 NS ns.child10
-ns.child10 A 10.53.0.3
-;
-disabled-algorithm NS ns.disabled-algorithm
-ns.disabled-algorithm A 10.53.0.3
-;
-unsupported-algorithm NS ns.unsupported-algorithm
-ns.unsupported-algorithm A 10.53.0.3
diff --git a/bin/tests/system/dlv/ns3/child.db.in b/bin/tests/system/dlv/ns3/child.db.in
deleted file mode 100644
index 11df807ab7..0000000000
--- a/bin/tests/system/dlv/ns3/child.db.in
+++ /dev/null
@@ -1,17 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-$TTL 120
-@ SOA ns hostmaster.ns 1 3600 1200 604800 60
-@ NS ns
-ns A 10.53.0.3
-foo TXT foo
-bar TXT bar
-grand NS ns.grand
-ns.grand A 10.53.0.6
diff --git a/bin/tests/system/dlv/ns3/dlv.db.in b/bin/tests/system/dlv/ns3/dlv.db.in
deleted file mode 100644
index fdc8ce9901..0000000000
--- a/bin/tests/system/dlv/ns3/dlv.db.in
+++ /dev/null
@@ -1,13 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-$TTL 120
-@ SOA ns hostmaster.ns 1 3600 1200 604800 60
-@ NS ns
-ns A 10.53.0.3
diff --git a/bin/tests/system/dlv/ns3/hints b/bin/tests/system/dlv/ns3/hints
deleted file mode 100644
index 381e86b152..0000000000
--- a/bin/tests/system/dlv/ns3/hints
+++ /dev/null
@@ -1,11 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-. 0 NS ns.rootservers.utld.
-ns.rootservers.utld. 0 A 10.53.0.1
diff --git a/bin/tests/system/dlv/ns3/named.conf.in b/bin/tests/system/dlv/ns3/named.conf.in
deleted file mode 100644
index fc42a5571a..0000000000
--- a/bin/tests/system/dlv/ns3/named.conf.in
+++ /dev/null
@@ -1,141 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-options {
- query-source address 10.53.0.3;
- notify-source 10.53.0.3;
- transfer-source 10.53.0.3;
- port @PORT@;
- pid-file "named.pid";
- listen-on { 10.53.0.3; };
- listen-on-v6 { none; };
- recursion no;
- notify yes;
-};
-
-/* Root hints. */
-zone "." { type hint; file "hints"; };
-
-/* DLV zone below unsigned TLD. */
-zone "dlv.utld" { type master; file "dlv.utld.signed"; };
-
-/* DLV zone signed with a disabled algorithm below unsigned TLD. */
-zone "disabled-algorithm-dlv.utld." {
- type master;
- file "disabled-algorithm-dlv.utld.signed";
-};
-
-/* DLV zone signed with an unsupported algorithm below unsigned TLD. */
-zone "unsupported-algorithm-dlv.utld." {
- type master;
- file "unsupported-algorithm-dlv.utld.signed";
-};
-
-/* Signed zone below unsigned TLD with DLV entry. */
-zone "child1.utld" { type master; file "child1.signed"; };
-
-/*
- * Signed zone below unsigned TLD with DLV entry in DLV zone that is signed
- * with a disabled algorithm.
- */
-zone "child3.utld" { type master; file "child3.signed"; };
-
-/*
- * Signed zone below unsigned TLD with DLV entry. This one is slightly
- * different because its children (the grandchildren) don't have a DS record in
- * this zone. The grandchild zones are served by ns6.
- *
- */
-zone "child4.utld" { type master; file "child4.signed"; };
-
-/*
- * Signed zone below unsigned TLD with DLV entry in DLV zone that is signed
- * with an unsupported algorithm.
- */
-zone "child5.utld" { type master; file "child5.signed"; };
-
-/* Signed zone below unsigned TLD without DLV entry. */
-zone "child7.utld" { type master; file "child7.signed"; };
-
-/*
- * Signed zone below unsigned TLD without DLV entry and no DS records for the
- * grandchildren.
- */
-zone "child8.utld" { type master; file "child8.signed"; };
-
-/* Signed zone below unsigned TLD with DLV entry. */
-zone "child9.utld" { type master; file "child9.signed"; };
-
-/* Unsigned zone below an unsigned TLD with DLV entry. */
-zone "child10.utld" { type master; file "child.db.in"; };
-
-/*
- * Zone signed with a disabled algorithm (an algorithm that is disabled in
- * one of the test resolvers) with DLV entry.
- */
-zone "disabled-algorithm.utld" {
- type master;
- file "disabled-algorithm.utld.signed";
-};
-
-/* Zone signed with an unsupported algorithm with DLV entry. */
-zone "unsupported-algorithm.utld" {
- type master;
- file "unsupported-algorithm.utld.signed";
-};
-
-/*
- * Signed zone below signed TLD with good DLV entry but no chain of
- * trust.
- */
-zone "child1.druz" { type master; file "child1.druz.signed"; };
-
-/*
- * Signed zone below signed TLD with good DLV entry but no chain of
- * trust. The DLV zone is signed with a disabled algorithm.
- */
-zone "child3.druz" { type master; file "child3.druz.signed"; };
-
-/*
- * Signed zone below signed TLD with good DLV entry but no chain of
- * trust. Also there are no DS records for the grandchildren.
- */
-zone "child4.druz" { type master; file "child4.druz.signed"; };
-
-/*
- * Signed zone below signed TLD with good DLV entry but no chain of
- * trust. The DLV zone is signed with an unsupported algorithm.
- */
-zone "child5.druz" { type master; file "child5.druz.signed"; };
-
-/*
- * Signed zone below signed TLD without DLV entry, and no chain of
- * trust.
- */
-zone "child7.druz" { type master; file "child7.druz.signed"; };
-
-/*
- * Signed zone below signed TLD without DLV entry and no DS set. Also DS
- * records for the grandchildren are not included in the zone.
- */
-zone "child8.druz" { type master; file "child8.druz.signed"; };
-
-/*
- * Signed zone below signed TLD with good DLV entry but no DS set. Also DS
- * records for the grandchildren are not included in the zone.
- */
-zone "child9.druz" { type master; file "child9.druz.signed"; };
-
-/*
- * Unsigned zone below signed TLD with good DLV entry but no chain of
- * trust.
- */
-zone "child10.druz" { type master; file "child.db.in"; };
diff --git a/bin/tests/system/dlv/ns3/sign.sh b/bin/tests/system/dlv/ns3/sign.sh
deleted file mode 100755
index 3c8fbdc5d0..0000000000
--- a/bin/tests/system/dlv/ns3/sign.sh
+++ /dev/null
@@ -1,397 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-SYSTEMTESTTOP=../..
-. $SYSTEMTESTTOP/conf.sh
-
-(cd ../ns6 && $SHELL -e ./sign.sh)
-
-echo_i "dlv/ns3/sign.sh"
-
-dlvzone="dlv.utld"
-dlvsets=
-dssets=
-
-disableddlvzone="disabled-algorithm-dlv.utld"
-disableddlvsets=
-disableddssets=
-
-unsupporteddlvzone="unsupported-algorithm-dlv.utld"
-unsupporteddlvsets=
-unsupporteddssets=
-
-# Signed zone below unsigned TLD with DLV entry.
-zone=child1.utld
-infile=child.db.in
-zonefile=child1.utld.db
-outfile=child1.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-dsfilename=../ns6/dsset-grand.${zone}${TP}
-cat $infile $keyname1.key $keyname2.key $dsfilename >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below unsigned TLD with DLV entry in DLV zone that is signed
-# with a disabled algorithm.
-zone=child3.utld
-infile=child.db.in
-zonefile=child3.utld.db
-outfile=child3.signed
-disableddlvsets="$disableddlvsets dlvset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-dsfilename=../ns6/dsset-grand.${zone}${TP}
-cat $infile $keyname1.key $keyname2.key $dsfilename >$zonefile
-
-$SIGNER -O full -l $disableddlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below unsigned TLD with DLV entry. This one is slightly
-# different because its children (the grandchildren) don't have a DS record in
-# this zone. The grandchild zones are served by ns6.
-zone=child4.utld
-infile=child.db.in
-zonefile=child4.utld.db
-outfile=child4.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below unsigned TLD with DLV entry in DLV zone that is signed
-# with an unsupported algorithm.
-zone=child5.utld
-infile=child.db.in
-zonefile=child5.utld.db
-outfile=child5.signed
-unsupporteddlvsets="$unsupporteddlvsets dlvset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-dsfilename=../ns6/dsset-grand.${zone}${TP}
-cat $infile $keyname1.key $keyname2.key $dsfilename >$zonefile
-
-$SIGNER -O full -l $unsupporteddlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-# Signed zone below unsigned TLD without DLV entry.
-zone=child7.utld
-infile=child.db.in
-zonefile=child7.utld.db
-outfile=child7.signed
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-dsfilename=../ns6/dsset-grand.${zone}${TP}
-cat $infile $keyname1.key $keyname2.key $dsfilename >$zonefile
-
-$SIGNER -O full -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below unsigned TLD without DLV entry and no DS records for the
-# grandchildren.
-zone=child8.utld
-infile=child.db.in
-zonefile=child8.utld.db
-outfile=child8.signed
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-# Signed zone below unsigned TLD with DLV entry.
-zone=child9.utld
-infile=child.db.in
-zonefile=child9.utld.db
-outfile=child9.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-# Unsigned zone below an unsigned TLD with DLV entry. We still need to sign
-# the zone to generate the DLV set.
-zone=child10.utld
-infile=child.db.in
-zonefile=child10.utld.db
-outfile=child10.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Zone signed with a disabled algorithm (an algorithm that is disabled in
-# one of the test resolvers) with DLV entry.
-zone=disabled-algorithm.utld
-infile=child.db.in
-zonefile=disabled-algorithm.utld.db
-outfile=disabled-algorithm.utld.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DISABLED_ALGORITHM -b $DISABLED_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DISABLED_ALGORITHM -b $DISABLED_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f ${outfile} $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Zone signed with an unsupported algorithm with DLV entry.
-zone=unsupported-algorithm.utld
-infile=child.db.in
-zonefile=unsupported-algorithm.utld.db
-outfile=unsupported-algorithm.utld.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f ${outfile}.tmp $zonefile > /dev/null 2> signer.err || cat signer.err
-awk '$4 == "DNSKEY" { $7 = 255 } $4 == "RRSIG" { $6 = 255 } { print }' ${outfile}.tmp > $outfile
-
-cp ${keyname2}.key ${keyname2}.tmp
-awk '$3 == "DNSKEY" { $6 = 255 } { print }' ${keyname2}.tmp > ${keyname2}.key
-cp dlvset-${zone}${TP} dlvset-${zone}tmp
-awk '$3 == "DLV" { $5 = 255 } { print }' dlvset-${zone}tmp > dlvset-${zone}${TP}
-
-echo_i "signed $zone"
-
-# Signed zone below signed TLD with DLV entry and DS set.
-zone=child1.druz
-infile=child.db.in
-zonefile=child1.druz.db
-outfile=child1.druz.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-dssets="$dssets dsset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-dsfilename=../ns6/dsset-grand.${zone}${TP}
-cat $infile $keyname1.key $keyname2.key $dsfilename >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below signed TLD with DLV entry and DS set. The DLV zone is
-# signed with a disabled algorithm.
-zone=child3.druz
-infile=child.db.in
-zonefile=child3.druz.db
-outfile=child3.druz.signed
-disableddlvsets="$disableddlvsets dlvset-${zone}${TP}"
-disableddssets="$disableddssets dsset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-dsfilename=../ns6/dsset-grand.${zone}${TP}
-cat $infile $keyname1.key $keyname2.key $dsfilename >$zonefile
-
-$SIGNER -O full -l $disableddlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below signed TLD with DLV entry and DS set, but missing
-# DS records for the grandchildren.
-zone=child4.druz
-infile=child.db.in
-zonefile=child4.druz.db
-outfile=child4.druz.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-dssets="$dssets dsset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below signed TLD with DLV entry and DS set. The DLV zone is
-# signed with an unsupported algorithm algorithm.
-zone=child5.druz
-infile=child.db.in
-zonefile=child5.druz.db
-outfile=child5.druz.signed
-unsupporteddlvsets="$unsupporteddlvsets dlvset-${zone}${TP}"
-unsupporteddssets="$unsupportedssets dsset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-dsfilename=../ns6/dsset-grand.${zone}${TP}
-cat $infile $keyname1.key $keyname2.key $dsfilename >$zonefile
-
-$SIGNER -O full -l $unsupporteddlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below signed TLD without DLV entry, but with normal DS set.
-zone=child7.druz
-infile=child.db.in
-zonefile=child7.druz.db
-outfile=child7.druz.signed
-dssets="$dssets dsset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-dsfilename=../ns6/dsset-grand.${zone}${TP}
-cat $infile $keyname1.key $keyname2.key $dsfilename >$zonefile
-
-$SIGNER -O full -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below signed TLD without DLV entry and no DS set. Also DS
-# records for the grandchildren are not included in the zone.
-zone=child8.druz
-infile=child.db.in
-zonefile=child8.druz.db
-outfile=child8.druz.signed
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Signed zone below signed TLD with DLV entry but no DS set. Also DS
-# records for the grandchildren are not included in the zone.
-zone=child9.druz
-infile=child.db.in
-zonefile=child9.druz.db
-outfile=child9.druz.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-# Unsigned zone below signed TLD with DLV entry and DS set. We still need to
-# sign the zone to generate the DS sets.
-zone=child10.druz
-infile=child.db.in
-zonefile=child10.druz.db
-outfile=child10.druz.signed
-dlvsets="$dlvsets dlvset-${zone}${TP}"
-dssets="$dssets dsset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -O full -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-cp $dssets ../ns2
-cp $disableddssets ../ns2
-cp $unsupporteddssets ../ns2
-
-# DLV zones
-infile=dlv.db.in
-for zone in dlv.utld disabled-algorithm-dlv.utld unsupported-algorithm-dlv.utld
-do
- zonefile="${zone}.db"
- outfile="${zone}.signed"
-
- case $zone in
- "dlv.utld")
- algorithm=$DEFAULT_ALGORITHM
- bits=$DEFAULT_BITS
- dlvfiles=$dlvsets
- ;;
- "disabled-algorithm-dlv.utld")
- algorithm=$DISABLED_ALGORITHM
- bits=$DISABLED_BITS
- dlvfiles=$disableddlvsets
- ;;
- "unsupported-algorithm-dlv.utld")
- algorithm=$DEFAULT_ALGORITHM
- bits=$DEFAULT_BITS
- dlvfiles=$unsupporteddlvsets
- ;;
- esac
-
- keyname1=`$KEYGEN -a $algorithm -b $bits -n zone $zone 2> /dev/null`
- keyname2=`$KEYGEN -f KSK -a $algorithm -b $bits -n zone $zone 2> /dev/null`
-
- cat $infile $dlvfiles $keyname1.key $keyname2.key >$zonefile
-
- case $zone in
- "dlv.utld")
- $SIGNER -O full -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
- keyfile_to_static_keys $keyname2 > ../ns5/trusted-dlv.conf
- ;;
- "disabled-algorithm-dlv.utld")
- $SIGNER -O full -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
- keyfile_to_static_keys $keyname2 > ../ns8/trusted-dlv-disabled.conf
- ;;
- "unsupported-algorithm-dlv.utld")
- cp ${keyname2}.key ${keyname2}.tmp
- $SIGNER -O full -o $zone -f ${outfile}.tmp $zonefile > /dev/null 2> signer.err || cat signer.err
- awk '$4 == "DNSKEY" { $7 = 255 } $4 == "RRSIG" { $6 = 255 } { print }' ${outfile}.tmp > $outfile
- awk '$3 == "DNSKEY" { $6 = 255 } { print }' ${keyname2}.tmp > ${keyname2}.key
- keyfile_to_static_keys $keyname2 > ../ns7/trusted-dlv-unsupported.conf
- ;;
- esac
-
- echo_i "signed $zone"
-done
diff --git a/bin/tests/system/dlv/ns4/child.db b/bin/tests/system/dlv/ns4/child.db
deleted file mode 100644
index c123f70a95..0000000000
--- a/bin/tests/system/dlv/ns4/child.db
+++ /dev/null
@@ -1,34 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-$TTL 120
-@ SOA ns hostmaster.ns 1 3600 1200 604800 60
-@ NS ns
-ns A 10.53.0.3
-;
-rootservers NS ns.rootservers
-ns.rootservers A 10.53.0.1
-;
-child1 NS ns.child1
-ns.child1 A 10.53.0.3
-;
-child2 NS ns.child2
-ns.child2 A 10.53.0.4
-;
-child3 NS ns.child3
-ns.child3 A 10.53.0.3
-;
-child4 NS ns.child4
-ns.child4 A 10.53.0.3
-;
-child5 NS ns.child5
-ns.child5 A 10.53.0.3
-;
-child6 NS ns.child5
-ns.child6 A 10.53.0.4
diff --git a/bin/tests/system/dlv/ns4/hints b/bin/tests/system/dlv/ns4/hints
deleted file mode 100644
index 381e86b152..0000000000
--- a/bin/tests/system/dlv/ns4/hints
+++ /dev/null
@@ -1,11 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-. 0 NS ns.rootservers.utld.
-ns.rootservers.utld. 0 A 10.53.0.1
diff --git a/bin/tests/system/dlv/ns4/named.conf.in b/bin/tests/system/dlv/ns4/named.conf.in
deleted file mode 100644
index a98dd6b92b..0000000000
--- a/bin/tests/system/dlv/ns4/named.conf.in
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-options {
- query-source address 10.53.0.4;
- notify-source 10.53.0.4;
- transfer-source 10.53.0.4;
- port @PORT@;
- pid-file "named.pid";
- listen-on { 10.53.0.4; };
- listen-on-v6 { none; };
- recursion no;
- notify yes;
-};
-
-zone "." { type hint; file "hints"; };
-zone "child2.utld" { type master; file "child.db"; };
-zone "child6.utld" { type master; file "child.db"; };
diff --git a/bin/tests/system/dlv/ns5/hints b/bin/tests/system/dlv/ns5/hints
deleted file mode 100644
index 381e86b152..0000000000
--- a/bin/tests/system/dlv/ns5/hints
+++ /dev/null
@@ -1,11 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-. 0 NS ns.rootservers.utld.
-ns.rootservers.utld. 0 A 10.53.0.1
diff --git a/bin/tests/system/dlv/ns5/named.conf.in b/bin/tests/system/dlv/ns5/named.conf.in
deleted file mode 100644
index 88ef997771..0000000000
--- a/bin/tests/system/dlv/ns5/named.conf.in
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-include "trusted.conf";
-include "trusted-dlv.conf";
-
-options {
- query-source address 10.53.0.5;
- notify-source 10.53.0.5;
- transfer-source 10.53.0.5;
- port @PORT@;
- pid-file "named.pid";
- listen-on { 10.53.0.5; };
- listen-on-v6 { none; };
- recursion yes;
- notify yes;
- dnssec-validation yes;
- dnssec-lookaside "." trust-anchor "dlv.utld";
- disable-algorithms "utld." { @DISABLED_ALGORITHM@; };
-};
-
-zone "." { type hint; file "hints"; };
diff --git a/bin/tests/system/dlv/ns5/rndc.conf b/bin/tests/system/dlv/ns5/rndc.conf
deleted file mode 100644
index 02bce92708..0000000000
--- a/bin/tests/system/dlv/ns5/rndc.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-key "cc64b3d1db63fc88d7cb5d2f9f57d258" {
- algorithm hmac-sha256;
- secret "34f88008d07deabbe65bd01f1d233d47";
-};
-
-options {
- default-server 10.53.0.5;
- default-port 5353;
-};
diff --git a/bin/tests/system/dlv/ns6/child.db.in b/bin/tests/system/dlv/ns6/child.db.in
deleted file mode 100644
index 09a942ed5f..0000000000
--- a/bin/tests/system/dlv/ns6/child.db.in
+++ /dev/null
@@ -1,15 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-$TTL 120
-@ SOA ns hostmaster.ns6 1 3600 1200 604800 60
-@ NS ns
-ns A 10.53.0.6
-foo TXT foo
-bar TXT bar
diff --git a/bin/tests/system/dlv/ns6/hints b/bin/tests/system/dlv/ns6/hints
deleted file mode 100644
index 381e86b152..0000000000
--- a/bin/tests/system/dlv/ns6/hints
+++ /dev/null
@@ -1,11 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-. 0 NS ns.rootservers.utld.
-ns.rootservers.utld. 0 A 10.53.0.1
diff --git a/bin/tests/system/dlv/ns6/named.conf.in b/bin/tests/system/dlv/ns6/named.conf.in
deleted file mode 100644
index 15583c2a4c..0000000000
--- a/bin/tests/system/dlv/ns6/named.conf.in
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-options {
- query-source address 10.53.0.6;
- notify-source 10.53.0.6;
- transfer-source 10.53.0.6;
- port @PORT@;
- pid-file "named.pid";
- listen-on { 10.53.0.6; };
- listen-on-v6 { none; };
- recursion no;
- notify yes;
-};
-
-zone "." { type hint; file "hints"; };
-zone "grand.child1.utld" { type master; file "grand.child1.signed"; };
-zone "grand.child3.utld" { type master; file "grand.child3.signed"; };
-zone "grand.child4.utld" { type master; file "grand.child4.signed"; };
-zone "grand.child5.utld" { type master; file "grand.child5.signed"; };
-zone "grand.child7.utld" { type master; file "grand.child7.signed"; };
-zone "grand.child8.utld" { type master; file "grand.child8.signed"; };
-zone "grand.child9.utld" { type master; file "grand.child9.signed"; };
-zone "grand.child10.utld" { type master; file "grand.child10.signed"; };
-zone "grand.child1.druz" { type master; file "grand.child1.druz.signed"; };
-zone "grand.child3.druz" { type master; file "grand.child3.druz.signed"; };
-zone "grand.child4.druz" { type master; file "grand.child4.druz.signed"; };
-zone "grand.child5.druz" { type master; file "grand.child5.druz.signed"; };
-zone "grand.child7.druz" { type master; file "grand.child7.druz.signed"; };
-zone "grand.child8.druz" { type master; file "grand.child8.druz.signed"; };
-zone "grand.child9.druz" { type master; file "grand.child9.druz.signed"; };
-zone "grand.child10.druz" { type master; file "grand.child10.druz.signed"; };
diff --git a/bin/tests/system/dlv/ns6/sign.sh b/bin/tests/system/dlv/ns6/sign.sh
deleted file mode 100755
index 65f5f5d42b..0000000000
--- a/bin/tests/system/dlv/ns6/sign.sh
+++ /dev/null
@@ -1,251 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-SYSTEMTESTTOP=../..
-. $SYSTEMTESTTOP/conf.sh
-
-SYSTESTDIR=dlv
-
-echo_i "dlv/ns6/sign.sh"
-
-zone=grand.child1.utld.
-infile=child.db.in
-zonefile=grand.child1.utld.db
-outfile=grand.child1.signed
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child3.utld.
-infile=child.db.in
-zonefile=grand.child3.utld.db
-outfile=grand.child3.signed
-dlvzone=dlv.utld.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child4.utld.
-infile=child.db.in
-zonefile=grand.child4.utld.db
-outfile=grand.child4.signed
-dlvzone=dlv.utld.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child5.utld.
-infile=child.db.in
-zonefile=grand.child5.utld.db
-outfile=grand.child5.signed
-dlvzone=dlv.utld.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child7.utld.
-infile=child.db.in
-zonefile=grand.child7.utld.db
-outfile=grand.child7.signed
-dlvzone=dlv.utld.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child8.utld.
-infile=child.db.in
-zonefile=grand.child8.utld.db
-outfile=grand.child8.signed
-dlvzone=dlv.utld.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child9.utld.
-infile=child.db.in
-zonefile=grand.child9.utld.db
-outfile=grand.child9.signed
-dlvzone=dlv.utld.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-zone=grand.child10.utld.
-infile=child.db.in
-zonefile=grand.child10.utld.db
-outfile=grand.child10.signed
-dlvzone=dlv.utld.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-zone=grand.child1.druz.
-infile=child.db.in
-zonefile=grand.child1.druz.db
-outfile=grand.child1.druz.signed
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child3.druz.
-infile=child.db.in
-zonefile=grand.child3.druz.db
-outfile=grand.child3.druz.signed
-dlvzone=dlv.druz.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child4.druz.
-infile=child.db.in
-zonefile=grand.child4.druz.db
-outfile=grand.child4.druz.signed
-dlvzone=dlv.druz.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child5.druz.
-infile=child.db.in
-zonefile=grand.child5.druz.db
-outfile=grand.child5.druz.signed
-dlvzone=dlv.druz.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child7.druz.
-infile=child.db.in
-zonefile=grand.child7.druz.db
-outfile=grand.child7.druz.signed
-dlvzone=dlv.druz.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child8.druz.
-infile=child.db.in
-zonefile=grand.child8.druz.db
-outfile=grand.child8.druz.signed
-dlvzone=dlv.druz.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-
-zone=grand.child9.druz.
-infile=child.db.in
-zonefile=grand.child9.druz.db
-outfile=grand.child9.druz.signed
-dlvzone=dlv.druz.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
-zone=grand.child10.druz.
-infile=child.db.in
-zonefile=grand.child10.druz.db
-outfile=grand.child10.druz.signed
-dlvzone=dlv.druz.
-
-keyname1=`$KEYGEN -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key >$zonefile
-
-$SIGNER -g -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
diff --git a/bin/tests/system/dlv/ns7/hints b/bin/tests/system/dlv/ns7/hints
deleted file mode 100644
index cdf0f26f78..0000000000
--- a/bin/tests/system/dlv/ns7/hints
+++ /dev/null
@@ -1,12 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-. 0 NS ns.rootservers.utld.
-ns.rootservers.utld. 0 A 10.53.0.1
-
diff --git a/bin/tests/system/dlv/ns7/named.conf.in b/bin/tests/system/dlv/ns7/named.conf.in
deleted file mode 100644
index fd9c7c8aaa..0000000000
--- a/bin/tests/system/dlv/ns7/named.conf.in
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-include "trusted.conf";
-include "trusted-dlv-unsupported.conf";
-
-options {
- query-source address 10.53.0.7;
- notify-source 10.53.0.7;
- transfer-source 10.53.0.7;
- port @PORT@;
- pid-file "named.pid";
- listen-on { 10.53.0.7; };
- listen-on-v6 { none; };
- recursion yes;
- notify yes;
- dnssec-enable yes;
- dnssec-validation yes;
- dnssec-lookaside "." trust-anchor "unsupported-algorithm-dlv.utld";
-};
-
-zone "." { type hint; file "hints"; };
-
diff --git a/bin/tests/system/dlv/ns8/hints b/bin/tests/system/dlv/ns8/hints
deleted file mode 100644
index cdf0f26f78..0000000000
--- a/bin/tests/system/dlv/ns8/hints
+++ /dev/null
@@ -1,12 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-. 0 NS ns.rootservers.utld.
-ns.rootservers.utld. 0 A 10.53.0.1
-
diff --git a/bin/tests/system/dlv/ns8/named.conf.in b/bin/tests/system/dlv/ns8/named.conf.in
deleted file mode 100644
index 6e58019fe1..0000000000
--- a/bin/tests/system/dlv/ns8/named.conf.in
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-include "trusted.conf";
-include "trusted-dlv-disabled.conf";
-
-options {
- query-source address 10.53.0.8;
- notify-source 10.53.0.8;
- transfer-source 10.53.0.8;
- port @PORT@;
- pid-file "named.pid";
- listen-on { 10.53.0.8; };
- listen-on-v6 { none; };
- recursion yes;
- notify yes;
- dnssec-enable yes;
- dnssec-validation yes;
- dnssec-lookaside "." trust-anchor "disabled-algorithm-dlv.utld";
- disable-algorithms "disabled-algorithm-dlv.utld." { @DISABLED_ALGORITHM@; };
-};
-
-zone "." { type hint; file "hints"; };
-
diff --git a/bin/tests/system/dlv/setup.sh b/bin/tests/system/dlv/setup.sh
deleted file mode 100644
index e1bd565745..0000000000
--- a/bin/tests/system/dlv/setup.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-SYSTEMTESTTOP=..
-. $SYSTEMTESTTOP/conf.sh
-
-$SHELL clean.sh
-
-copy_setports ns1/named.conf.in ns1/named.conf
-copy_setports ns2/named.conf.in ns2/named.conf
-copy_setports ns3/named.conf.in ns3/named.conf
-copy_setports ns4/named.conf.in ns4/named.conf
-copy_setports ns5/named.conf.in ns5/named.conf
-copy_setports ns6/named.conf.in ns6/named.conf
-copy_setports ns7/named.conf.in ns7/named.conf
-copy_setports ns8/named.conf.in ns8/named.conf
-
-(cd ns1 && $SHELL -e sign.sh)
diff --git a/bin/tests/system/dlv/tests.sh b/bin/tests/system/dlv/tests.sh
deleted file mode 100644
index a3046303a7..0000000000
--- a/bin/tests/system/dlv/tests.sh
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-SYSTEMTESTTOP=..
-. $SYSTEMTESTTOP/conf.sh
-
-status=0
-n=0
-
-rm -f dig.out.*
-
-DIGOPTS="+tcp +noadd +nosea +nostat +nocmd +dnssec -p ${PORT}"
-
-echo_i "checking that unsigned TLD zone DNSKEY referenced by DLV validates as secure ($n)"
-ret=0
-$DIG $DIGOPTS child1.utld dnskey @10.53.0.5 > dig.out.ns5.test$n || ret=1
-grep "status: NOERROR" dig.out.ns5.test$n > /dev/null || ret=1
-grep "flags:.*ad.*QUERY" dig.out.ns5.test$n > /dev/null || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-echo_i "checking that unsigned TLD child zone DNSKEY referenced by DLV validates as secure ($n)"
-ret=0
-$DIG $DIGOPTS grand.child1.utld dnskey @10.53.0.5 > dig.out.ns5.test$n || ret=1
-grep "status: NOERROR" dig.out.ns5.test$n > /dev/null || ret=1
-grep "flags:.*ad.*QUERY" dig.out.ns5.test$n > /dev/null || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-echo_i "checking that no chain of trust SOA referenced by DLV validates as secure ($n)"
-ret=0
-$DIG $DIGOPTS child1.druz soa @10.53.0.5 > dig.out.ns5.test$n || ret=1
-grep "status: NOERROR" dig.out.ns5.test$n > /dev/null || ret=1
-grep "flags:.*ad.*QUERY" dig.out.ns5.test$n > /dev/null || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-echo_i "checking that no chain of trust child SOA referenced by DLV validates as secure ($n)"
-ret=0
-$DIG $DIGOPTS grand.child1.druz soa @10.53.0.5 > dig.out.ns5.test$n || ret=1
-grep "status: NOERROR" dig.out.ns5.test$n > /dev/null || ret=1
-grep "flags:.*ad.*QUERY" dig.out.ns5.test$n > /dev/null || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-# Test that a child zone that is signed with an unsupported algorithm,
-# referenced by a good DLV zone, yields an insecure response.
-echo_i "checking that unsupported algorithm TXT referenced by DLV validates as insecure ($n)"
-ret=0
-$DIG $DIGOPTS foo.unsupported-algorithm.utld txt @10.53.0.3 > dig.out.ns3.test$n || ret=1
-$DIG $DIGOPTS foo.unsupported-algorithm.utld txt @10.53.0.5 > dig.out.ns5.test$n || ret=1
-grep "status: NOERROR" dig.out.ns5.test$n > /dev/null || ret=1
-grep "flags:.*ad.*QUERY" dig.out.ns5.test$n > /dev/null && ret=1
-grep -q "foo\.unsupported-algorithm\.utld\..*TXT.*\"foo\"" dig.out.ns5.test$n || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-# Test that a child zone that is signed with a disabled algorithm,
-# referenced by a good DLV zone, yields an insecure response.
-echo_i "checking that disabled algorithm TXT referenced by DLV validates as insecure ($n)"
-ret=0
-$DIG $DIGOPTS foo.disabled-algorithm.utld txt @10.53.0.3 > dig.out.ns3.test$n || ret=1
-$DIG $DIGOPTS foo.disabled-algorithm.utld txt @10.53.0.5 > dig.out.ns5.test$n || ret=1
-grep "status: NOERROR" dig.out.ns5.test$n > /dev/null || ret=1
-grep "flags:.*ad.*QUERY" dig.out.ns5.test$n > /dev/null && ret=1
-grep -q "foo\.disabled-algorithm\.utld\..*TXT.*\"foo\"" dig.out.ns5.test$n || ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-# Test that a child zone that is signed with a known algorithm, referenced by
-# a DLV zone that is signed with a disabled algorithm, yields a bogus
-# response.
-echo_i "checking that good signed TXT referenced by disabled algorithm DLV validates as bogus ($n)"
-ret=0
-$DIG $DIGOPTS foo.child3.utld txt @10.53.0.8 > dig.out.ns8.test$n || ret=1
-grep "status: SERVFAIL" dig.out.ns8.test$n > /dev/null || ret=1
-grep "flags:.*ad.*QUERY" dig.out.ns8.test$n > /dev/null && ret=1
-grep -q "foo\.child3\.utld\..*TXT.*\"foo\"" dig.out.ns8.test$n && ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-# Test that a child zone that is signed with a known algorithm, referenced by
-# a DLV zone that is signed with an unsupported algorithm, yields a bogus
-# response.
-echo_i "checking that good signed TXT referenced by unsupported algorithm DLV validates as bogus ($n)"
-ret=0
-$DIG $DIGOPTS foo.child5.utld txt @10.53.0.7 > dig.out.ns7.test$n || ret=1
-grep "status: SERVFAIL" dig.out.ns7.test$n > /dev/null || ret=1
-grep "flags:.*ad.*QUERY" dig.out.ns7.test$n > /dev/null && ret=1
-grep -q "foo\.child5\.utld\..*TXT.*\"foo\"" dig.out.ns7.test$n && ret=1
-n=`expr $n + 1`
-if [ $ret != 0 ]; then echo_i "failed"; fi
-status=`expr $status + $ret`
-
-echo_i "exit status: $status"
-[ $status -eq 0 ] || exit 1
diff --git a/bin/tests/system/dnssec/README b/bin/tests/system/dnssec/README
index df83eb14e2..ecc503a780 100644
--- a/bin/tests/system/dnssec/README
+++ b/bin/tests/system/dnssec/README
@@ -14,9 +14,12 @@ for the root.
ns5 is a caching-only server, configured with the an incorrect trusted
key for the root. It is used for testing failure cases.
-ns6 is a caching-only server configured to use DLV.
+ns6 is an caching and authoritative server used for testing unusual
+server behaviors such as disabled DNSSEC algorithms.
ns7 is used for checking non-cacheable answers.
ns8 is a caching-only server, configured with unsupported and disabled
algorithms. It is used for testing failure cases.
+
+ns9 is a forwarding-only server.
diff --git a/bin/tests/system/dnssec/clean.sh b/bin/tests/system/dnssec/clean.sh
index bee3bbfd62..6745d436d2 100644
--- a/bin/tests/system/dnssec/clean.sh
+++ b/bin/tests/system/dnssec/clean.sh
@@ -11,7 +11,7 @@
set -e
-rm -f ./*/K* ./*/keyset-* ./*/dsset-* ./*/dlvset-* ./*/signedkey-* ./*/*.signed
+rm -f ./*/K* ./*/keyset-* ./*/dsset-* ./*/signedkey-* ./*/*.signed
rm -f ./*/example.bk
rm -f ./*/named.conf
rm -f ./*/named.memstats
@@ -44,10 +44,8 @@ rm -f ./ns2/cds-auto.secure.db ./ns2/cds-auto.secure.db.jnl
rm -f ./ns2/cds-kskonly.secure.db
rm -f ./ns2/cds-update.secure.db ./ns2/cds-update.secure.db.jnl
rm -f ./ns2/cds.secure.db ./ns2/cds-x.secure.db
-rm -f ./ns2/dlv.db
rm -f ./ns2/in-addr.arpa.db
rm -f ./ns2/nsec3chain-test.db
-rm -f ./ns2/private.secure.example.db
rm -f ./ns2/single-nsec3.db
rm -f ./ns2/updatecheck-kskonly.secure.*
rm -f ./ns3/secure.example.db ./ns3/*.managed.db ./ns3/*.trusted.db
diff --git a/bin/tests/system/dnssec/ns1/root.db.in b/bin/tests/system/dnssec/ns1/root.db.in
index 7fdbab9c4e..a446619cae 100644
--- a/bin/tests/system/dnssec/ns1/root.db.in
+++ b/bin/tests/system/dnssec/ns1/root.db.in
@@ -20,8 +20,6 @@ a.root-servers.nil. A 10.53.0.1
example. NS ns2.example.
ns2.example. A 10.53.0.2
-dlv. NS ns2.dlv.
-ns2.dlv. A 10.53.0.2
algroll. NS ns2.algroll.
ns2.algroll. A 10.53.0.2
managed. NS ns2.managed.
diff --git a/bin/tests/system/dnssec/ns1/sign.sh b/bin/tests/system/dnssec/ns1/sign.sh
index 631411a9f2..385d3100a7 100644
--- a/bin/tests/system/dnssec/ns1/sign.sh
+++ b/bin/tests/system/dnssec/ns1/sign.sh
@@ -25,7 +25,6 @@ zonefile=root.db
echo_i "ns1/sign.sh"
cp "../ns2/dsset-example$TP" .
-cp "../ns2/dsset-dlv$TP" .
cp "../ns2/dsset-in-addr.arpa$TP" .
grep "$DEFAULT_ALGORITHM_NUMBER [12] " "../ns2/dsset-algroll$TP" > "dsset-algroll$TP"
diff --git a/bin/tests/system/dnssec/ns2/dlv.db.in b/bin/tests/system/dnssec/ns2/dlv.db.in
deleted file mode 100644
index 836359dc56..0000000000
--- a/bin/tests/system/dnssec/ns2/dlv.db.in
+++ /dev/null
@@ -1,19 +0,0 @@
-; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
-;
-; See the COPYRIGHT file distributed with this work for additional
-; information regarding copyright ownership.
-
-$TTL 300 ; 5 minutes
-@ IN SOA mname1. . (
- 2000042407 ; serial
- 20 ; refresh (20 seconds)
- 20 ; retry (20 seconds)
- 1814400 ; expire (3 weeks)
- 3600 ; minimum (1 hour)
- )
- NS ns2
-ns2 A 10.53.0.2
diff --git a/bin/tests/system/dnssec/ns2/named.conf.in b/bin/tests/system/dnssec/ns2/named.conf.in
index 7a4bcf0cdc..ebef86da9c 100644
--- a/bin/tests/system/dnssec/ns2/named.conf.in
+++ b/bin/tests/system/dnssec/ns2/named.conf.in
@@ -40,11 +40,6 @@ zone "." {
file "../../common/root.hint";
};
-zone "dlv" {
- type master;
- file "dlv.db.signed";
-};
-
zone "trusted" {
type master;
file "trusted.db.signed";
@@ -61,12 +56,6 @@ zone "example" {
allow-update { any; };
};
-zone "private.secure.example" {
- type master;
- file "private.secure.example.db.signed";
- allow-update { any; };
-};
-
zone "insecure.secure.example" {
type master;
file "insecure.secure.example.db";
diff --git a/bin/tests/system/dnssec/ns2/sign.sh b/bin/tests/system/dnssec/ns2/sign.sh
index c90f620e86..7413d7e3e1 100644
--- a/bin/tests/system/dnssec/ns2/sign.sh
+++ b/bin/tests/system/dnssec/ns2/sign.sh
@@ -136,31 +136,6 @@ keyname2=$("$KEYGEN" -q -a "$DEFAULT_ALGORITHM" -b "$DEFAULT_BITS" -n zone "$zon
cat "$infile" "$keyname1.key" "$keyname2.key" > "$zonefile"
"$SIGNER" -P -g -o "$zone" -k "$keyname1" "$zonefile" "$keyname2" > /dev/null 2>&1
-# Sign the privately secure file
-
-privzone=private.secure.example
-privinfile=private.secure.example.db.in
-privzonefile=private.secure.example.db
-
-privkeyname=$("$KEYGEN" -q -a "${DEFAULT_ALGORITHM}" -b "${DEFAULT_BITS}" -n zone "$privzone")
-
-cat "$privinfile" "$privkeyname.key" > "$privzonefile"
-
-"$SIGNER" -P -g -o "$privzone" -l dlv "$privzonefile" > /dev/null 2>&1
-
-# Sign the DLV secure zone.
-
-dlvzone=dlv.
-dlvinfile=dlv.db.in
-dlvzonefile=dlv.db
-dlvsetfile="dlvset-${privzone}${TP}"
-
-dlvkeyname=$("$KEYGEN" -q -a "${DEFAULT_ALGORITHM}" -b "${DEFAULT_BITS}" -n zone "$dlvzone")
-
-cat "$dlvinfile" "$dlvkeyname.key" "$dlvsetfile" > "$dlvzonefile"
-
-"$SIGNER" -P -g -o "$dlvzone" "$dlvzonefile" > /dev/null 2>&1
-
# Sign the badparam secure file
zone=badparam.
diff --git a/bin/tests/system/dnssec/ns6/named.conf.in b/bin/tests/system/dnssec/ns6/named.conf.in
index 61a7cce5a4..29279c2f98 100644
--- a/bin/tests/system/dnssec/ns6/named.conf.in
+++ b/bin/tests/system/dnssec/ns6/named.conf.in
@@ -23,7 +23,6 @@ options {
notify yes;
disable-algorithms . { @ALTERNATIVE_ALGORITHM@; };
dnssec-validation yes;
- dnssec-lookaside . trust-anchor dlv;
};
zone "." {
diff --git a/bin/tests/system/dnssec/tests.sh b/bin/tests/system/dnssec/tests.sh
index 243b0a6426..54be389d55 100644
--- a/bin/tests/system/dnssec/tests.sh
+++ b/bin/tests/system/dnssec/tests.sh
@@ -1212,34 +1212,6 @@ n=$((n+1))
test "$ret" -eq 0 || echo_i "failed"
status=$((status+ret))
-echo_i "checking that positive validation in a privately secure zone works ($n)"
-ret=0
-dig_with_opts +noauth a.private.secure.example. a @10.53.0.2 \
- > dig.out.ns2.test$n || ret=1
-dig_with_opts +noauth a.private.secure.example. a @10.53.0.4 \
- > dig.out.ns4.test$n || ret=1
-digcomp dig.out.ns2.test$n dig.out.ns4.test$n || ret=1
-grep "NOERROR" dig.out.ns4.test$n > /dev/null || ret=1
-# Note - this is looking for failure, hence the &&
-grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null && ret=1
-n=$((n+1))
-test "$ret" -eq 0 || echo_i "failed"
-status=$((status+ret))
-
-echo_i "checking that negative validation in a privately secure zone works ($n)"
-ret=0
-dig_with_opts +noauth q.private.secure.example. a @10.53.0.2 \
- > dig.out.ns2.test$n || ret=1
-dig_with_opts +noauth q.private.secure.example. a @10.53.0.4 \
- > dig.out.ns4.test$n || ret=1
-digcomp dig.out.ns2.test$n dig.out.ns4.test$n || ret=1
-grep "NXDOMAIN" dig.out.ns4.test$n > /dev/null || ret=1
-# Note - this is looking for failure, hence the &&
-grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null && ret=1
-n=$((n+1))
-test "$ret" -eq 0 || echo_i "failed"
-status=$((status+ret))
-
echo_i "checking that lookups succeed after disabling an algorithm ($n)"
ret=0
dig_with_opts +noauth example. SOA @10.53.0.2 \
@@ -1253,28 +1225,6 @@ n=$((n+1))
test "$ret" -eq 0 || echo_i "failed"
status=$((status+ret))
-echo_i "checking privately secure to nxdomain works ($n)"
-ret=0
-dig_with_opts +noauth private2secure-nxdomain.private.secure.example. SOA @10.53.0.4 \
- > dig.out.ns4.test$n || ret=1
-grep "NXDOMAIN" dig.out.ns4.test$n > /dev/null || ret=1
-# Note - this is looking for failure, hence the &&
-grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null && ret=1
-n=$((n+1))
-test "$ret" -eq 0 || echo_i "failed"
-status=$((status+ret))
-
-echo_i "checking privately secure wildcard to nxdomain works ($n)"
-ret=0
-dig_with_opts +noauth a.wild.private.secure.example. SOA @10.53.0.4 \
- > dig.out.ns4.test$n || ret=1
-grep "NXDOMAIN" dig.out.ns4.test$n > /dev/null || ret=1
-# Note - this is looking for failure, hence the &&
-grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null && ret=1
-n=$((n+1))
-test "$ret" -eq 0 || echo_i "failed"
-status=$((status+ret))
-
echo_i "checking a non-cachable NODATA works ($n)"
ret=0
dig_with_opts +noauth a.nosoa.secure.example. txt @10.53.0.7 \
@@ -1299,21 +1249,6 @@ n=$((n+1))
test "$ret" -eq 0 || echo_i "failed"
status=$((status+ret))
-#
-# private.secure.example is served by the same server as its
-# grand parent and there is not a secure delegation from secure.example
-# to private.secure.example. In addition secure.example is using a
-# algorithm which the validation does not support.
-#
-echo_i "checking dnssec-lookaside-validation works ($n)"
-ret=0
-dig_with_opts private.secure.example. SOA @10.53.0.6 \
- > dig.out.ns6.test$n || ret=1
-grep "flags:.*ad.*QUERY" dig.out.ns6.test$n > /dev/null || ret=1
-n=$((n+1))
-test "$ret" -eq 0 || echo_i "failed"
-status=$((status+ret))
-
echo_i "checking that we can load a rfc2535 signed zone ($n)"
ret=0
dig_with_opts rfc2535.example. SOA @10.53.0.2 \
@@ -2433,7 +2368,7 @@ status=$((status+ret))
echo_i "checking that DS at a RFC 1918 empty zone lookup succeeds ($n)"
ret=0
dig_with_opts +noauth 10.in-addr.arpa ds @10.53.0.2 >dig.out.ns2.test$n || ret=1
-dig_with_opts +noauth 10.in-addr.arpa ds @10.53.0.6 >dig.out.ns6.test$n || ret=1
+dig_with_opts +noauth 10.in-addr.arpa ds @10.53.0.4 >dig.out.ns6.test$n || ret=1
digcomp dig.out.ns2.test$n dig.out.ns6.test$n || ret=1
grep "status: NOERROR" dig.out.ns6.test$n > /dev/null || ret=1
n=$((n+1))
diff --git a/bin/tests/system/filter-aaaa/ns1/sign.sh b/bin/tests/system/filter-aaaa/ns1/sign.sh
index b1b17e1a9d..44e27ed488 100755
--- a/bin/tests/system/filter-aaaa/ns1/sign.sh
+++ b/bin/tests/system/filter-aaaa/ns1/sign.sh
@@ -14,8 +14,6 @@ SYSTEMTESTTOP=../..
SYSTESTDIR=filter-aaaa
-dlvsets=
-
zone=signed.
infile=signed.db.in
zonefile=signed.db.signed
diff --git a/bin/tests/system/filter-aaaa/ns4/sign.sh b/bin/tests/system/filter-aaaa/ns4/sign.sh
index 20cc4a3f1b..a5019690b2 100755
--- a/bin/tests/system/filter-aaaa/ns4/sign.sh
+++ b/bin/tests/system/filter-aaaa/ns4/sign.sh
@@ -14,8 +14,6 @@ SYSTEMTESTTOP=../..
SYSTESTDIR=filter-aaaa
-dlvsets=
-
zone=signed.
infile=signed.db.in
zonefile=signed.db.signed
diff --git a/bin/tests/system/wildcard/ns1/named.conf.in b/bin/tests/system/wildcard/ns1/named.conf.in
index 092ae79fde..bfe8251c40 100644
--- a/bin/tests/system/wildcard/ns1/named.conf.in
+++ b/bin/tests/system/wildcard/ns1/named.conf.in
@@ -24,8 +24,6 @@ options {
zone "." { type master; file "root.db.signed"; };
-zone "dlv" { type master; file "dlv.db.signed"; };
-
zone "nsec" { type master; file "nsec.db.signed"; };
zone "private.nsec" { type master; file "private.nsec.db.signed"; };
diff --git a/bin/tests/system/wildcard/ns1/root.db.in b/bin/tests/system/wildcard/ns1/root.db.in
index 493140f203..3fcc8a11e1 100644
--- a/bin/tests/system/wildcard/ns1/root.db.in
+++ b/bin/tests/system/wildcard/ns1/root.db.in
@@ -11,6 +11,5 @@ $TTL 120
@ SOA a.root-servers.nil hostmaster.root-servers.nil 1 1800 900 604800 86400
@ NS a.root-servers.nil
a.root-servers.nil A 10.53.0.1
-dlv NS a.root-servers.nil
nsec NS a.root-servers.nil
nsec3 NS a.root-servers.nil
diff --git a/bin/tests/system/wildcard/ns1/sign.sh b/bin/tests/system/wildcard/ns1/sign.sh
index de80eb7922..b89331ce3e 100755
--- a/bin/tests/system/wildcard/ns1/sign.sh
+++ b/bin/tests/system/wildcard/ns1/sign.sh
@@ -16,20 +16,6 @@ SYSTESTDIR=wildcard
dssets=
-zone=dlv
-infile=dlv.db.in
-zonefile=dlv.db
-outfile=dlv.db.signed
-dssets="$dssets dsset-${zone}${TP}"
-
-keyname1=`$KEYGEN -a RSASHA1 -b 1024 -n zone $zone 2> /dev/null`
-keyname2=`$KEYGEN -f KSK -a RSASHA1 -b 1024 -n zone $zone 2> /dev/null`
-
-cat $infile $keyname1.key $keyname2.key > $zonefile
-
-$SIGNER -o $zone -f $outfile $zonefile > /dev/null 2> signer.err || cat signer.err
-echo_i "signed $zone"
-
zone=nsec
infile=nsec.db.in
zonefile=nsec.db
diff --git a/bin/tests/system/wildcard/ns5/named.conf.in b/bin/tests/system/wildcard/ns5/named.conf.in
index c54ed2ea19..abe2d5d020 100644
--- a/bin/tests/system/wildcard/ns5/named.conf.in
+++ b/bin/tests/system/wildcard/ns5/named.conf.in
@@ -20,7 +20,6 @@ options {
recursion yes;
dnssec-validation yes;
notify yes;
- dnssec-lookaside . trust-anchor dlv;
};
include "../ns1/trusted.conf";
diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml
index 09dca7f4c1..749a3bb4bc 100644
--- a/doc/arm/Bv9ARM-book.xml
+++ b/doc/arm/Bv9ARM-book.xml
@@ -2184,11 +2184,11 @@ allow-update { !{ !localnets; any; }; key host1-host2. ;};
dnssec-signzone
- will also produce a keyset and dsset files and optionally a
- dlvset file. These are used to provide the parent zone
- administrators with the DNSKEYs (or their
- corresponding DS records) that are the
- secure entry point to the zone.
+ will also produce a keyset and dsset files. These are used
+ to provide the parent zone administrators with the
+ DNSKEYs (or their corresponding
+ DS records) that are the secure entry
+ point to the zone.
@@ -5069,7 +5069,7 @@ options {
disable-ds-digests
- Disable the specified DS/DLV digest types at and below the
+ Disable the specified DS digest types at and below the
specified name.
Multiple disable-ds-digests
statements are allowed.
@@ -5084,40 +5084,6 @@ options {
-
- dnssec-lookaside
-
-
- When set, dnssec-lookaside provides the
- validator with an alternate method to validate DNSKEY
- records at the top of a zone. When a DNSKEY is at or
- below a domain specified by the deepest
- dnssec-lookaside, and the normal DNSSEC
- validation has left the key untrusted, the trust-anchor
- will be appended to the key name and a DLV record will be
- looked up to see if it can validate the key. If the DLV
- record validates a DNSKEY (similarly to the way a DS
- record does) the DNSKEY RRset is deemed to be trusted.
-
-
- If dnssec-lookaside is set to
- no, then dnssec-lookaside
- is not used.
-
-
- This option is deprecated and its use is discouraged.
-
-
- NOTE: The ISC-provided DLV service at
- dlv.isc.org, has been shut down.
- The dnssec-lookaside auto;
- configuration option, which set named
- up to use ISC DLV with minimal configuration, has
- accordingly been removed.
-
-
-
-
dnssec-must-be-secure
@@ -13338,7 +13304,7 @@ view external {
- A DNS Look-aside Validation record which contains
+ A DNS Lookaside Validation record which contains
the records that are used as trust anchors for
zones in a DLV namespace. Described in RFC 4431.
diff --git a/doc/arm/notes.xml b/doc/arm/notes.xml
index 38b250662e..231d6fa66e 100644
--- a/doc/arm/notes.xml
+++ b/doc/arm/notes.xml
@@ -204,8 +204,13 @@
- The dnssec-lookaside option has been deprecated.
- The feature still works, but it is discouraged to use it. [GL #7]
+ DNSSEC Lookaside Validation (DLV) is now obsolete.
+ The dnssec-lookaside option has been
+ marked as deprecated; when used in named.conf,
+ it will generate a warning but will otherwise be ignored.
+ All code enabling the use of lookaside validation has been removed
+ from the validator, delv, and the DNSSEC tools.
+ [GL #7]
@@ -216,9 +221,7 @@
named will now log a warning if
- a static key is configured for the root zone, or if
- any key is configured for "dlv.isc.org", which has been shut
- down. [GL #6]
+ a static key is configured for the root zone. [GL #6]
diff --git a/doc/arm/options.grammar.xml b/doc/arm/options.grammar.xml
index ed399c07dd..3cd76e6d3d 100644
--- a/doc/arm/options.grammar.xml
+++ b/doc/arm/options.grammar.xml
@@ -58,7 +58,7 @@
check-srv-cname ( fail | warn | ignore );
check-wildcard boolean;
clients-per-query integer;
- cookie-algorithm ( aes | sha1 | sha256 );
+ cookie-algorithm ( aes | siphash24 );
cookie-secret string;
coresize ( default | unlimited | sizeval );
datasize ( default | unlimited | sizeval );
@@ -89,9 +89,6 @@
dnssec-accept-expired boolean;
dnssec-dnskey-kskonly boolean;
dnssec-loadkeys-interval integer;
- dnssec-lookaside ( string
- trust-anchor string |
- auto | no ); deprecated
dnssec-must-be-secure string boolean;
dnssec-secure-to-insecure boolean;
dnssec-update-mode ( maintain | no-resign );
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index 0483f587b8..d6a0dcf1d9 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -33,26 +33,30 @@ options: FORCE
if test -x ${CFG_TEST} ; \
then \
${CFG_TEST} --named --grammar > $@.raw ; \
- ${CFG_TEST} --zonegrammar master > master.zoneopt ; \
- ${CFG_TEST} --zonegrammar slave > slave.zoneopt ; \
- ${CFG_TEST} --zonegrammar mirror > mirror.zoneopt ; \
- ${CFG_TEST} --zonegrammar forward > forward.zoneopt ; \
- ${CFG_TEST} --zonegrammar hint > hint.zoneopt ; \
- ${CFG_TEST} --zonegrammar stub > stub.zoneopt ; \
- ${CFG_TEST} --zonegrammar static-stub > static-stub.zoneopt ; \
- ${CFG_TEST} --zonegrammar redirect > redirect.zoneopt ; \
- ${CFG_TEST} --zonegrammar delegation-only > delegation-only.zoneopt ; \
- ${CFG_TEST} --zonegrammar in-view > in-view.zoneopt ; \
${PERL} ${srcdir}/sort-options.pl < $@.raw > $@.sorted ; \
${PERL} ${srcdir}/format-options.pl < $@.sorted > $@.new ; \
mv -f $@.new $@ ; \
+ ${CFG_TEST} --named --grammar --active > $@.raw ; \
+ ${PERL} ${srcdir}/sort-options.pl < $@.raw > $@.sorted ; \
+ ${PERL} ${srcdir}/format-options.pl < $@.sorted > $@.new ; \
+ mv -f $@.new $@.active ; \
rm -f $@.raw $@.sorted ; \
+ ${CFG_TEST} --zonegrammar master --active > master.zoneopt ; \
+ ${CFG_TEST} --zonegrammar slave --active > slave.zoneopt ; \
+ ${CFG_TEST} --zonegrammar mirror --active > mirror.zoneopt ; \
+ ${CFG_TEST} --zonegrammar forward --active > forward.zoneopt ; \
+ ${CFG_TEST} --zonegrammar hint --active > hint.zoneopt ; \
+ ${CFG_TEST} --zonegrammar stub --active > stub.zoneopt ; \
+ ${CFG_TEST} --zonegrammar static-stub --active > static-stub.zoneopt ; \
+ ${CFG_TEST} --zonegrammar redirect --active > redirect.zoneopt ; \
+ ${CFG_TEST} --zonegrammar delegation-only --active > delegation-only.zoneopt ; \
+ ${CFG_TEST} --zonegrammar in-view --active > in-view.zoneopt ; \
else \
rm -f $@.new $@.raw $@.sorted ; \
fi
docbook: options
- ${PERL} docbook-options.pl options > ${top_srcdir}/bin/named/named.conf.docbook
+ ${PERL} docbook-options.pl options.active > ${top_srcdir}/bin/named/named.conf.docbook
${PERL} docbook-zoneopt.pl master.zoneopt > ${top_srcdir}/doc/arm/master.zoneopt.xml
${PERL} docbook-zoneopt.pl slave.zoneopt > ${top_srcdir}/doc/arm/slave.zoneopt.xml
${PERL} docbook-zoneopt.pl mirror.zoneopt > ${top_srcdir}/doc/arm/mirror.zoneopt.xml
@@ -63,14 +67,14 @@ docbook: options
${PERL} docbook-zoneopt.pl redirect.zoneopt > ${top_srcdir}/doc/arm/redirect.zoneopt.xml
${PERL} docbook-zoneopt.pl delegation-only.zoneopt > ${top_srcdir}/doc/arm/delegation-only.zoneopt.xml
${PERL} docbook-zoneopt.pl in-view.zoneopt > ${top_srcdir}/doc/arm/in-view.zoneopt.xml
- ${PERL} docbook-grammars.pl options acl > ${top_srcdir}/doc/arm/acl.grammar.xml
- ${PERL} docbook-grammars.pl options controls > ${top_srcdir}/doc/arm/controls.grammar.xml
- ${PERL} docbook-grammars.pl options key > ${top_srcdir}/doc/arm/key.grammar.xml
- ${PERL} docbook-grammars.pl options logging > ${top_srcdir}/doc/arm/logging.grammar.xml
- ${PERL} docbook-grammars.pl options masters > ${top_srcdir}/doc/arm/masters.grammar.xml
- ${PERL} docbook-grammars.pl options options > ${top_srcdir}/doc/arm/options.grammar.xml
- ${PERL} docbook-grammars.pl options server > ${top_srcdir}/doc/arm/server.grammar.xml
- ${PERL} docbook-grammars.pl options statistics-channels > ${top_srcdir}/doc/arm/statistics-channels.grammar.xml
- ${PERL} docbook-grammars.pl options dnssec-keys > ${top_srcdir}/doc/arm/dnssec-keys.grammar.xml
- ${PERL} docbook-grammars.pl options managed-keys > ${top_srcdir}/doc/arm/managed-keys.grammar.xml
- ${PERL} docbook-grammars.pl options trusted-keys > ${top_srcdir}/doc/arm/trusted-keys.grammar.xml
+ ${PERL} docbook-grammars.pl options.active acl > ${top_srcdir}/doc/arm/acl.grammar.xml
+ ${PERL} docbook-grammars.pl options.active controls > ${top_srcdir}/doc/arm/controls.grammar.xml
+ ${PERL} docbook-grammars.pl options.active key > ${top_srcdir}/doc/arm/key.grammar.xml
+ ${PERL} docbook-grammars.pl options.active logging > ${top_srcdir}/doc/arm/logging.grammar.xml
+ ${PERL} docbook-grammars.pl options.active masters > ${top_srcdir}/doc/arm/masters.grammar.xml
+ ${PERL} docbook-grammars.pl options.active options > ${top_srcdir}/doc/arm/options.grammar.xml
+ ${PERL} docbook-grammars.pl options.active server > ${top_srcdir}/doc/arm/server.grammar.xml
+ ${PERL} docbook-grammars.pl options.active statistics-channels > ${top_srcdir}/doc/arm/statistics-channels.grammar.xml
+ ${PERL} docbook-grammars.pl options.active dnssec-keys > ${top_srcdir}/doc/arm/dnssec-keys.grammar.xml
+ ${PERL} docbook-grammars.pl options.active managed-keys > ${top_srcdir}/doc/arm/managed-keys.grammar.xml
+ ${PERL} docbook-grammars.pl options.active trusted-keys > ${top_srcdir}/doc/arm/trusted-keys.grammar.xml
diff --git a/doc/misc/docbook-grammars.pl b/doc/misc/docbook-grammars.pl
index 98236beec9..9eb8c81126 100644
--- a/doc/misc/docbook-grammars.pl
+++ b/doc/misc/docbook-grammars.pl
@@ -59,12 +59,6 @@ while () {
$display = 1
}
- if (m{// not.*implemented} || m{// obsolete} ||
- m{// ancient} || m{// test.*only})
- {
- next;
- }
-
s{ // not configured}{};
s{ // non-operational}{};
s{ // may occur multiple times,*}{};
diff --git a/doc/misc/docbook-options.pl b/doc/misc/docbook-options.pl
index 92f3c78bd4..7d29c0742d 100644
--- a/doc/misc/docbook-options.pl
+++ b/doc/misc/docbook-options.pl
@@ -120,12 +120,6 @@ while () {
my $blank = 0;
while () {
- if (m{// not.*implemented} || m{// obsolete} ||
- m{// ancient} || m{// test.*only})
- {
- next;
- }
-
s{ // not configured}{};
s{ // non-operational}{};
s{ (// )*may occur multiple times,*}{};
@@ -140,22 +134,22 @@ while () {
$HEADING
END
- if ($1 eq "trusted-keys") {
- print <Deprecated - see DNSSEC-KEYS.
END
- }
+ }
- if ($1 eq "managed-keys") {
- print <Deprecated - see DNSSEC-KEYS.
END
- }
+ }
print <
END
- }
+ }
if (m{^\s*$} && !$blank) {
$blank = 1;
diff --git a/doc/misc/docbook-zoneopt.pl b/doc/misc/docbook-zoneopt.pl
index 0a1354bba2..14d156be1a 100644
--- a/doc/misc/docbook-zoneopt.pl
+++ b/doc/misc/docbook-zoneopt.pl
@@ -44,12 +44,6 @@ print <) {
- if (m{// not.*implemented} || m{// obsolete} ||
- m{// ancient} || m{// test.*only})
- {
- next;
- }
-
s{ // not configured}{};
s{ // may occur multiple times,*}{};
s{<([a-z0-9_-]+)>}{$1}g;
diff --git a/doc/misc/format-options.pl b/doc/misc/format-options.pl
index 338d61ebdb..5fa3db11a0 100644
--- a/doc/misc/format-options.pl
+++ b/doc/misc/format-options.pl
@@ -11,7 +11,7 @@
print < [ ] {
notify-source ( | * ) [ port ( | * ) ] [ dscp ];
notify-source-v6 ( | * ) [ port ( | * ) ] [ dscp ];
notify-to-soa ;
- nsec3-test-zone ; // test only
serial-update-method ( date | increment | unixtime );
sig-signing-nodes ;
sig-signing-signatures ;
diff --git a/doc/misc/options b/doc/misc/options
index 15638335e0..f06de0a369 100644
--- a/doc/misc/options
+++ b/doc/misc/options
@@ -1,5 +1,5 @@
-This is a summary of the named.conf options supported by
+This is a summary of the named.conf options supported by
this version of BIND 9.
acl { ; ... }; // may occur multiple times
@@ -148,7 +148,7 @@ options {
dnssec-loadkeys-interval ;
dnssec-lookaside (
trust-anchor |
- auto | no ); // may occur multiple times, deprecated
+ auto | no ); // obsolete, may occur multiple times
dnssec-must-be-secure ; // may occur multiple times
dnssec-secure-to-insecure ;
dnssec-update-mode ( maintain | no-resign );
@@ -193,7 +193,7 @@ options {
fstrm-set-output-queue-model ( mpsc | spsc ); // not configured
fstrm-set-output-queue-size ; // not configured
fstrm-set-reopen-interval ; // not configured
- geoip-directory ( | none ); // not configured
+ geoip-directory ( | none );
geoip-use-ecs ; // obsolete
glue-cache ;
has-old-clients ; // ancient
@@ -214,7 +214,7 @@ options {
listen-on-v6 [ port ] [ dscp
] {
; ... }; // may occur multiple times
- lmdb-mapsize ; // non-operational
+ lmdb-mapsize ;
lock-file ( | none );
maintain-ixfr-base ; // ancient
managed-keys-directory ;
@@ -527,7 +527,7 @@ view [ ] {
dnssec-loadkeys-interval ;
dnssec-lookaside (
trust-anchor |
- auto | no ); // may occur multiple times, deprecated
+ auto | no ); // obsolete, may occur multiple times
dnssec-must-be-secure ; // may occur multiple times
dnssec-secure-to-insecure ;
dnssec-update-mode ( maintain | no-resign );
@@ -565,7 +565,7 @@ view [ ] {
}; // may occur multiple times
key-directory ;
lame-ttl ;
- lmdb-mapsize ; // non-operational
+ lmdb-mapsize ;
maintain-ixfr-base ; // ancient
managed-keys { (
static-key | initial-key
diff --git a/doc/misc/options.active b/doc/misc/options.active
new file mode 100644
index 0000000000..9820f026ac
--- /dev/null
+++ b/doc/misc/options.active
@@ -0,0 +1,867 @@
+
+This is a summary of the named.conf options supported by
+this version of BIND 9.
+
+acl { ; ... }; // may occur multiple times
+
+controls {
+ inet ( | |
+ * ) [ port ( | * ) ] allow
+ { ; ... } [
+ keys { ; ... } ] [ read-only
+ ]; // may occur multiple times
+ unix perm
+ owner group [
+ keys { ; ... } ] [ read-only
+ ]; // may occur multiple times
+}; // may occur multiple times
+
+dlz {
+ database ;
+ search ;
+}; // may occur multiple times
+
+dnssec-keys { ( static-key |
+ initial-key )
+ ; ... }; // may occur multiple times
+
+dyndb {
+ }; // may occur multiple times
+
+key {
+ algorithm ;
+ secret ;
+}; // may occur multiple times
+
+logging {
+ category { ; ... }; // may occur multiple times
+ channel {
+ buffered ;
+ file [ versions ( unlimited | ) ]
+ [ size ] [ suffix ( increment | timestamp ) ];
+ null;
+ print-category ;
+ print-severity ;
+ print-time ( iso8601 | iso8601-utc | local | );
+ severity ;
+ stderr;
+ syslog [ ];
+ }; // may occur multiple times
+};
+
+managed-keys { ( static-key
+ | initial-key )
+
+ ; ... }; // may occur multiple times, deprecated
+
+masters [ port ] [ dscp
+ ] { ( | [
+ port ] | [ port
+ ] ) [ key ]; ... }; // may occur multiple times
+
+options {
+ allow-new-zones ;
+ allow-notify { ; ... };
+ allow-query { ; ... };
+ allow-query-cache { ; ... };
+ allow-query-cache-on { ; ... };
+ allow-query-on { ; ... };
+ allow-recursion { ; ... };
+ allow-recursion-on { ; ... };
+ allow-transfer { ; ... };
+ allow-update { ; ... };
+ allow-update-forwarding { ; ... };
+ also-notify [ port ] [ dscp ] { ( |
+ [ port ] | [ port
+ ] ) [ key ]; ... };
+ alt-transfer-source ( | * ) [ port ( | * )
+ ] [ dscp ];
+ alt-transfer-source-v6 ( | * ) [ port ( |
+ * ) ] [ dscp ];
+ answer-cookie ;
+ attach-cache ;
+ auth-nxdomain ; // default changed
+ auto-dnssec ( allow | maintain | off );
+ automatic-interface-scan ;
+ avoid-v4-udp-ports { ; ... };
+ avoid-v6-udp-ports { ; ... };
+ bindkeys-file ;
+ blackhole { ; ... };
+ cache-file ;
+ catalog-zones { zone [ default-masters [ port ]
+ [ dscp ] { ( | [ port
+ ] | [ port ] ) [ key
+ ]; ... } ] [ zone-directory ] [
+ in-memory ] [ min-update-interval ]; ... };
+ check-dup-records ( fail | warn | ignore );
+ check-integrity ;
+ check-mx ( fail | warn | ignore );
+ check-mx-cname ( fail | warn | ignore );
+ check-names ( primary | master |
+ secondary | slave | response ) (
+ fail | warn | ignore ); // may occur multiple times
+ check-sibling ;
+ check-spf ( warn | ignore );
+ check-srv-cname ( fail | warn | ignore );
+ check-wildcard ;
+ clients-per-query ;
+ cookie-algorithm ( aes | siphash24 );
+ cookie-secret ; // may occur multiple times
+ coresize ( default | unlimited | );
+ datasize ( default | unlimited | );
+ deny-answer-addresses { ; ... } [
+ except-from { ; ... } ];
+ deny-answer-aliases { ; ... } [ except-from { ; ...
+ } ];
+ dialup ( notify | notify-passive | passive | refresh | );
+ directory ;
+ disable-algorithms { ;
+ ... }; // may occur multiple times
+ disable-ds-digests { ;
+ ... }; // may occur multiple times
+ disable-empty-zone ; // may occur multiple times
+ dns64 {
+ break-dnssec ;
+ clients { ; ... };
+ exclude { ; ... };
+ mapped { ; ... };
+ recursive-only ;
+ suffix ;
+ }; // may occur multiple times
+ dns64-contact ;
+ dns64-server ;
+ dnskey-sig-validity ;
+ dnsrps-enable ; // not configured
+ dnsrps-options { }; // not configured
+ dnssec-accept-expired ;
+ dnssec-dnskey-kskonly ;
+ dnssec-loadkeys-interval ;
+ dnssec-must-be-secure ; // may occur multiple times
+ dnssec-secure-to-insecure ;
+ dnssec-update-mode ( maintain | no-resign );
+ dnssec-validation ( yes | no | auto );
+ dnstap { ( all | auth | client | forwarder |
+ resolver | update ) [ ( query | response ) ];
+ ... }; // not configured
+ dnstap-identity ( | none |
+ hostname ); // not configured
+ dnstap-output ( file | unix ) [
+ size ( unlimited | ) ] [ versions (
+ unlimited | ) ] [ suffix ( increment
+ | timestamp ) ]; // not configured
+ dnstap-version ( | none ); // not configured
+ dscp ;
+ dual-stack-servers [ port ] { ( [ port
+ ] [ dscp ] | [ port
+ ] [ dscp ] | [ port
+ ] [ dscp ] ); ... };
+ dump-file ;
+ edns-udp-size ;
+ empty-contact ;
+ empty-server ;
+ empty-zones-enable ;
+ fetch-quota-params ;
+ fetches-per-server [ ( drop | fail ) ];
+ fetches-per-zone [ ( drop | fail ) ];
+ files ( default | unlimited | );
+ flush-zones-on-shutdown ;
+ forward ( first | only );
+ forwarders [ port ] [ dscp ] { (
+ | ) [ port ] [ dscp ]; ... };
+ fstrm-set-buffer-hint ; // not configured
+ fstrm-set-flush-timeout ; // not configured
+ fstrm-set-input-queue-size ; // not configured
+ fstrm-set-output-notify-threshold ; // not configured
+ fstrm-set-output-queue-model ( mpsc | spsc ); // not configured
+ fstrm-set-output-queue-size ; // not configured
+ fstrm-set-reopen-interval ; // not configured
+ geoip-directory ( | none );
+ glue-cache ;
+ heartbeat-interval ;
+ hostname ( | none );
+ inline-signing ;
+ interface-interval ;
+ ixfr-from-differences ( primary | master | secondary | slave |
+ );
+ keep-response-order { ; ... };
+ key-directory ;
+ lame-ttl ;
+ listen-on [ port ] [ dscp
+ ] {
+ ; ... }; // may occur multiple times
+ listen-on-v6 [ port ] [ dscp
+ ] {
+