| /src/external/apache2/mDNSResponder/dist/mDNSShared/dns_objects/objs/ |
| dns_obj_rr_soa.h | 34 DNS_OBJECT_SUBKIND_TYPEDEF_OPAQUE_POINTER(rr, soa); 41 * Create an SOA resource record object. 44 * The name of the SOA resource record in domain name labels. 55 * of this SOA resource record object. 61 * The SOA resource record object created, or NULL if error happens during creation. <code>out_error</code> will be set to the error encountered if it is not NULL. 71 * Get the minimum TTL specified by SOA resource record. 73 * @param soa 74 * The SOA resource record object. 80 dns_obj_rr_soa_get_minimum_ttl(dns_obj_rr_soa_t NONNULL soa);
|
| dns_obj_rr_soa.c | 31 // MARK: - DNSSEC SOA Resource Record Kind Definition 38 DNS_OBJECT_SUBKIND_DEFINE_ABSTRUCT(rr, soa, 44 // MARK: - DNSSEC SOA Resource Record Public Methods 51 dns_obj_rr_soa_t soa = NULL; local 64 soa = obj; 73 return soa;
|
| dns_obj_rr.h | 44 DNS_OBJECT_DECLARE_SUPPORTED_OBJECT_SUBKIND(rr, soa);
|
| /src/external/mpl/bind/dist/bin/tests/system/ixfr/ans2/ |
| ans.py | 42 def soa(serial: int, *, owner: str = "nil.") -> dns.rrset.RRset: function 45 dns.rdatatype.SOA, 79 return qctx.qtype == dns.rdatatype.SOA 84 qctx.response.answer.append(soa(self._serial)) 134 (soa(1),), 141 (soa(1),), 147 soa(3), 148 soa(1), 151 soa(2), 154 soa(2) [all...] |
| /src/external/mpl/bind/dist/lib/dns/ |
| soa.c | 1 /* $NetBSD: soa.c,v 1.7 2025/01/26 16:25:25 christos Exp $ */ 26 #include <dns/soa.h> 46 * Locate the field within the SOA RDATA based 65 dns_rdata_soa_t soa; local 74 soa.common.rdtype = dns_rdatatype_soa; 75 soa.common.rdclass = rdclass; 76 soa.mctx = NULL; 77 soa.serial = serial; 78 soa.refresh = refresh; 79 soa.retry = retry [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| soa.c | 1 /* $NetBSD: soa.c,v 1.1 2024/02/18 20:57:34 christos Exp $ */ 26 #include <dns/soa.h> 46 * Locate the field within the SOA RDATA based 65 dns_rdata_soa_t soa; local 74 soa.common.rdtype = dns_rdatatype_soa; 75 soa.common.rdclass = rdclass; 76 soa.mctx = NULL; 77 soa.serial = serial; 78 soa.refresh = refresh; 79 soa.retry = retry [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/ |
| soa_6.c | 282 dns_rdata_soa_t *soa = source; local 286 REQUIRE(soa != NULL); 287 REQUIRE(soa->common.rdtype == type); 288 REQUIRE(soa->common.rdclass == rdclass); 293 dns_name_toregion(&soa->origin, ®ion); 295 dns_name_toregion(&soa->contact, ®ion); 297 RETERR(uint32_tobuffer(soa->serial, target)); 298 RETERR(uint32_tobuffer(soa->refresh, target)); 299 RETERR(uint32_tobuffer(soa->retry, target)); 300 RETERR(uint32_tobuffer(soa->expire, target)) 307 dns_rdata_soa_t *soa = target; local 361 dns_rdata_soa_t *soa = source; local [all...] |
| /src/external/mpl/bind/dist/lib/dns/rdata/generic/ |
| soa_6.c | 286 dns_rdata_soa_t *soa = source; local 290 REQUIRE(soa != NULL); 291 REQUIRE(soa->common.rdtype == type); 292 REQUIRE(soa->common.rdclass == rdclass); 297 dns_name_toregion(&soa->origin, ®ion); 299 dns_name_toregion(&soa->contact, ®ion); 301 RETERR(uint32_tobuffer(soa->serial, target)); 302 RETERR(uint32_tobuffer(soa->refresh, target)); 303 RETERR(uint32_tobuffer(soa->retry, target)); 304 RETERR(uint32_tobuffer(soa->expire, target)) 311 dns_rdata_soa_t *soa = target; local 353 dns_rdata_soa_t *soa = source; local [all...] |
| /src/external/bsd/nsd/dist/ |
| xfrd-disk.c | 91 const char* id, xfrd_soa_type* soa, time_t* soatime) 105 !xfrd_read_i16(in, &soa->type) || 106 !xfrd_read_i16(in, &soa->klass) || 107 !xfrd_read_i32(in, &soa->ttl) || 113 soa->type = htons(soa->type); 114 soa->klass = htons(soa->klass); 115 soa->ttl = htonl(soa->ttl) [all...] |
| xfrd.c | 2 * xfrd.c - XFR (transfer) Daemon source file. Coordinates SOA updates. 75 /* handle incoming notification message. soa can be NULL. true if transfer needed. */ 77 xfrd_soa_type* soa); 79 /* call with buffer just after the soa dname. returns 0 on error. */ 80 static int xfrd_parse_soa_info(buffer_type* packet, xfrd_soa_type* soa); 640 "\'%s\': invalid SOA resource record", 695 xfrd_soa_type soa; local 696 xfrd_soa_type* soa_ptr = &soa; 725 /* read the soa info */ 726 memset(&soa, 0, sizeof(soa)) 2462 xfrd_soa_type soa; local 2765 xfrd_soa_type soa; local 2868 xfrd_soa_type soa; local [all...] |
| xfrd-tcp.c | 566 const dname_type* apex, struct xfrd_soa* soa, int apex_compress) 576 buffer_write(packet, &soa->type, sizeof(soa->type)); 577 buffer_write(packet, &soa->klass, sizeof(soa->klass)); 578 buffer_write(packet, &soa->ttl, sizeof(soa->ttl)); 585 soa->prim_ns+1, soa->prim_ns[0], dname_name(apex), 587 if(soa->prim_ns[0] > apex->name_size [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/ixfr_nonminimal/ans2/ |
| ans.py | 42 def soa(serial: int, *, owner: str = "nil.") -> dns.rrset.RRset: function 45 dns.rdatatype.SOA, 79 return qctx.qtype == dns.rdatatype.SOA 84 qctx.response.answer.append(soa(self._serial)) 134 (soa(1),), 141 (soa(1),), 147 soa(1), 152 soa(1), 165 change (the SOA serial bump + TXT addition). 169 soa(2) [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/ixfr_nonminimal/ans4/ |
| ans.py | 42 def soa(serial: int, *, owner: str = "nil.") -> dns.rrset.RRset: function 45 dns.rdatatype.SOA, 79 return qctx.qtype == dns.rdatatype.SOA 84 qctx.response.answer.append(soa(self._serial)) 134 (soa(1),), 140 (soa(1),), 146 soa(1), 150 soa(1), 163 SOA serial bump. 167 soa(2) [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/tsig/ |
| 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 || ret=1 119 $DIG $DIGOPTS example.nil. -y "hmac-sha1-80:sha1-trunc:$sha1" @10.53.0.1 soa >dig.out.sha1.trunc || ret=1 128 $DIG $DIGOPTS example.nil. -y "hmac-sha224-112:sha224-trunc:$sha224" @10.53.0.1 soa >dig.out.sha224.trunc || ret= [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/timeouts/ |
| tests_tcp_timeouts.py | 168 # Receive the initial DNS message with SOA 170 soa = response.get_rrset( 171 dns.message.ANSWER, name, dns.rdataclass.IN, dns.rdatatype.SOA 173 assert soa is not None 175 # Pull DNS message from wire until the second SOA is received 178 soa = response.get_rrset( 179 dns.message.ANSWER, name, dns.rdataclass.IN, dns.rdatatype.SOA 181 if soa is not None: 183 assert soa is not None 222 # Receive the initial DNS message with SOA [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/ednscompliance/ |
| 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 +nsid +noednsnegotiation soa $zone >dig.out$n || ret=1 77 grep "IN.SOA." dig.out$n >/dev/null && { 79 reason="soa" 87 $DIG $DIGOPTS @10.53.0.1 +ednsopt=100 soa $zone >dig.out$n || ret=1 100 grep "IN.SOA." dig.out$n >/dev/null || { 110 $DIG $DIGOPTS @10.53.0.1 +edns=100 +noednsneg +ednsopt=100 soa $zone >dig.out$n || ret=1 123 grep "IN.SOA." dig.out$n >/dev/null && [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/legacy/ |
| tests.sh | 20 # Check whether the SOA record for the name provided in $1 can be resolved by 24 $DIG $DIGOPTS +tcp +tries=3 +time=5 @10.53.0.1 ${1} SOA >dig.out.test$n || _ret=1 29 # Check whether the SOA record for the name provided in $1 can be resolved by 53 $DIG $DIGOPTS +edns @10.53.0.8 ednsformerr soa >dig.out.1.test$n || ret=1 56 $DIG $DIGOPTS +noedns @10.53.0.8 ednsformerr soa >dig.out.2.test$n || ret=1 72 $DIG $DIGOPTS +edns @10.53.0.9 ednsnotimp soa >dig.out.1.test$n || ret=1 75 $DIG $DIGOPTS +noedns @10.53.0.9 ednsnotimp soa >dig.out.2.test$n || ret=1 91 $DIG $DIGOPTS +edns @10.53.0.10 ednsrefused soa >dig.out.1.test$n || ret=1 94 $DIG $DIGOPTS +noedns @10.53.0.10 ednsrefused soa >dig.out.2.test$n || ret=1 110 $DIG $DIGOPTS +edns @10.53.0.2 dropedns soa >dig.out.1.test$n && ret= [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/eddsa/ |
| tests.sh | 30 dig_with_opts . @10.53.0.1 soa >dig.out.ns1.test$n || ret=1 31 dig_with_opts . @10.53.0.2 soa >dig.out.ns2.test$n || ret=1 58 dig_with_opts . @10.53.0.1 soa >dig.out.ns1.test$n || ret=1 59 dig_with_opts . @10.53.0.3 soa >dig.out.ns3.test$n || ret=1
|
| /src/external/mpl/bind/dist/bin/tests/system/zonechecks/ |
| setup.sh | 26 echo '$INCLUDE "soa.db"' >reload.db 28 echo '@ 0 SOA . . 1 0 0 0 0' >soa.db
|
| /src/external/mpl/bind/dist/bin/tests/system/synthfromdnssec/ns1/ |
| sign.sh | 67 zone=soa-without-dnskey 68 infile=soa-without-dnskey.db.in 69 zonefile=soa-without-dnskey.db
|
| /src/external/apache2/mDNSResponder/dist/ServiceRegistration/ |
| fromwire.c | 358 dns_name_print(rr->data.soa.mname, buf, sizeof(buf)); 359 snprintf(outbuf, bufsize, "SOA %s", buf); 361 dns_name_print(rr->data.soa.rname, buf, sizeof(buf)); 362 snprintf(outbuf, bufsize, "%s %u %d %d %d %d", buf, rr->data.soa.serial, rr->data.soa.refresh, 363 rr->data.soa.retry, rr->data.soa.expire, rr->data.soa.minimum); 485 if (!dns_name_parse_(&rr->data.soa.mname, buf, target, offp, *offp, file, line)) { 488 if (!dns_name_parse_(&rr->data.soa.rname, buf, target, offp, *offp, file, line)) [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/masterfile/ |
| tests_masterfile.py | 25 include. 300 IN SOA ns.include. hostmaster.include. 1 3600 1800 1814400 3600 46 ttl1. 3 IN SOA ns.ttl1. hostmaster.ttl1. 1 3600 1800 1814400 3 48 a.ttl1. 3 IN TXT "soa minttl 3" 50 c.ttl1. 3 IN TXT "soa minttl 3" 65 ttl2. 1 IN SOA ns.ttl2. hostmaster.ttl2. 1 3600 1800 1814400 3 81 msg_soa = isctest.query.create("example.", "SOA") 84 example. 300 IN SOA mname1. . 2010042407 20 20 1814400 3600 92 msg_soa = isctest.query.create("missing.", "SOA") 109 example. 0 IN SOA . . 0 0 0 0 0
|
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ns7/ |
| named.conf.j2 | 30 zone "policy2" add-soa no ede none;
|
| /src/external/mpl/bind/dist/bin/tests/system/journal/ |
| 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 191 lines=$(awk '$1 == "add" && $5 == "SOA" && $8 == "3297" { print }' journalprint.out.test$n | wc -l)
|
| /src/external/mpl/bind/dist/bin/tests/system/cookie/ |
| tests.sh | 154 $DIG $DIGOPTS +qr +cookie +nobadcookie soa @10.53.0.1 >dig.out.test$n || ret=1 164 $DIG $DIGOPTS +qr +cookie +nobadcookie soa @10.53.0.3 >dig.out.test$n || ret=1 176 $DIG $DIGOPTS +qr +cookie +showbadcookie soa @10.53.0.3 >dig.out.test$n || ret=1 193 $DIG $DIGOPTS +cookie +showbadcookie soa @10.53.0.3 >dig.out.test$n || ret=1 210 $DIG $DIGOPTS +qr +cookie +nobadcookie soa example @10.53.0.8 >dig.out.test$n || ret=1 222 $DIG $DIGOPTS +cookie soa from-no-cookie-server.example @10.53.0.8 >dig.out.test$n || ret=1 232 $DIG $DIGOPTS +qr +cookie=000000 soa @10.53.0.1 >dig.out.test$n || ret=1 240 $DIG $DIGOPTS +qr +cookie=${cookie}00 soa @10.53.0.1 >dig.out.test$n || ret=1 248 $DIG $DIGOPTS +qr +cookie=${cookie}00 soa @10.53.0.3 >dig.out.test$n || ret=1 256 $DIG $DIGOPTS +qr +cookie=$badcookie +nobadcookie soa example @10.53.0.1 >dig.out.test$n || ret= [all...] |