OXIESEC PANEL
- Current Dir:
/
/
usr
/
include
/
bind9
/
dns
Server IP: 103.185.75.71
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/10/2025 03:35:42 AM
rwxr-xr-x
📄
acl.h
6.33 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
adb.h
21.75 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
badcache.h
3.31 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
bit.h
798 bytes
11/05/2021 09:03:26 AM
rw-r--r--
📄
byaddr.h
3.51 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
cache.h
8.53 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
callbacks.h
2.23 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
catz.h
11.6 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
cert.h
1.43 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
client.h
14.19 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
clientinfo.h
1.97 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
compress.h
6.88 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
db.h
49.26 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
dbiterator.h
7.21 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dbtable.h
3.09 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
diff.h
6.87 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dispatch.h
15.17 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dlz.h
10.62 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dlz_dlopen.h
4.29 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dns64.h
5.59 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dnsrps.h
2.51 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dnssec.h
12.29 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dnstap.h
9.95 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
ds.h
1.63 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dsdigest.h
1.67 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
dyndb.h
4.75 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
ecdb.h
806 bytes
11/05/2021 09:03:26 AM
rw-r--r--
📄
ecs.h
1.22 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
edns.h
783 bytes
11/05/2021 09:03:26 AM
rw-r--r--
📄
enumclass.h
1.19 KB
11/10/2025 03:34:13 AM
rw-r--r--
📄
enumtype.h
8.29 KB
11/10/2025 03:34:13 AM
rw-r--r--
📄
events.h
4.35 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
fixedname.h
1.61 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
forward.h
2.99 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
geoip.h
2.29 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
ipkeylist.h
2.17 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
iptable.h
1.49 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
journal.h
9.48 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
kasp.h
11.84 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
keydata.h
1.02 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
keyflags.h
1.25 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
keymgr.h
4.01 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
keytable.h
7.69 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
keyvalues.h
3.99 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
lib.h
993 bytes
11/05/2021 09:03:26 AM
rw-r--r--
📄
librpz.h
30.67 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
lmdb.h
779 bytes
11/05/2021 09:03:26 AM
rw-r--r--
📄
log.h
3.93 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
lookup.h
2.85 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
master.h
8.58 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
masterdump.h
9.9 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
message.h
38.64 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
name.h
36.9 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
ncache.h
4.84 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
nsec.h
2.99 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
nsec3.h
8.06 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
nta.h
4.73 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
opcode.h
1006 bytes
11/05/2021 09:03:26 AM
rw-r--r--
📄
order.h
1.96 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
peer.h
6.32 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
portlist.h
2.05 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
private.h
1.92 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
rbt.h
36.61 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
rcode.h
2.41 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
rdata.h
22.04 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
rdataclass.h
2.2 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
rdatalist.h
2.5 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
rdataset.h
18.28 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
rdatasetiter.h
3.82 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
rdataslab.h
4.14 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
rdatastruct.h
61.23 KB
11/10/2025 03:34:13 AM
rw-r--r--
📄
rdatatype.h
2.24 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
request.h
8.97 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
resolver.h
19.68 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
result.h
8.98 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
rootns.h
891 bytes
11/05/2021 09:03:26 AM
rw-r--r--
📄
rpz.h
11.87 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
rriterator.h
4.12 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
rrl.h
6.8 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
sdb.h
7.18 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
sdlz.h
13.76 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
secalg.h
1.67 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
secproto.h
1.52 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
soa.h
2.13 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
ssu.h
7.01 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
stats.h
24.11 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
tcpmsg.h
3.05 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
time.h
1.65 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
timer.h
1.03 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
tkey.h
7.48 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
tsec.h
2.88 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
tsig.h
8.3 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
ttl.h
1.83 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
types.h
14.19 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
update.h
1.96 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
validator.h
6.52 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
version.h
679 bytes
11/05/2021 09:03:26 AM
rw-r--r--
📄
view.h
34.51 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
xfrin.h
2.26 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
zone.h
64.01 KB
11/10/2025 03:33:48 AM
rw-r--r--
📄
zonekey.h
776 bytes
11/05/2021 09:03:26 AM
rw-r--r--
📄
zoneverify.h
1.36 KB
11/05/2021 09:03:26 AM
rw-r--r--
📄
zt.h
5.12 KB
11/10/2025 03:33:48 AM
rw-r--r--
Editing: ncache.h
Close
/* * 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 https://mozilla.org/MPL/2.0/. * * See the COPYRIGHT file distributed with this work for additional * information regarding copyright ownership. */ #ifndef DNS_NCACHE_H #define DNS_NCACHE_H 1 /***** ***** Module Info *****/ /*! \file dns/ncache.h *\brief * DNS Ncache * * XXX TBS XXX * * MP: *\li The caller must ensure any required synchronization. * * Reliability: *\li No anticipated impact. * * Resources: *\li TBS * * Security: *\li No anticipated impact. * * Standards: *\li RFC2308 */ #include <stdbool.h> #include <isc/lang.h> #include <isc/stdtime.h> #include <dns/types.h> ISC_LANG_BEGINDECLS /*% * _OMITDNSSEC: * Omit DNSSEC records when rendering. */ #define DNS_NCACHETOWIRE_OMITDNSSEC 0x0001 isc_result_t dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t minttl, dns_ttl_t maxttl, dns_rdataset_t *addedrdataset); isc_result_t dns_ncache_addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t minttl, dns_ttl_t maxttl, bool optout, dns_rdataset_t *addedrdataset); /*%< * Convert the authority data from 'message' into a negative cache * rdataset, and store it in 'cache' at 'node' with a TTL limited to * 'maxttl'. * * \li dns_ncache_add produces a negative cache entry with a trust of no * more than answer * \li dns_ncache_addoptout produces a negative cache entry which will have * a trust of secure if all the records that make up the entry are secure. * * The 'covers' argument is the RR type whose nonexistence we are caching, * or dns_rdatatype_any when caching a NXDOMAIN response. * * 'optout' indicates a DNS_RDATASETATTR_OPTOUT should be set. * * Note: *\li If 'addedrdataset' is not NULL, then it will be attached to the added * rdataset. See dns_db_addrdataset() for more details. * * Requires: *\li 'message' is a valid message with a properly formatting negative cache * authority section. * *\li The requirements of dns_db_addrdataset() apply to 'cache', 'node', * 'now', and 'addedrdataset'. * * Returns: *\li #ISC_R_SUCCESS *\li #ISC_R_NOSPACE * *\li Any result code of dns_db_addrdataset() is a possible result code * of dns_ncache_add(). */ isc_result_t dns_ncache_towire(dns_rdataset_t *rdataset, dns_compress_t *cctx, isc_buffer_t *target, unsigned int options, unsigned int *countp); /*%< * Convert the negative caching rdataset 'rdataset' to wire format, * compressing names as specified in 'cctx', and storing the result in * 'target'. If 'omit_dnssec' is set, DNSSEC records will not * be added to 'target'. * * Notes: *\li The number of RRs added to target will be added to *countp. * * Requires: *\li 'rdataset' is a valid negative caching rdataset. * *\li 'rdataset' is not empty. * *\li 'countp' is a valid pointer. * * Ensures: *\li On a return of ISC_R_SUCCESS, 'target' contains a wire format * for the data contained in 'rdataset'. Any error return leaves * the buffer unchanged. * *\li *countp has been incremented by the number of RRs added to * target. * * Returns: *\li #ISC_R_SUCCESS - all ok *\li #ISC_R_NOSPACE - 'target' doesn't have enough room * *\li Any error returned by dns_rdata_towire(), dns_rdataset_next(), * dns_name_towire(). */ isc_result_t dns_ncache_getrdataset(dns_rdataset_t *ncacherdataset, dns_name_t *name, dns_rdatatype_t type, dns_rdataset_t *rdataset); /*%< * Search the negative caching rdataset for an rdataset with the * specified name and type. * * Requires: *\li 'ncacherdataset' is a valid negative caching rdataset. * *\li 'ncacherdataset' is not empty. * *\li 'name' is a valid name. * *\li 'type' is not SIG, or a meta-RR type. * *\li 'rdataset' is a valid disassociated rdataset. * * Ensures: *\li On a return of ISC_R_SUCCESS, 'rdataset' is bound to the found * rdataset. * * Returns: *\li #ISC_R_SUCCESS - the rdataset was found. *\li #ISC_R_NOTFOUND - the rdataset was not found. * */ isc_result_t dns_ncache_getsigrdataset(dns_rdataset_t *ncacherdataset, dns_name_t *name, dns_rdatatype_t covers, dns_rdataset_t *rdataset); /*%< * Similar to dns_ncache_getrdataset() but get the rrsig that matches. */ void dns_ncache_current(dns_rdataset_t *ncacherdataset, dns_name_t *found, dns_rdataset_t *rdataset); /*%< * Extract the current rdataset and name from a ncache entry. * * Requires: * \li 'ncacherdataset' to be valid and to be a negative cache entry * \li 'found' to be valid. * \li 'rdataset' to be unassociated. */ ISC_LANG_ENDDECLS #endif /* DNS_NCACHE_H */