| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | xfrd-disk.c | 91 const char* id, xfrd_soa_type* soa, time_t* soatime) in xfrd_read_state_soa() argument 104 !xfrd_read_i16(in, &soa->type) || in xfrd_read_state_soa() 105 !xfrd_read_i16(in, &soa->klass) || in xfrd_read_state_soa() 106 !xfrd_read_i32(in, &soa->ttl) || in xfrd_read_state_soa() 107 !xfrd_read_i16(in, &soa->rdata_count)) in xfrd_read_state_soa() 112 soa->type = htons(soa->type); in xfrd_read_state_soa() 113 soa->klass = htons(soa->klass); in xfrd_read_state_soa() 114 soa->ttl = htonl(soa->ttl); in xfrd_read_state_soa() 115 soa->rdata_count = htons(soa->rdata_count); in xfrd_read_state_soa() 118 !(soa->prim_ns[0] = dname_parse_wire(soa->prim_ns+1, p))) in xfrd_read_state_soa() [all …]
|
| H A D | xfrd.c | 67 xfrd_soa_type* soa); 70 static int xfrd_parse_soa_info(buffer_type* packet, xfrd_soa_type* soa); 567 xfrd_soa_type soa; in xfrd_process_soa_info_task() local 568 xfrd_soa_type* soa_ptr = &soa; in xfrd_process_soa_info_task() 595 memset(&soa, 0, sizeof(soa)); in xfrd_process_soa_info_task() 597 soa.type = htons(TYPE_SOA); in xfrd_process_soa_info_task() 598 soa.klass = htons(CLASS_IN); in xfrd_process_soa_info_task() 599 memmove(&soa.ttl, p, sizeof(uint32_t)); in xfrd_process_soa_info_task() 601 soa.rdata_count = htons(7); in xfrd_process_soa_info_task() 602 memmove(soa.prim_ns, p, sizeof(uint8_t)); in xfrd_process_soa_info_task() [all …]
|
| H A D | xfrd-tcp.c | 472 const dname_type* apex, struct xfrd_soa* soa) in xfrd_write_soa_buffer() argument 479 buffer_write(packet, &soa->type, sizeof(soa->type)); in xfrd_write_soa_buffer() 480 buffer_write(packet, &soa->klass, sizeof(soa->klass)); in xfrd_write_soa_buffer() 481 buffer_write(packet, &soa->ttl, sizeof(soa->ttl)); in xfrd_write_soa_buffer() 486 buffer_write(packet, soa->prim_ns+1, soa->prim_ns[0]); in xfrd_write_soa_buffer() 487 buffer_write(packet, soa->email+1, soa->email[0]); in xfrd_write_soa_buffer() 489 buffer_write(packet, &soa->serial, sizeof(uint32_t)); in xfrd_write_soa_buffer() 490 buffer_write(packet, &soa->refresh, sizeof(uint32_t)); in xfrd_write_soa_buffer() 491 buffer_write(packet, &soa->retry, sizeof(uint32_t)); in xfrd_write_soa_buffer() 492 buffer_write(packet, &soa->expire, sizeof(uint32_t)); in xfrd_write_soa_buffer() [all …]
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/ |
| H A D | soa_6.c | 282 dns_rdata_soa_t *soa = source; in fromstruct_soa() local 286 REQUIRE(soa != NULL); in fromstruct_soa() 287 REQUIRE(soa->common.rdtype == type); in fromstruct_soa() 288 REQUIRE(soa->common.rdclass == rdclass); in fromstruct_soa() 293 dns_name_toregion(&soa->origin, ®ion); in fromstruct_soa() 295 dns_name_toregion(&soa->contact, ®ion); in fromstruct_soa() 297 RETERR(uint32_tobuffer(soa->serial, target)); in fromstruct_soa() 298 RETERR(uint32_tobuffer(soa->refresh, target)); in fromstruct_soa() 299 RETERR(uint32_tobuffer(soa->retry, target)); in fromstruct_soa() 300 RETERR(uint32_tobuffer(soa->expire, target)); in fromstruct_soa() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/ |
| H A D | soa_6.c | 286 dns_rdata_soa_t *soa = source; in fromstruct_soa() 290 REQUIRE(soa != NULL); in fromstruct_soa() 291 REQUIRE(soa->common.rdtype == type); in fromstruct_soa() 292 REQUIRE(soa->common.rdclass == rdclass); in fromstruct_soa() 297 dns_name_toregion(&soa->origin, ®ion); in fromstruct_soa() 299 dns_name_toregion(&soa->contact, ®ion); in fromstruct_soa() 301 RETERR(uint32_tobuffer(soa->serial, target)); in fromstruct_soa() 302 RETERR(uint32_tobuffer(soa->refresh, target)); in fromstruct_soa() 303 RETERR(uint32_tobuffer(soa->retry, target)); 304 RETERR(uint32_tobuffer(soa 282 dns_rdata_soa_t *soa = source; fromstruct_soa() local 307 dns_rdata_soa_t *soa = target; tostruct_soa() local 351 dns_rdata_soa_t *soa = source; freestruct_soa() local [all...] |
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | soa.c | 65 dns_rdata_soa_t soa; in dns_soa_buildrdata() local 74 soa.common.rdtype = dns_rdatatype_soa; in dns_soa_buildrdata() 75 soa.common.rdclass = rdclass; in dns_soa_buildrdata() 76 soa.mctx = NULL; in dns_soa_buildrdata() 77 soa.serial = serial; in dns_soa_buildrdata() 78 soa.refresh = refresh; in dns_soa_buildrdata() 79 soa.retry = retry; in dns_soa_buildrdata() 80 soa.expire = expire; in dns_soa_buildrdata() 81 soa.minimum = minimum; in dns_soa_buildrdata() 82 dns_name_init(&soa.origin, NULL); in dns_soa_buildrdata() [all …]
|
| H A D | nsec.c | 324 bool soa; in dns_nsec_noexistnodata() local 356 soa = dns_nsec_typepresent(&rdata, dns_rdatatype_soa); in dns_nsec_noexistnodata() 357 if (ns && !soa) { in dns_nsec_noexistnodata() 368 } else if (atparent && ns && soa) { in dns_nsec_noexistnodata()
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | soa.c | 1 /* $NetBSD: soa.c,v 1.7 2025/01/26 16:25:25 christos Exp $ */ 26 #include <dns/soa.h> 65 dns_rdata_soa_t soa; in dns_soa_buildrdata() local 74 soa.common.rdtype = dns_rdatatype_soa; in dns_soa_buildrdata() 75 soa.common.rdclass = rdclass; in dns_soa_buildrdata() 76 soa.mctx = NULL; in dns_soa_buildrdata() 77 soa.serial = serial; in dns_soa_buildrdata() 78 soa.refresh = refresh; in dns_soa_buildrdata() 79 soa.retry = retry; in dns_soa_buildrdata() 80 soa in dns_soa_buildrdata() [all...] |
| H A D | nsec.c | 351 bool soa; in dns_nsec_noexistnodata() 393 soa = dns_nsec_typepresent(&rdata, dns_rdatatype_soa); in dns_nsec_noexistnodata() 394 if (ns && !soa) { in dns_nsec_noexistnodata() 405 } else if (atparent && ns && soa) { in dns_nsec_noexistnodata() 352 bool soa; dns_nsec_noexistnodata() local
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/tsig/ |
| H A D | tests.sh | 35 $DIG $DIGOPTS example.nil. -y "md5:$md5" @10.53.0.1 soa >dig.out.md5.old || ret=1 44 $DIG $DIGOPTS example.nil. -y "hmac-md5:md5:$md5" @10.53.0.1 soa >dig.out.md5.new || ret=1 56 $DIG $DIGOPTS example.nil. -y "hmac-sha1:sha1:$sha1" @10.53.0.1 soa >dig.out.sha1 || ret=1 65 $DIG $DIGOPTS example.nil. -y "hmac-sha224:sha224:$sha224" @10.53.0.1 soa >dig.out.sha224 || ret=1 74 $DIG $DIGOPTS example.nil. -y "hmac-sha256:sha256:$sha256" @10.53.0.1 soa >dig.out.sha256 || ret=1 83 $DIG $DIGOPTS example.nil. -y "hmac-sha384:sha384:$sha384" @10.53.0.1 soa >dig.out.sha384 || ret=1 92 $DIG $DIGOPTS example.nil. -y "hmac-sha512:sha512:$sha512" @10.53.0.1 soa >dig.out.sha512 || ret=1 107 …$DIG $DIGOPTS example.nil. -y "hmac-md5-80:md5-trunc:$md5" @10.53.0.1 soa >dig.out.md5.trunc || re… 119 $DIG $DIGOPTS example.nil. -y "hmac-sha1-80:sha1-trunc:$sha1" @10.53.0.1 soa >dig.out.sha1.trunc ||… 128 $DIG $DIGOPTS example.nil. -y "hmac-sha224-112:sha224-trunc:$sha224" @10.53.0.1 soa >dig.out.sha224… [all …]
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/synthfromdnssec/ns1/ |
| H A D | soa-without-dnskey.db.in | 13 soa-without-dnskey. 3600 SOA ns1.soa-without-dnskey. hostmaster.soa-without-dnskey. ( 20 3600 NS ns1.soa-without-dnskey. 21 3600 NSEC ns1.soa-without-dnskey. NS SOA RRSIG NSEC 22 ns1.soa-without-dnskey. 3600 A 10.53.0.1 23 3600 NSEC soa-without-dnskey. A RRSIG NSEC
|
| H A D | root.db.in | 23 soa-without-dnskey NS ns1.soa-without-dnskey 24 ns1.soa-without-dnskey A 10.53.0.1
|
| H A D | sign.sh | 56 zone=soa-without-dnskey 57 infile=soa-without-dnskey.db.in 58 zonefile=soa-without-dnskey.db
|
| H A D | named.conf.in | 65 zone "soa-without-dnskey" { 67 file "soa-without-dnskey.db.signed";
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/timeouts/ |
| H A D | tests_tcp_timeouts.py | 173 soa = response.get_rrset( 176 assert soa is not None 183 soa = response.get_rrset( 186 if soa is not None: 188 assert soa is not None 229 soa = response.get_rrset( 232 assert soa is not None 242 soa = response.get_rrset( 245 if soa is not None: 247 assert soa i [all...] |
| /netbsd-src/external/bsd/unbound/dist/testdata/ |
| H A D | auth_zonefile_down.rpl | 52 name: "soa.high.com." 56 TEMPFILE_NAME soa.high.com 57 TEMPFILE_CONTENTS soa.high.com 59 soa 500 IN SOA dns.example.de. hostmaster.dns.example.de. ( 66 name: "soa.low.com." 70 TEMPFILE_NAME soa.low.com 71 TEMPFILE_CONTENTS soa.low.com 73 soa 200 IN SOA dns.example.de. hostmaster.dns.example.de. ( 241 nonexistent.soa.high.com. IN A 248 nonexistent.soa.high.com IN A [all …]
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/ednscompliance/ |
| H A D | tests.sh | 27 $DIG $DIGOPTS @10.53.0.1 +qr +edns=100 soa $zone >dig.out$n || ret=1 38 $DIG $DIGOPTS @10.53.0.1 +qr +ednsopt=100 soa $zone >dig.out$n || ret=1 49 $DIG $DIGOPTS @10.53.0.1 +qr +ednsflags=0x80 soa $zone >dig.out$n || ret=1 60 $DIG $DIGOPTS @10.53.0.1 +edns=100 +noednsnegotiation soa $zone >dig.out$n || ret=1 79 $DIG $DIGOPTS @10.53.0.1 +ednsopt=100 soa $zone >dig.out$n || ret=1 102 $DIG $DIGOPTS @10.53.0.1 +edns=100 +noednsneg +ednsopt=100 soa $zone >dig.out$n || ret=1 125 $DIG $DIGOPTS @10.53.0.1 +ednsflags=0x80 soa $zone >dig.out$n || ret=1 148 $DIG $DIGOPTS @10.53.0.1 +edns=100 +noednsneg +ednsflags=0x80 soa $zone >dig.out$n || ret=1 171 $DIG $DIGOPTS @10.53.0.1 +edns=100 soa $zone >dig.out$n || ret=1
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/journal/ |
| H A D | tests.sh | 32 dig_with_opts changed soa >dig.out.test$n 42 dig_with_opts unchanged soa >dig.out.test$n 66 dig_with_opts changed2 soa >dig.out.test$n 77 dig_with_opts unchanged2 soa >dig.out.test$n 96 dig_with_opts -t soa ixfr >dig.out.test$n 113 dig_with_opts -t soa hdr1d1d2d1d2 >dig.out.test$n 135 dig_with_opts -t soa hdr1d2d1d2d1 >dig.out.test$n
|
| /netbsd-src/external/bsd/unbound/dist/testdata/root_zonemd.tdir/ |
| H A D | root_zonemd.pre | 16 grep " SOA " root.txt | head -1 > root.soa 17 cat root.soa >> root.zone 21 cat root.soa
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/forward/ans6/ |
| H A D | ans.pl | 177 my $soa; 178 $soa = new Net::DNS::RR("$qname 300 IN SOA . . 0 0 0 0 0"); 179 $packet->push("authority", $soa) 405 my $soa; 406 $soa = new Net::DNS::RR("$qname 300 SOA . . 0 0 0 0 0"); 407 $packet->push("authority", $soa)
|
| /netbsd-src/external/bsd/nsd/dist/doc/ |
| H A D | TESTPLAN | 94 - secondary starts with a zone without content (soa=1) 96 on the slave. Master has a soa and three text records. 97 - axfr an empty zone - only the SOA (soa=2) 98 - axfr a zone with only little data. (soa=3) 104 - old zone unsigned, new zone signed. (soa=4) 110 - old zone signed, new zone unsigned. (soa=5) 121 - new zone with nsec3. (soa=6) 124 - new parameters for nsec3. (soa=7) 127 - new zone no longer uses nsec3. (soa=8) 129 - axfr an empty zone (only the SOA) (soa=9 + a lot for serial wraparound) [all …]
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/masterfile/ns1/ |
| H A D | ttl1.db | 21 a TXT "soa minttl 3" 23 c TXT "soa minttl 3"
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/xfer/ |
| H A D | tests.sh | 128 secondary. soa >dig.out.ns2.test$n || tmp=1 140 $DIG $DIGOPTS @10.53.0.6 +noall +answer soa primary >dig.out.soa1.ns6.test$n 142 $DIG $DIGOPTS @10.53.0.1 +noall +answer soa secondary >dig.out.soa2.ns1.test$n 144 $DIG $DIGOPTS @10.53.0.2 +noall +answer soa example >dig.out.soa3.ns2.test$n 153 $DIG $DIGOPTS @10.53.0.3 +noall +answer soa example >dig.out.soa1.ns3.test$n 155 $DIG $DIGOPTS @10.53.0.3 +noall +answer soa primary >dig.out.soa2.ns3.test$n 157 $DIG $DIGOPTS @10.53.0.6 +noall +answer soa secondary >dig.out.soa3.ns6.test$n
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/synthfromdnssec/ |
| H A D | clean.sh | |
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/upforwd/ |
| H A D | tests.sh | 58 $DIG +tcp -p ${PORT} example. @10.53.0.1 soa >dig.out.ns1.$n || ret=1 60 $DIG +tcp -p ${PORT} example. @10.53.0.2 soa >dig.out.ns2.$n || ret=1 62 $DIG +tcp -p ${PORT} example. @10.53.0.3 soa >dig.out.ns3.$n || ret=1 513 $DIG -p ${PORT} +noadd +notcp +noauth noprimary. @10.53.0.3 soa >dig.out.ns3.test$n.$count || ret=1
|