Current Path: > > > usr > > include > bind9 > dns
Operation : Linux premium88.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 Software : Apache Server IP : 185.61.154.216 | Your IP: 216.73.216.44 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
acache.h | File | 14232 bytes | February 20 2025 09:05:25. | |
acl.h | File | 7242 bytes | February 20 2025 09:05:25. | |
adb.h | File | 22595 bytes | February 20 2025 09:05:25. | |
badcache.h | File | 3369 bytes | February 20 2025 09:05:25. | |
bit.h | File | 807 bytes | February 20 2025 09:05:25. | |
byaddr.h | File | 4002 bytes | February 20 2025 09:05:25. | |
cache.h | File | 8643 bytes | February 20 2025 09:05:25. | |
callbacks.h | File | 2271 bytes | February 20 2025 09:05:25. | |
catz.h | File | 11833 bytes | February 20 2025 09:05:25. | |
cert.h | File | 1466 bytes | February 20 2025 09:05:25. | |
client.h | File | 22042 bytes | February 20 2025 09:05:25. | |
clientinfo.h | File | 2006 bytes | February 20 2025 09:05:25. | |
compress.h | File | 6646 bytes | February 20 2025 09:05:25. | |
db.h | File | 46567 bytes | February 20 2025 09:05:25. | |
dbiterator.h | File | 7422 bytes | February 20 2025 09:05:25. | |
dbtable.h | File | 3165 bytes | February 20 2025 09:05:25. | |
diff.h | File | 6980 bytes | February 20 2025 09:05:25. | |
dispatch.h | File | 16427 bytes | February 20 2025 09:05:25. | |
dlz.h | File | 10618 bytes | February 20 2025 09:05:25. | |
dlz_dlopen.h | File | 4677 bytes | February 20 2025 09:05:25. | |
dns64.h | File | 5635 bytes | February 20 2025 09:05:25. | |
dnssec.h | File | 12115 bytes | February 20 2025 09:05:25. | |
dnstap.h | File | 9364 bytes | February 20 2025 09:05:25. | |
ds.h | File | 1225 bytes | February 20 2025 09:05:25. | |
dsdigest.h | File | 1722 bytes | February 20 2025 09:05:25. | |
dyndb.h | File | 4835 bytes | February 20 2025 09:05:25. | |
ecdb.h | File | 809 bytes | February 20 2025 09:05:25. | |
edns.h | File | 722 bytes | February 20 2025 09:05:25. | |
enumclass.h | File | 1220 bytes | February 20 2025 09:05:25. | |
enumtype.h | File | 8300 bytes | February 20 2025 09:05:25. | |
events.h | File | 4059 bytes | February 20 2025 09:05:25. | |
fixedname.h | File | 1663 bytes | February 20 2025 09:05:25. | |
forward.h | File | 3452 bytes | February 20 2025 09:05:25. | |
geoip.h | File | 2792 bytes | February 20 2025 09:05:25. | |
ipkeylist.h | File | 2186 bytes | February 20 2025 09:05:25. | |
iptable.h | File | 1621 bytes | February 20 2025 09:05:25. | |
journal.h | File | 8227 bytes | February 20 2025 09:05:25. | |
keydata.h | File | 1059 bytes | February 20 2025 09:05:25. | |
keyflags.h | File | 1278 bytes | February 20 2025 09:05:25. | |
keytable.h | File | 9462 bytes | February 20 2025 09:05:25. | |
keyvalues.h | File | 4159 bytes | February 20 2025 09:05:25. | |
lib.h | File | 1192 bytes | February 20 2025 09:05:25. | |
log.h | File | 3964 bytes | February 20 2025 09:05:25. | |
lookup.h | File | 2924 bytes | February 20 2025 09:05:25. | |
master.h | File | 11289 bytes | February 20 2025 09:05:25. | |
masterdump.h | File | 12647 bytes | February 20 2025 09:05:25. | |
message.h | File | 38832 bytes | February 20 2025 09:05:25. | |
name.h | File | 37115 bytes | February 20 2025 09:05:25. | |
ncache.h | File | 4929 bytes | February 20 2025 09:05:25. | |
nsec.h | File | 2928 bytes | February 20 2025 09:05:25. | |
nsec3.h | File | 8032 bytes | February 20 2025 09:05:25. | |
nta.h | File | 4548 bytes | February 20 2025 09:05:25. | |
opcode.h | File | 1007 bytes | February 20 2025 09:05:25. | |
order.h | File | 1999 bytes | February 20 2025 09:05:25. | |
peer.h | File | 5966 bytes | February 20 2025 09:05:25. | |
portlist.h | File | 2101 bytes | February 20 2025 09:05:25. | |
private.h | File | 1935 bytes | February 20 2025 09:05:25. | |
rbt.h | File | 40618 bytes | February 20 2025 09:05:25. | |
rcode.h | File | 2481 bytes | February 20 2025 09:05:25. | |
rdata.h | File | 21613 bytes | February 20 2025 09:05:25. | |
rdataclass.h | File | 2257 bytes | February 20 2025 09:05:25. | |
rdatalist.h | File | 2569 bytes | February 20 2025 09:05:25. | |
rdataset.h | File | 21536 bytes | February 20 2025 09:05:25. | |
rdatasetiter.h | File | 3926 bytes | February 20 2025 09:05:25. | |
rdataslab.h | File | 4384 bytes | February 20 2025 09:05:25. | |
rdatastruct.h | File | 61584 bytes | February 20 2025 09:05:25. | |
rdatatype.h | File | 2298 bytes | February 20 2025 09:05:25. | |
request.h | File | 11156 bytes | February 20 2025 09:05:25. | |
resolver.h | File | 20227 bytes | February 20 2025 09:05:25. | |
result.h | File | 9284 bytes | February 20 2025 09:05:25. | |
rootns.h | File | 892 bytes | February 20 2025 09:05:25. | |
rpz.h | File | 10335 bytes | February 20 2025 09:05:25. | |
rriterator.h | File | 4230 bytes | February 20 2025 09:05:25. | |
rrl.h | File | 6640 bytes | February 20 2025 09:05:25. | |
sdb.h | File | 7224 bytes | February 20 2025 09:05:25. | |
sdlz.h | File | 14214 bytes | February 20 2025 09:05:25. | |
secalg.h | File | 1706 bytes | February 20 2025 09:05:25. | |
secproto.h | File | 1557 bytes | February 20 2025 09:05:25. | |
soa.h | File | 2186 bytes | February 20 2025 09:05:25. | |
ssu.h | File | 8308 bytes | February 20 2025 09:05:25. | |
stats.h | File | 13451 bytes | February 20 2025 09:05:25. | |
tcpmsg.h | File | 3145 bytes | February 20 2025 09:05:25. | |
time.h | File | 1695 bytes | February 20 2025 09:05:25. | |
timer.h | File | 1051 bytes | February 20 2025 09:05:25. | |
tkey.h | File | 7631 bytes | February 20 2025 09:05:25. | |
tsec.h | File | 2949 bytes | February 20 2025 09:05:25. | |
tsig.h | File | 8384 bytes | February 20 2025 09:05:25. | |
ttl.h | File | 1945 bytes | February 20 2025 09:05:25. | |
types.h | File | 14158 bytes | February 20 2025 09:05:25. | |
update.h | File | 1653 bytes | February 20 2025 09:05:25. | |
validator.h | File | 7161 bytes | February 20 2025 09:05:25. | |
version.h | File | 868 bytes | February 20 2025 09:05:25. | |
view.h | File | 35274 bytes | February 20 2025 09:05:25. | |
xfrin.h | File | 2924 bytes | February 20 2025 09:05:25. | |
zone.h | File | 60864 bytes | February 20 2025 09:05:25. | |
zonekey.h | File | 777 bytes | February 20 2025 09:05:25. | |
zt.h | File | 5562 bytes | February 20 2025 09:05:25. |
/* * 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_NTA_H #define DNS_NTA_H 1 /***** ***** Module Info *****/ /*! \file * \brief * The NTA module provides services for storing and retrieving negative * trust anchors, and determine whether a given domain is subject to * DNSSEC validation. */ #include <inttypes.h> #include <stdbool.h> #include <isc/buffer.h> #include <isc/lang.h> #include <isc/magic.h> #include <isc/rwlock.h> #include <isc/stdtime.h> #include <isc/task.h> #include <isc/timer.h> #include <dns/types.h> #include <dns/rdataset.h> #include <dns/resolver.h> #include <dns/view.h> ISC_LANG_BEGINDECLS struct dns_ntatable { /* Unlocked. */ unsigned int magic; dns_view_t *view; isc_rwlock_t rwlock; isc_taskmgr_t *taskmgr; isc_timermgr_t *timermgr; isc_task_t *task; /* Locked by rwlock. */ uint32_t references; dns_rbt_t *table; bool shuttingdown; }; #define NTATABLE_MAGIC ISC_MAGIC('N', 'T', 'A', 't') #define VALID_NTATABLE(nt) ISC_MAGIC_VALID(nt, NTATABLE_MAGIC) isc_result_t dns_ntatable_create(dns_view_t *view, isc_taskmgr_t *taskmgr, isc_timermgr_t *timermgr, dns_ntatable_t **ntatablep); /*%< * Create an NTA table in view 'view'. * * Requires: * *\li 'view' is a valid view. * *\li 'tmgr' is a valid timer manager. * *\li ntatablep != NULL && *ntatablep == NULL * * Ensures: * *\li On success, *ntatablep is a valid, empty NTA table. * * Returns: * *\li ISC_R_SUCCESS *\li Any other result indicates failure. */ void dns_ntatable_attach(dns_ntatable_t *source, dns_ntatable_t **targetp); /*%< * Attach *targetp to source. * * Requires: * *\li 'source' is a valid ntatable. * *\li 'targetp' points to a NULL dns_ntatable_t *. * * Ensures: * *\li *targetp is attached to source. */ void dns_ntatable_detach(dns_ntatable_t **ntatablep); /*%< * Detach *ntatablep from its ntatable. * * Requires: * *\li 'ntatablep' points to a valid ntatable. * * Ensures: * *\li *ntatablep is NULL. * *\li If '*ntatablep' is the last reference to the ntatable, * all resources used by the ntatable will be freed */ isc_result_t dns_ntatable_add(dns_ntatable_t *ntatable, dns_name_t *name, bool force, isc_stdtime_t now, uint32_t lifetime); /*%< * Add a negative trust anchor to 'ntatable' for name 'name', * which will expire at time 'now' + 'lifetime'. If 'force' is false, * then the name will be checked periodically to see if it's bogus; * if not, then the NTA will be allowed to expire early. * * Notes: * *\li If an NTA already exists in the table, its expiry time * is updated. * * Requires: * *\li 'ntatable' points to a valid ntatable. * *\li 'name' points to a valid name. * * Returns: * *\li ISC_R_SUCCESS * *\li Any other result indicates failure. */ isc_result_t dns_ntatable_delete(dns_ntatable_t *ntatable, dns_name_t *keyname); /*%< * Delete node(s) from 'ntatable' matching name 'keyname' * * Requires: * *\li 'ntatable' points to a valid ntatable. * *\li 'name' is not NULL * * Returns: * *\li ISC_R_SUCCESS * *\li Any other result indicates failure. */ bool dns_ntatable_covered(dns_ntatable_t *ntatable, isc_stdtime_t now, dns_name_t *name, dns_name_t *anchor); /*%< * Return true if 'name' is below a non-expired negative trust * anchor which in turn is at or below 'anchor'. * * If 'ntatable' has not been initialized, return false. * * Requires: * *\li 'ntatable' is NULL or is a valid ntatable. * *\li 'name' is a valid absolute name. */ isc_result_t dns_ntatable_totext(dns_ntatable_t *ntatable, isc_buffer_t **buf); /*%< * Dump the NTA table to buffer at 'buf' * * Requires: * \li "ntatable" is a valid table. * * \li "*buf" is a valid buffer. */ isc_result_t dns_ntatable_dump(dns_ntatable_t *ntatable, FILE *fp); /*%< * Dump the NTA table to the file opened as 'fp'. */ isc_result_t dns_ntatable_save(dns_ntatable_t *ntatable, FILE *fp); /*%< * Save the NTA table to the file opened as 'fp', for later loading. */ void dns_ntatable_shutdown(dns_ntatable_t *ntatable); /*%< * Cancel future checks to see if NTAs can be removed. */ ISC_LANG_ENDDECLS #endif /* DNS_NTA_H */
SILENT KILLER Tool