| /src/external/apache2/mDNSResponder/dist/mDNSShared/dns_objects/objs/ |
| 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;
|
| /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...] |
| nsec.c | 348 bool soa; local 390 soa = dns_nsec_typepresent(&rdata, dns_rdatatype_soa); 391 if (ns && !soa) { 402 } else if (atparent && ns && soa) { 451 * An NSEC with an SOA in the bitmap can only cover 455 "ignoring nsec with SOA covering non-subdomain");
|
| nsec3.c | 138 * 1) We have a SOA or DS then we need to set 1915 bool soa; local 2062 soa = dns_nsec3_typepresent(&rdata, dns_rdatatype_soa); 2063 if (ns && !soa) { 2075 } else if (atparent && ns && soa) {
|
| /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...] |
| nsec.c | 324 bool soa; local 356 soa = dns_nsec_typepresent(&rdata, dns_rdatatype_soa); 357 if (ns && !soa) { 368 } else if (atparent && ns && soa) {
|
| nsec3.c | 144 * 1) We have a SOA or DS then we need to set 1918 bool soa; local 2065 soa = dns_nsec3_typepresent(&rdata, dns_rdatatype_soa); 2066 if (ns && !soa) { 2078 } else if (atparent && ns && soa) {
|
| catz.c | 62 dns_rdata_t soa; member in struct:dns_catz_zone 1458 dns_rdata_soa_t soa; local 1474 result = dns_rdata_tostruct(&rdata, &soa, NULL); 1478 * xxxwpk TODO do we want to save something from SOA? 1881 /* A zone without SOA record?!? */ 1884 "catz: zone '%s' has no SOA record (%s)", bname,
|
| /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/filters/ans6/ |
| ans.py | 33 def soa() -> dns.rrset.RRset: function 34 return rrset("test.", dns.rdatatype.SOA, "ns.test. hostmaster.test. 1 2 3 4 5") 54 authority = [soa()] 82 authority = [soa()]
|
| /src/external/mpl/bind/dist/bin/tests/system/forward/ans6/ |
| ans.py | 55 def soa(owner: dns.name.Name | str) -> dns.rrset.RRset: function 56 return rrset(owner, dns.rdatatype.SOA, ". . 0 0 0 0 0") 99 qctx.response.authority.append(soa(qctx.qname))
|
| /src/external/mpl/bind/dist/bin/tests/system/ixfr/ans2/ |
| ans.py | 43 def soa(serial: int, *, owner: str = "nil.") -> dns.rrset.RRset: function 46 dns.rdatatype.SOA, 80 return qctx.qtype == dns.rdatatype.SOA 85 qctx.response.answer.append(soa(self._serial)) 111 initial_soa = soa(1) 118 final_soa = soa(1) 123 soa(3), 124 soa(1), 127 soa(2), 130 soa(2) [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/nsec_wildcard_wrong_zone/ans1/ |
| ans.py | 100 def soa(zone: str) -> dns.rrset.RRset: function 103 dns.rdatatype.SOA, 147 elif qctx.qtype == dns.rdatatype.SOA and qctx.qname in { 152 add_signed(qctx.response.answer, soa(zone), self.keys[zone]) 155 add_signed(qctx.response.authority, soa(VICTIM), self.victim) 171 add_signed(qctx.response.authority, soa(ATTACKER), self.attacker) 190 add_signed(qctx.response.authority, soa(VICTIM), self.victim) 204 add_signed(qctx.response.authority, soa(zone), self.keys[zone])
|
| /src/external/mpl/bind/dist/bin/tests/system/serve_stale/ |
| serve_stale_ans.py | 34 def soa(owner: str, ttl: int = 300, minimum: int = 300) -> dns.rrset.RRset: function 35 return rrset(owner, ttl, dns.rdatatype.SOA, f". . 0 0 0 0 {minimum}") 167 [dns.rdatatype.SOA], 168 answer=[soa(owner, ttl=ttl)], 181 authority=[soa(zone, ttl=ttl)], 222 authority=[soa(zone, ttl=ttl)],
|
| /src/external/mpl/bind/dist/bin/tests/system/xfer/ans11/ |
| ans.py | 44 def soa(serial: int) -> dns.rrset.RRset: function 48 dns.rdatatype.SOA, 70 Craft two complete IXFR diffs, but omit the terminating SOA. 78 soa(4), 79 soa(1), 80 soa(2), 82 soa(2), 83 soa(3), 85 soa(3), 91 Flag toggled once the initial AXFR (serial 1) has been served. The SOA [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/xfer/ans9/ |
| ans.py | 51 def soa(owner: str | dns.name.Name, serial: int) -> dns.rrset.RRset: function 52 return rrset(owner, dns.rdatatype.SOA, f". . {serial} 0 0 0 0") 69 Shared SOA serial advanced by one after every completed AXFR, so each 85 return qctx.qtype == dns.rdatatype.SOA 90 qctx.response.answer.append(soa(qctx.qname, self._serials.serial)) 96 Serve an AXFR for a single zone whose SOA serial is drawn from a shared 115 return soa(self.zone, self._serials.serial) 119 return soa(self.zone, self._serials.serial)
|
| /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/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/bin/tests/system/xfer/ans5/ |
| ans.py | 198 def soa( function 208 dns.rdatatype.SOA, 218 return qctx.qtype == dns.rdatatype.SOA 223 qctx.response.answer.append(soa(self._serial)) 279 return soa(self._soa_serial) 291 return soa(self._soa_serial, mname="whatever.", rname="other.") 292 return soa(self._soa_serial) 306 ), "WrongQnameInFinalSoaAxfrHandler can only wrap handlers that yield DnsResponseSend from the final SOA response" 392 txt_data="SOA mismatch AXFR",
|
| /src/external/bsd/unbound/dist/services/ |
| localzone.h | 172 /** if data contains zone apex SOA data, this is a ptr to it. */ 173 struct ub_packed_rrset_key* soa; member in struct:local_zone 174 /** if data contains zone apex SOA data, this is a ptr to an 175 * artificial negative SOA rrset (TTL is the minimum of the TTL and the 176 * SOA.MINIMUM). */
|
| /src/external/mpl/bind/dist/bin/dig/ |
| nslookup.c | 79 "soa = ", /* 6 */ 138 dns_rdata_soa_t soa; local 142 result = dns_rdata_tostruct(rdata, &soa, NULL); 145 dns_name_format(&soa.origin, namebuf, sizeof(namebuf)); 147 dns_name_format(&soa.contact, namebuf, sizeof(namebuf)); 149 printf("\tserial = %u\n", soa.serial); 150 printf("\trefresh = %u\n", soa.refresh); 151 printf("\tretry = %u\n", soa.retry); 152 printf("\texpire = %u\n", soa.expire); 153 printf("\tminimum = %u\n", soa.minimum) [all...] |
| /src/external/bsd/unbound/dist/validator/ |
| val_neg.c | 572 /** find zone name of message, returns the SOA record */ 893 struct ub_packed_rrset_key* soa; local 902 if((soa = reply_find_soa(rep))) { 903 dname = soa->rk.dname; 904 dname_len = soa->rk.dname_len; 905 rrset_class = ntohs(soa->rk.rrset_class); 908 /* No SOA in positive (wildcard) answer. Use signer from the 992 /* no SOA in this message, find RRSIG over NSEC's signer name. 1325 /* need: -SOA, -DS, +NS */ 1331 LDNS_RR_TYPE_DS, zone->dclass, region, 2))) /* ce + soa */ 1393 struct ub_packed_rrset_key* soa; local [all...] |
| /src/external/bsd/nsd/dist/ |
| ixfr.c | 442 /* we must have a SOA in the authority section */ 453 /* skip over the authority section RRs until we find the SOA */ 455 /* is this the SOA record? */ 482 /* get serial from SOA rdata */ 490 /* get serial from SOA RR */ 679 /* Add first SOA */ 681 /* the new SOA is added from the end_data segment, it is 682 * the final SOA of the result of the IXFR */ 695 /* Add second SOA */ 708 /* Add del data, with deleted RRs and a SOA */ 1001 uint8_t* soa; local [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...] |