Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 18.191.107.181
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
include /
bind9 /
dns /
[ HOME SHELL ]
Name
Size
Permission
Action
acache.h
13.99
KB
-rw-r--r--
acl.h
7.1
KB
-rw-r--r--
adb.h
22.03
KB
-rw-r--r--
badcache.h
3.28
KB
-rw-r--r--
bit.h
856
B
-rw-r--r--
byaddr.h
3.89
KB
-rw-r--r--
cache.h
7.95
KB
-rw-r--r--
callbacks.h
2.22
KB
-rw-r--r--
catz.h
11.54
KB
-rw-r--r--
cert.h
1.43
KB
-rw-r--r--
client.h
21.52
KB
-rw-r--r--
clientinfo.h
1.95
KB
-rw-r--r--
compress.h
6.51
KB
-rw-r--r--
db.h
44.68
KB
-rw-r--r--
dbiterator.h
7.26
KB
-rw-r--r--
dbtable.h
3.09
KB
-rw-r--r--
diff.h
6.82
KB
-rw-r--r--
dispatch.h
16.05
KB
-rw-r--r--
dlz.h
10.38
KB
-rw-r--r--
dlz_dlopen.h
4.54
KB
-rw-r--r--
dns64.h
5.51
KB
-rw-r--r--
dnssec.h
12
KB
-rw-r--r--
dnstap.h
9.2
KB
-rw-r--r--
ds.h
1.19
KB
-rw-r--r--
dsdigest.h
1.68
KB
-rw-r--r--
dyndb.h
4.72
KB
-rw-r--r--
ecdb.h
808
B
-rw-r--r--
edns.h
721
B
-rw-r--r--
enumclass.h
1.19
KB
-rw-r--r--
enumtype.h
7.74
KB
-rw-r--r--
events.h
3.96
KB
-rw-r--r--
fixedname.h
1.56
KB
-rw-r--r--
forward.h
3.37
KB
-rw-r--r--
geoip.h
2.34
KB
-rw-r--r--
ipkeylist.h
2.12
KB
-rw-r--r--
iptable.h
1.6
KB
-rw-r--r--
journal.h
8.05
KB
-rw-r--r--
keydata.h
1.02
KB
-rw-r--r--
keyflags.h
1.25
KB
-rw-r--r--
keytable.h
9.28
KB
-rw-r--r--
keyvalues.h
4.06
KB
-rw-r--r--
lib.h
1.16
KB
-rw-r--r--
log.h
3.87
KB
-rw-r--r--
lookup.h
2.85
KB
-rw-r--r--
master.h
11.08
KB
-rw-r--r--
masterdump.h
12.35
KB
-rw-r--r--
message.h
37.27
KB
-rw-r--r--
name.h
36.49
KB
-rw-r--r--
ncache.h
4.8
KB
-rw-r--r--
nsec.h
2.88
KB
-rw-r--r--
nsec3.h
8.17
KB
-rw-r--r--
nta.h
4.32
KB
-rw-r--r--
opcode.h
1006
B
-rw-r--r--
order.h
1.95
KB
-rw-r--r--
peer.h
6.06
KB
-rw-r--r--
portlist.h
2.05
KB
-rw-r--r--
private.h
1.9
KB
-rw-r--r--
rbt.h
39.7
KB
-rw-r--r--
rcode.h
2.42
KB
-rw-r--r--
rdata.h
20.92
KB
-rw-r--r--
rdataclass.h
2.2
KB
-rw-r--r--
rdatalist.h
2.51
KB
-rw-r--r--
rdataset.h
20.47
KB
-rw-r--r--
rdatasetiter.h
3.83
KB
-rw-r--r--
rdataslab.h
4.29
KB
-rw-r--r--
rdatastruct.h
57.57
KB
-rw-r--r--
rdatatype.h
2.24
KB
-rw-r--r--
request.h
10.89
KB
-rw-r--r--
resolver.h
18.63
KB
-rw-r--r--
result.h
8.57
KB
-rw-r--r--
rootns.h
891
B
-rw-r--r--
rpz.h
10.09
KB
-rw-r--r--
rriterator.h
4.17
KB
-rw-r--r--
rrl.h
6.49
KB
-rw-r--r--
sdb.h
7.04
KB
-rw-r--r--
sdlz.h
13.87
KB
-rw-r--r--
secalg.h
1.67
KB
-rw-r--r--
secproto.h
1.52
KB
-rw-r--r--
soa.h
2.17
KB
-rw-r--r--
ssu.h
8.09
KB
-rw-r--r--
stats.h
13.15
KB
-rw-r--r--
tcpmsg.h
3.05
KB
-rw-r--r--
time.h
1.66
KB
-rw-r--r--
timer.h
1.02
KB
-rw-r--r--
tkey.h
7.43
KB
-rw-r--r--
tsec.h
2.88
KB
-rw-r--r--
tsig.h
8.06
KB
-rw-r--r--
ttl.h
1.93
KB
-rw-r--r--
types.h
13.65
KB
-rw-r--r--
update.h
1.61
KB
-rw-r--r--
validator.h
7.02
KB
-rw-r--r--
version.h
867
B
-rw-r--r--
view.h
34.69
KB
-rw-r--r--
xfrin.h
2.85
KB
-rw-r--r--
zone.h
59.8
KB
-rw-r--r--
zonekey.h
763
B
-rw-r--r--
zt.h
5.31
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dlz.h
/* * Portions 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 http://mozilla.org/MPL/2.0/. * * See the COPYRIGHT file distributed with this work for additional * information regarding copyright ownership. */ /* * Copyright (C) 2002 Stichting NLnet, Netherlands, stichting@nlnet.nl. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND STICHTING NLNET * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL * STICHTING NLNET BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE * USE OR PERFORMANCE OF THIS SOFTWARE. * * The development of Dynamically Loadable Zones (DLZ) for Bind 9 was * conceived and contributed by Rob Butler. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ROB BUTLER * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL * ROB BUTLER BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE * USE OR PERFORMANCE OF THIS SOFTWARE. */ /*! \file dns/dlz.h */ #ifndef DLZ_H #define DLZ_H 1 /***** ***** Module Info *****/ /* * DLZ Interface * * The DLZ interface allows zones to be looked up using a driver instead of * Bind's default in memory zone table. * * * Reliability: * No anticipated impact. * * Resources: * * Security: * No anticipated impact. * * Standards: * None. */ /***** ***** Imports *****/ #include <dns/clientinfo.h> #include <dns/name.h> #include <dns/types.h> #include <dns/view.h> #include <dst/dst.h> #include <isc/lang.h> ISC_LANG_BEGINDECLS /*** *** Types ***/ #define DNS_DLZ_MAGIC ISC_MAGIC('D','L','Z','D') #define DNS_DLZ_VALID(dlz) ISC_MAGIC_VALID(dlz, DNS_DLZ_MAGIC) typedef isc_result_t (*dns_dlzallowzonexfr_t)(void *driverarg, void *dbdata, isc_mem_t *mctx, dns_rdataclass_t rdclass, dns_name_t *name, isc_sockaddr_t *clientaddr, dns_db_t **dbp); /*%< * Method prototype. Drivers implementing the DLZ interface MUST * supply an allow zone transfer method. This method is called when * the DNS server is performing a zone transfer query. The driver's * method should return ISC_R_SUCCESS and a database pointer to the * name server if the zone is supported by the database, and zone * transfer is allowed. Otherwise it will return ISC_R_NOTFOUND if * the zone is not supported by the database, or ISC_R_NOPERM if zone * transfers are not allowed. If an error occurs it should return a * result code indicating the type of error. */ typedef isc_result_t (*dns_dlzcreate_t)(isc_mem_t *mctx, const char *dlzname, unsigned int argc, char *argv[], void *driverarg, void **dbdata); /*%< * Method prototype. Drivers implementing the DLZ interface MUST * supply a create method. This method is called when the DNS server * is starting up and creating drivers for use later. */ typedef void (*dns_dlzdestroy_t)(void *driverarg, void **dbdata); /*%< * Method prototype. Drivers implementing the DLZ interface MUST * supply a destroy method. This method is called when the DNS server * is shutting down and no longer needs the driver. */ typedef isc_result_t (*dns_dlzfindzone_t)(void *driverarg, void *dbdata, isc_mem_t *mctx, dns_rdataclass_t rdclass, dns_name_t *name, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_db_t **dbp); /*%< * Method prototype. Drivers implementing the DLZ interface MUST * supply a find zone method. This method is called when the DNS * server is performing a query. The find zone method will be called * with the longest possible name first, and continue to be called * with successively shorter domain names, until any of the following * occur: * * \li 1) a match is found, and the function returns (ISC_R_SUCCESS) * * \li 2) a problem occurs, and the functions returns anything other * than (ISC_R_NOTFOUND) * \li 3) we run out of domain name labels. I.E. we have tried the * shortest domain name * \li 4) the number of labels in the domain name is less than * min_labels for dns_dlzfindzone * * The driver's find zone method should return ISC_R_SUCCESS and a * database pointer to the name server if the zone is supported by the * database. Otherwise it will return ISC_R_NOTFOUND, and a null * pointer if the zone is not supported. If an error occurs it should * return a result code indicating the type of error. */ typedef isc_result_t (*dns_dlzconfigure_t)(void *driverarg, void *dbdata, dns_view_t *view, dns_dlzdb_t *dlzdb); /*%< * Method prototype. Drivers implementing the DLZ interface may * optionally supply a configure method. If supplied, this will be * called immediately after the create method is called. The driver * may call configuration functions during the configure call */ typedef isc_boolean_t (*dns_dlzssumatch_t)(dns_name_t *signer, dns_name_t *name, isc_netaddr_t *tcpaddr, dns_rdatatype_t type, const dst_key_t *key, void *driverarg, void *dbdata); /*%< * Method prototype. Drivers implementing the DLZ interface may * optionally supply a ssumatch method. If supplied, this will be * called to authorize update requests */ /*% the methods supplied by a DLZ driver */ typedef struct dns_dlzmethods { dns_dlzcreate_t create; dns_dlzdestroy_t destroy; dns_dlzfindzone_t findzone; dns_dlzallowzonexfr_t allowzonexfr; dns_dlzconfigure_t configure; dns_dlzssumatch_t ssumatch; } dns_dlzmethods_t; /*% information about a DLZ driver */ struct dns_dlzimplementation { const char *name; const dns_dlzmethods_t *methods; isc_mem_t *mctx; void *driverarg; ISC_LINK(dns_dlzimplementation_t) link; }; typedef isc_result_t (*dlzconfigure_callback_t)(dns_view_t *, dns_dlzdb_t *, dns_zone_t *); /*% An instance of a DLZ driver */ struct dns_dlzdb { unsigned int magic; isc_mem_t *mctx; dns_dlzimplementation_t *implementation; void *dbdata; dlzconfigure_callback_t configure_callback; isc_boolean_t search; char *dlzname; ISC_LINK(dns_dlzdb_t) link; dns_ssutable_t *ssutable; }; /*** *** Method declarations ***/ isc_result_t dns_dlzallowzonexfr(dns_view_t *view, dns_name_t *name, isc_sockaddr_t *clientaddr, dns_db_t **dbp); /*%< * This method is called when the DNS server is performing a zone * transfer query. It will call the DLZ driver's allow zone transfer * method. */ isc_result_t dns_dlzcreate(isc_mem_t *mctx, const char *dlzname, const char *drivername, unsigned int argc, char *argv[], dns_dlzdb_t **dbp); /*%< * This method is called when the DNS server is starting up and * creating drivers for use later. It will search the DLZ driver list * for 'drivername' and return a DLZ driver via dbp if a match is * found. If the DLZ driver supplies a create method, this function * will call it. */ void dns_dlzdestroy(dns_dlzdb_t **dbp); /*%< * This method is called when the DNS server is shutting down and no * longer needs the driver. If the DLZ driver supplies a destroy * methods, this function will call it. */ isc_result_t dns_dlzregister(const char *drivername, const dns_dlzmethods_t *methods, void *driverarg, isc_mem_t *mctx, dns_dlzimplementation_t **dlzimp); /*%< * Register a dynamically loadable zones (DLZ) driver for the database * type 'drivername', implemented by the functions in '*methods'. * * dlzimp must point to a NULL dlz_implementation_t pointer. That is, * dlzimp != NULL && *dlzimp == NULL. It will be assigned a value that * will later be used to identify the driver when deregistering it. */ isc_result_t dns_dlzstrtoargv(isc_mem_t *mctx, char *s, unsigned int *argcp, char ***argvp); /*%< * This method is called when the name server is starting up to parse * the DLZ driver command line from named.conf. Basically it splits * up a string into and argc / argv. The primary difference of this * method is items between braces { } are considered only 1 word. for * example the command line "this is { one grouped phrase } and this * isn't" would be parsed into: * * \li argv[0]: "this" * \li argv[1]: "is" * \li argv{2]: " one grouped phrase " * \li argv[3]: "and" * \li argv[4]: "this" * \li argv{5}: "isn't" * * braces should NOT be nested, more than one grouping in the command * line is allowed. Notice, argv[2] has an extra space at the * beginning and end. Extra spaces are not stripped between a * grouping. You can do so in your driver if needed, or be sure not * to put extra spaces before / after the braces. */ void dns_dlzunregister(dns_dlzimplementation_t **dlzimp); /*%< * Removes the dlz driver from the list of registered dlz drivers. * There must be no active dlz drivers of this type when this function * is called. */ typedef isc_result_t dns_dlz_writeablezone_t(dns_view_t *view, dns_dlzdb_t *dlzdb, const char *zone_name); dns_dlz_writeablezone_t dns_dlz_writeablezone; /*%< * creates a writeable DLZ zone. Must be called from within the * configure() method of a DLZ driver. */ isc_result_t dns_dlzconfigure(dns_view_t *view, dns_dlzdb_t *dlzdb, dlzconfigure_callback_t callback); /*%< * call a DLZ drivers configure method, if supplied */ isc_boolean_t dns_dlz_ssumatch(dns_dlzdb_t *dlzdatabase, dns_name_t *signer, dns_name_t *name, isc_netaddr_t *tcpaddr, dns_rdatatype_t type, const dst_key_t *key); /*%< * call a DLZ drivers ssumatch method, if supplied. Otherwise return ISC_FALSE */ ISC_LANG_ENDDECLS #endif /* DLZ_H */
Close