Searched refs:nsec (Results 1 - 25 of 35) sorted by relevance

12

/bind-9.11.3/lib/dns/rdata/generic/
H A Dnsec_47.c127 dns_rdata_nsec_t *nsec = source; local
132 REQUIRE(nsec->common.rdtype == type);
133 REQUIRE(nsec->common.rdclass == rdclass);
134 REQUIRE(nsec->typebits != NULL || nsec->len == 0);
139 dns_name_toregion(&nsec->next, &region);
142 region.base = nsec->typebits;
143 region.length = nsec->len;
145 return (mem_tobuffer(target, nsec->typebits, nsec
151 dns_rdata_nsec_t *nsec = target; local
185 dns_rdata_nsec_t *nsec = source; local
[all...]
/bind-9.11.3/bin/tests/system/verify/
H A Dtests.sh60 *.out-of-zone-nsec|*.below-bottom-of-zone-nsec)
63 *.nsec.broken-chain)
93 $VERIFY zones/ksk+zsk.nsec.good > verify.out.$n 2>&1 && ret=1
101 $VERIFY -o invalid.origin zones/ksk+zsk.nsec.good > verify.out.$n 2>&1 && ret=1
/bind-9.11.3/bin/tests/system/wildcard/ns1/
H A Dsign.sh30 zone=nsec.
31 infile=nsec.db.in
32 zonefile=nsec.db
33 outfile=nsec.db.signed
44 zone=private.nsec.
45 infile=private.nsec.db.in
46 zonefile=private.nsec.db
47 outfile=private.nsec.db.signed
65 ' > private.nsec.conf
/bind-9.11.3/lib/dns/
H A Dnsec.c20 #include <dns/nsec.h>
201 dns_nsec_typepresent(dns_rdata_t *nsec, dns_rdatatype_t type) { argument
207 REQUIRE(nsec != NULL);
208 REQUIRE(nsec->type == dns_rdatatype_nsec);
211 result = dns_rdata_tostruct(nsec, &nsecstruct, NULL);
303 dns_rdata_nsec_t nsec; local
348 "ignoring parent nsec");
357 "ignoring child nsec");
366 "nsec proves name exists (owner) data=%d",
383 (*logit)(arg, ISC_LOG_DEBUG(3), "ignoring parent nsec");
[all...]
H A Drbtdb.c53 #include <dns/nsec.h>
112 isc_uint64_t nsec; member in struct:rbtdb_file_header
711 dns_rbt_t * nsec; member in struct:dns_rbtdb
1253 treep = &rbtdb->nsec;
1989 switch (node->nsec) {
2020 result = dns_rbt_findnode(rbtdb->nsec, name, NULL, &nsecnode,
2027 "dns_rbt_findnode(nsec): %s",
2030 result = dns_rbt_deletenode(rbtdb->nsec, nsecnode,
2055 result = dns_rbt_deletenode(rbtdb->nsec, node, ISC_FALSE);
2977 node->nsec
7540 dns_rbt_t *tree = NULL, *nsec = NULL, *nsec3 = NULL; local
8937 rdataset_getnoqname(dns_rdataset_t *rdataset, dns_name_t *name, dns_rdataset_t *nsec, dns_rdataset_t *nsecsig) argument
8983 rdataset_getclosest(dns_rdataset_t *rdataset, dns_name_t *name, dns_rdataset_t *nsec, dns_rdataset_t *nsecsig) argument
[all...]
H A Dvalidator.c28 #include <dns/nsec.h>
964 dns_rdata_nsec_t nsec; local
1012 "covering nsec: trust %s",
1025 "covering nsec: for parent");
1029 result = dns_rdata_tostruct(&rdata, &nsec, NULL);
1032 if (dns_name_compare(foundname, &nsec.next) >= 0) {
1034 if (!dns_name_issubdomain(name, &nsec.next)) {
1037 * at nsec.next and if found retest with
1040 dns_rdata_freestruct(&nsec);
1042 "covering nsec
2687 dns_rdata_t nsec = DNS_RDATA_INIT; local
2765 dns_rdata_t nsec = DNS_RDATA_INIT; local
[all...]
/bind-9.11.3/bin/tests/system/wildcard/
H A Dclean.sh16 rm -f ns1/private.nsec.conf
H A Dtests.sh24 $DIG $DIGOPTS a b.wild.nsec +norec @10.53.0.1 > dig.out.ns1.test$n || ret=1
25 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns1.test$n > /dev/null || ret=1
32 $DIG $DIGOPTS a b.wild.nsec @10.53.0.2 > dig.out.ns2.test$n || ret=1
33 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns2.test$n > /dev/null || ret=1
41 $DIG $DIGOPTS a b.wild.nsec @10.53.0.3 > dig.out.ns3.test$n || ret=1
42 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns3.test$n > /dev/null || ret=1
50 $DIG $DIGOPTS +cd a b.wild.nsec
[all...]
/bind-9.11.3/bin/tests/system/verify/zones/
H A Dgenzones.sh28 # A set of nsec zones.
29 setup zsk-only.nsec good
33 setup ksk-only.nsec good
37 setup ksk+zsk.nsec good
77 setup zsk-only.nsec.expired bad
81 setup ksk-only.nsec.expired bad
85 setup ksk+zsk.nsec.expired bad
104 setup ksk+zsk.nsec.ksk-expired bad
124 # broken nsec chain
125 setup ksk+zsk.nsec
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dnsec.h9 /* $Id: nsec.h,v 1.14 2011/06/10 23:47:32 tbox Exp $ */
14 /*! \file dns/nsec.h */
50 dns_nsec_typepresent(dns_rdata_t *nsec, dns_rdatatype_t type);
55 *\li 'nsec' points to a valid rdataset of type NSEC
H A Dnsec3.h64 dns_nsec3_typepresent(dns_rdata_t *nsec, dns_rdatatype_t type);
69 * 'nsec' points to a valid rdataset of type NSEC3
H A Drdataset.h512 * the 'nsec'/'nsec3' and 'rrsig(nsec)'/'rrsig(nsec3)' ttl.
522 dns_rdataset_t *nsec, dns_rdataset_t *nsecsig);
529 *\li 'nsec' and 'nsecsig' to be valid and not associated.
538 * the 'nsec' and 'rrsig(nsec)' ttl.
H A Drbt.h70 DNS_RBT_NSEC_HAS_NSEC=1, /* also has node in nsec tree */
71 DNS_RBT_NSEC_NSEC=2, /* in nsec tree */
103 unsigned int nsec : 2; /*%< range is 0..3 */ member in struct:dns_rbtnode
/bind-9.11.3/bin/tests/system/autosign/ns2/
H A Dkeygen.sh15 for subdomain in secure nsec3 autonsec3 optout rsasha256 rsasha512 nsec3-to-nsec oldsigs sync
/bind-9.11.3/bin/tests/system/autosign/
H A Dclean.sh36 rm -f ns3/nsec.example.db
37 rm -f ns3/nsec3-to-nsec.example.db
H A Dtests.sh67 $DIG $DIGOPTS $z @10.53.0.1 nsec > dig.out.ns1.test$n || ret=1
72 $DIG $DIGOPTS $z @10.53.0.2 nsec > dig.out.ns2.test$n || ret=1
78 $DIG $DIGOPTS $z @10.53.0.3 nsec > dig.out.ns3.test$n || ret=1
167 $DIG $DIGOPTS +noall +answer nsec3-to-nsec.example. nsec3param @10.53.0.3 > dig.out.ns3.test$n || ret=1
173 echo "I:converting zones from nsec to nsec3"
199 # try to convert nsec.example; this should fail due to non-NSEC key
203 zone nsec.example.
204 update add nsec.example. 3600 NSEC3PARAM 1 0 10 BEEF
252 echo "I:converting zone from nsec3 to nsec"
255 zone nsec3-to-nsec
[all...]
/bind-9.11.3/lib/dns/tests/
H A Drdata_test.c1068 ATF_TC(nsec); variable
1069 ATF_TC_HEAD(nsec, tc) {
1072 ATF_TC_BODY(nsec, tc) {
1176 ATF_TP_ADD_TC(tp, nsec);
/bind-9.11.3/bin/dnssec/
H A Ddnssec-verify.c47 #include <dns/nsec.h>
H A Ddnssectool.c44 #include <dns/nsec.h>
619 dns_rdata_nsec_t nsec; local
635 result = dns_rdata_tostruct(&rdata, &nsec, NULL);
638 if (!dns_name_equal(&nsec.next, nextname)) {
641 dns_name_format(&nsec.next, found, sizeof(found));
/bind-9.11.3/bin/tests/
H A Dnsecify.c22 #include <dns/nsec.h>
/bind-9.11.3/bin/tests/system/autosign/ns3/
H A Dkeygen.sh138 setup nsec.example
157 setup nsec3-to-nsec.example
/bind-9.11.3/bin/tests/system/dnssec/
H A Dclean.sh41 rm -f ns3/auto-nsec.example.db ns3/auto-nsec3.example.db
/bind-9.11.3/bin/tests/system/dnssec/ns3/
H A Dsign.sh320 zone=auto-nsec.example.
321 infile=auto-nsec.example.db.in
322 zonefile=auto-nsec.example.db
/bind-9.11.3/bin/tests/system/masterformat/
H A Dtests.sh84 for name in ns mx a aaaa cname dname txt rrsig nsec \
/bind-9.11.3/bin/tests/system/dnssec/ns2/
H A Dsign.sh22 kskonly update-nsec3 auto-nsec auto-nsec3 secure.below-cname \

Completed in 86 milliseconds

12