Linux s17.hosterpk.com 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
LiteSpeed
Server IP : 192.169.89.90 & Your IP : 216.73.217.173
Domains :
Cant Read [ /etc/named.conf ]
User : hamzalar
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
bind9 /
dns /
Delete
Unzip
Name
Size
Permission
Date
Action
acl.h
8.74
KB
-rw-r--r--
2025-01-20 13:39
adb.h
21.28
KB
-rw-r--r--
2025-01-20 13:39
badcache.h
3.28
KB
-rw-r--r--
2025-01-20 13:39
bit.h
788
B
-rw-r--r--
2025-01-20 13:39
byaddr.h
3.5
KB
-rw-r--r--
2025-01-20 13:39
cache.h
6.68
KB
-rw-r--r--
2025-01-20 13:39
callbacks.h
2.04
KB
-rw-r--r--
2025-01-20 13:39
catz.h
12.03
KB
-rw-r--r--
2025-01-20 13:39
cert.h
1.42
KB
-rw-r--r--
2025-01-20 13:39
client.h
9.18
KB
-rw-r--r--
2025-01-20 13:39
clientinfo.h
2.58
KB
-rw-r--r--
2025-01-20 13:39
compress.h
6.86
KB
-rw-r--r--
2025-01-20 13:39
db.h
49.1
KB
-rw-r--r--
2025-01-20 13:39
dbiterator.h
7.18
KB
-rw-r--r--
2025-01-20 13:39
diff.h
6.86
KB
-rw-r--r--
2025-01-20 13:39
dispatch.h
10.25
KB
-rw-r--r--
2026-03-27 00:00
dlz.h
10.61
KB
-rw-r--r--
2025-01-20 13:39
dlz_dlopen.h
4.27
KB
-rw-r--r--
2025-01-20 13:39
dns64.h
6.22
KB
-rw-r--r--
2025-01-20 13:39
dnsrps.h
2.49
KB
-rw-r--r--
2025-01-20 13:39
dnssec.h
12.86
KB
-rw-r--r--
2025-01-20 13:39
dnstap.h
9.95
KB
-rw-r--r--
2025-01-20 13:39
ds.h
1.62
KB
-rw-r--r--
2025-01-20 13:39
dsdigest.h
1.65
KB
-rw-r--r--
2025-01-20 13:39
dyndb.h
4.8
KB
-rw-r--r--
2025-01-20 13:39
ecs.h
1.91
KB
-rw-r--r--
2025-01-20 13:39
edns.h
763
B
-rw-r--r--
2025-01-20 13:39
enumclass.h
1.13
KB
-rw-r--r--
2026-03-27 00:00
enumtype.h
8.42
KB
-rw-r--r--
2026-03-27 00:00
events.h
4.33
KB
-rw-r--r--
2025-01-20 13:39
fixedname.h
1.59
KB
-rw-r--r--
2025-01-20 13:39
forward.h
3.13
KB
-rw-r--r--
2025-01-20 13:39
geoip.h
2.27
KB
-rw-r--r--
2025-01-20 13:39
ipkeylist.h
2.13
KB
-rw-r--r--
2025-01-20 13:39
iptable.h
1.46
KB
-rw-r--r--
2025-01-20 13:39
journal.h
9.46
KB
-rw-r--r--
2025-01-20 13:39
kasp.h
12.46
KB
-rw-r--r--
2025-01-20 13:39
keydata.h
1
KB
-rw-r--r--
2025-01-20 13:39
keyflags.h
1.22
KB
-rw-r--r--
2025-01-20 13:39
keymgr.h
3.99
KB
-rw-r--r--
2025-01-20 13:39
keytable.h
7.85
KB
-rw-r--r--
2025-01-20 13:39
keyvalues.h
3.96
KB
-rw-r--r--
2025-01-20 13:39
librpz.h
30.29
KB
-rw-r--r--
2025-01-20 13:39
log.h
3.91
KB
-rw-r--r--
2025-01-20 13:39
lookup.h
2.84
KB
-rw-r--r--
2025-01-20 13:39
master.h
8.52
KB
-rw-r--r--
2025-01-20 13:39
masterdump.h
9.64
KB
-rw-r--r--
2025-01-20 13:39
message.h
41.35
KB
-rw-r--r--
2026-03-27 00:00
name.h
36.35
KB
-rw-r--r--
2025-01-20 13:39
ncache.h
4.83
KB
-rw-r--r--
2025-01-20 13:39
nsec.h
3.43
KB
-rw-r--r--
2025-01-20 13:39
nsec3.h
8.05
KB
-rw-r--r--
2025-01-20 13:39
nta.h
4.6
KB
-rw-r--r--
2025-01-20 13:39
opcode.h
987
B
-rw-r--r--
2025-01-20 13:39
order.h
1.95
KB
-rw-r--r--
2025-01-20 13:39
peer.h
4.8
KB
-rw-r--r--
2025-01-20 13:39
private.h
1.89
KB
-rw-r--r--
2025-01-20 13:39
rbt.h
34.66
KB
-rw-r--r--
2025-01-20 13:39
rcode.h
2.4
KB
-rw-r--r--
2025-01-20 13:39
rdata.h
22.21
KB
-rw-r--r--
2025-01-20 13:39
rdataclass.h
2.17
KB
-rw-r--r--
2025-01-20 13:39
rdatalist.h
2.47
KB
-rw-r--r--
2025-01-20 13:39
rdataset.h
18.67
KB
-rw-r--r--
2025-01-20 13:39
rdatasetiter.h
3.81
KB
-rw-r--r--
2025-01-20 13:39
rdataslab.h
4.11
KB
-rw-r--r--
2025-01-20 13:39
rdatastruct.h
60.33
KB
-rw-r--r--
2026-03-27 00:00
rdatatype.h
2.21
KB
-rw-r--r--
2025-01-20 13:39
request.h
8.67
KB
-rw-r--r--
2026-03-27 00:00
resolver.h
18.7
KB
-rw-r--r--
2025-01-20 13:39
result.h
689
B
-rw-r--r--
2025-01-20 13:39
rootns.h
872
B
-rw-r--r--
2025-01-20 13:39
rpz.h
12.22
KB
-rw-r--r--
2025-01-20 13:39
rriterator.h
4.09
KB
-rw-r--r--
2025-01-20 13:39
rrl.h
6.8
KB
-rw-r--r--
2025-01-20 13:39
sdb.h
7.17
KB
-rw-r--r--
2025-01-20 13:39
sdlz.h
13.75
KB
-rw-r--r--
2025-01-20 13:39
secalg.h
1.65
KB
-rw-r--r--
2025-01-20 13:39
secproto.h
1.5
KB
-rw-r--r--
2025-01-20 13:39
soa.h
2.12
KB
-rw-r--r--
2025-01-20 13:39
ssu.h
7.6
KB
-rw-r--r--
2025-01-20 13:39
stats.h
24.15
KB
-rw-r--r--
2025-01-20 13:39
time.h
1.64
KB
-rw-r--r--
2025-01-20 13:39
tkey.h
7.46
KB
-rw-r--r--
2025-01-20 13:39
transport.h
5.93
KB
-rw-r--r--
2026-03-27 00:00
tsec.h
2.86
KB
-rw-r--r--
2025-01-20 13:39
tsig.h
8.18
KB
-rw-r--r--
2025-01-20 13:39
ttl.h
1.82
KB
-rw-r--r--
2025-01-20 13:39
types.h
14.03
KB
-rw-r--r--
2026-03-27 00:00
update.h
1.94
KB
-rw-r--r--
2025-01-20 13:39
validator.h
6.6
KB
-rw-r--r--
2025-01-20 13:39
view.h
36.94
KB
-rw-r--r--
2025-01-20 13:39
xfrin.h
2.26
KB
-rw-r--r--
2025-01-20 13:39
zone.h
63.88
KB
-rw-r--r--
2025-01-20 13:39
zonekey.h
754
B
-rw-r--r--
2025-01-20 13:39
zoneverify.h
1.4
KB
-rw-r--r--
2025-01-20 13:39
zt.h
5.02
KB
-rw-r--r--
2025-01-20 13:39
Save
Rename
/* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") * * SPDX-License-Identifier: MPL-2.0 * * 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. */ #pragma once #include <isc/netmgr.h> /***** ***** Module Info *****/ /*! \file dns/dispatch.h * \brief * DNS Dispatch Management * Shared UDP and single-use TCP dispatches for queries and responses. * * MP: * *\li All locking is performed internally to each dispatch. * Restrictions apply to dns_dispatch_done(). * * Reliability: * * Resources: * * Security: * *\li Depends on dns_message_t for prevention of buffer overruns. * * Standards: * *\li None. */ /*** *** Imports ***/ #include <inttypes.h> #include <stdbool.h> #include <isc/buffer.h> #include <isc/lang.h> #include <isc/mutex.h> #include <isc/netmgr.h> #include <isc/refcount.h> #include <isc/types.h> #include <dns/transport.h> #include <dns/types.h> /* Add -DDNS_DISPATCH_TRACE=1 to CFLAGS for detailed reference tracing */ ISC_LANG_BEGINDECLS /*% * This is a set of one or more dispatches which can be retrieved * round-robin fashion. */ struct dns_dispatchset { isc_mem_t *mctx; dns_dispatch_t **dispatches; int ndisp; int cur; isc_mutex_t lock; }; typedef enum dns_dispatchopt { DNS_DISPATCHOPT_FIXEDID = 1 << 0, DNS_DISPATCHOPT_UNSHARED = 1 << 1, /* Don't share this connection */ } dns_dispatchopt_t; /* */ #define DNS_DISPATCHOPT_FIXEDID 0x00000001U isc_result_t dns_dispatchmgr_create(isc_mem_t *mctx, isc_nm_t *nm, dns_dispatchmgr_t **mgrp); /*%< * Creates a new dispatchmgr object, and sets the available ports * to the default range (1024-65535). * * Requires: *\li 'mctx' be a valid memory context. * *\li 'nm' is a valid network manager. *\li mgrp != NULL && *mgrp == NULL * * Returns: *\li ISC_R_SUCCESS -- all ok * *\li anything else -- failure */ #if DNS_DISPATCH_TRACE #define dns_dispatchmgr_ref(ptr) \ dns_dispatchmgr__ref(ptr, __func__, __FILE__, __LINE__) #define dns_dispatchmgr_unref(ptr) \ dns_dispatchmgr__unref(ptr, __func__, __FILE__, __LINE__) #define dns_dispatchmgr_attach(ptr, ptrp) \ dns_dispatchmgr__attach(ptr, ptrp, __func__, __FILE__, __LINE__) #define dns_dispatchmgr_detach(ptrp) \ dns_dispatchmgr__detach(ptrp, __func__, __FILE__, __LINE__) ISC_REFCOUNT_TRACE_DECL(dns_dispatchmgr); #else ISC_REFCOUNT_DECL(dns_dispatchmgr); #endif /*%< * Attach/Detach to a dispatch manager. */ void dns_dispatchmgr_setblackhole(dns_dispatchmgr_t *mgr, dns_acl_t *blackhole); /*%< * Sets the dispatcher's "blackhole list," a list of addresses that will * be ignored by all dispatchers created by the dispatchmgr. * * Requires: * \li mgrp is a valid dispatchmgr * \li blackhole is a valid acl */ dns_acl_t * dns_dispatchmgr_getblackhole(dns_dispatchmgr_t *mgr); /*%< * Gets a pointer to the dispatcher's current blackhole list, * without incrementing its reference count. * * Requires: *\li mgr is a valid dispatchmgr * Returns: *\li A pointer to the current blackhole list, or NULL. */ isc_result_t dns_dispatchmgr_setavailports(dns_dispatchmgr_t *mgr, isc_portset_t *v4portset, isc_portset_t *v6portset); /*%< * Sets a list of UDP ports that can be used for outgoing UDP messages. * * Requires: *\li mgr is a valid dispatchmgr *\li v4portset is NULL or a valid port set *\li v6portset is NULL or a valid port set */ void dns_dispatchmgr_setstats(dns_dispatchmgr_t *mgr, isc_stats_t *stats); /*%< * Sets statistics counter for the dispatchmgr. This function is expected to * be called only on zone creation (when necessary). * Once installed, it cannot be removed or replaced. Also, there is no * interface to get the installed stats from the zone; the caller must keep the * stats to reference (e.g. dump) it later. * * Requires: *\li mgr is a valid dispatchmgr with no managed dispatch. *\li stats is a valid statistics supporting resolver statistics counters * (see dns/stats.h). */ isc_result_t dns_dispatch_createudp(dns_dispatchmgr_t *mgr, const isc_sockaddr_t *localaddr, dns_dispatch_t **dispp); /*%< * Create a new UDP dispatch. * * Requires: *\li All pointer parameters be valid for their respective types. * *\li dispp != NULL && *disp == NULL * * Returns: *\li ISC_R_SUCCESS -- success. * *\li Anything else -- failure. */ isc_result_t dns_dispatch_createtcp(dns_dispatchmgr_t *mgr, const isc_sockaddr_t *localaddr, const isc_sockaddr_t *destaddr, dns_dispatch_t **dispp); /*%< * Create a new TCP dns_dispatch. * * Requires: * *\li mgr is a valid dispatch manager. * *\li sock is a valid. * * Returns: *\li ISC_R_SUCCESS -- success. * *\li Anything else -- failure. */ isc_result_t dns_dispatch_createtcp2(dns_dispatchmgr_t *mgr, const isc_sockaddr_t *localaddr, const isc_sockaddr_t *destaddr, dns_transport_t *transport, dns_dispatchopt_t options, dns_dispatch_t **dispp); #if DNS_DISPATCH_TRACE #define dns_dispatch_ref(ptr) \ dns_dispatch__ref(ptr, __func__, __FILE__, __LINE__) #define dns_dispatch_unref(ptr) \ dns_dispatch__unref(ptr, __func__, __FILE__, __LINE__) #define dns_dispatch_attach(ptr, ptrp) \ dns_dispatch__attach(ptr, ptrp, __func__, __FILE__, __LINE__) #define dns_dispatch_detach(ptrp) \ dns_dispatch__detach(ptrp, __func__, __FILE__, __LINE__) ISC_REFCOUNT_TRACE_DECL(dns_dispatch); #else ISC_REFCOUNT_DECL(dns_dispatch); #endif /*%< * Attach/Detach to a dispatch handle. * * Requires: *\li disp is valid. * *\li dispp != NULL && *dispp == NULL */ isc_result_t dns_dispatch_connect(dns_dispentry_t *resp); /*%< * Connect to the remote server configured in 'resp' and run the * connect callback that was set up via dns_dispatch_add(). * * Requires: *\li 'resp' is valid. */ void dns_dispatch_send(dns_dispentry_t *resp, isc_region_t *r); /*%< * Send region 'r' using the socket in 'resp', then run the specified * callback. * * Requires: *\li 'resp' is valid. */ void dns_dispatch_resume(dns_dispentry_t *resp, uint16_t timeout); /*%< * Reset the read timeout in the socket associated with 'resp' and * continue reading. * * Requires: *\li 'resp' is valid. */ isc_result_t dns_dispatch_gettcp(dns_dispatchmgr_t *mgr, const isc_sockaddr_t *destaddr, const isc_sockaddr_t *localaddr, dns_dispatch_t **dispp); /* * Attempt to connect to a existing TCP connection. */ isc_result_t dns_dispatch_gettcp2(dns_dispatchmgr_t *mgr, const isc_sockaddr_t *destaddr, const isc_sockaddr_t *localaddr, dns_transport_t *transport, dns_dispatch_t **dispp); typedef void (*dispatch_cb_t)(isc_result_t eresult, isc_region_t *region, void *cbarg); isc_result_t dns_dispatch_add(dns_dispatch_t *disp, unsigned int options, unsigned int timeout, const isc_sockaddr_t *dest, dispatch_cb_t connected, dispatch_cb_t sent, dispatch_cb_t response, void *arg, dns_messageid_t *idp, dns_dispentry_t **resp); isc_result_t dns_dispatch_add2(dns_dispatch_t *disp, unsigned int options, unsigned int timeout, const isc_sockaddr_t *dest, dns_transport_t *transport, isc_tlsctx_cache_t *tlsctx_cache, dispatch_cb_t connected, dispatch_cb_t sent, dispatch_cb_t response, void *arg, dns_messageid_t *idp, dns_dispentry_t **respp); /*%< * Add a response entry for this dispatch. * * "*idp" is filled in with the assigned message ID, and *resp is filled in * with the dispatch entry object. * * The 'connected' and 'sent' callbacks are run to inform the caller when * the connect and send functions are complete. The 'timedout' callback * is run to inform the caller that a read has timed out; it may optionally * reset the read timer. The 'response' callback is run for recv results * (response packets, timeouts, or cancellations). * * All the callback functions are sent 'arg' as a parameter. * * Requires: *\li "idp" be non-NULL. * *\li "response" and "arg" be set as appropriate. * *\li "dest" be non-NULL and valid. * *\li "resp" be non-NULL and *resp be NULL * * Ensures: * *\li <id, dest> is a unique tuple. That means incoming messages * are identifiable. * * Returns: * *\li ISC_R_SUCCESS -- all is well. *\li ISC_R_NOMEMORY -- memory could not be allocated. *\li ISC_R_NOMORE -- no more message ids can be allocated * for this destination. */ void dns_dispatch_done(dns_dispentry_t **respp); /*< * Disconnect a dispatch response entry from its dispatch, cancel all * pending connects and reads in a dispatch entry and shut it down. * * Requires: *\li "resp" != NULL and "*resp" contain a value previously allocated * by dns_dispatch_add(); */ isc_result_t dns_dispatch_getlocaladdress(dns_dispatch_t *disp, isc_sockaddr_t *addrp); /*%< * Return the local address for this dispatch. * This currently only works for dispatches using UDP sockets. * * Requires: *\li disp is valid. *\li addrp to be non NULL. * * Returns: *\li ISC_R_SUCCESS *\li ISC_R_NOTIMPLEMENTED */ isc_result_t dns_dispentry_getlocaladdress(dns_dispentry_t *resp, isc_sockaddr_t *addrp); /*%< * Return the local address for this dispatch entry. * * Requires: *\li resp is valid. *\li addrp to be non NULL. * * Returns: *\li ISC_R_SUCCESS *\li ISC_R_NOTIMPLEMENTED */ dns_dispatch_t * dns_dispatchset_get(dns_dispatchset_t *dset); /*%< * Retrieve the next dispatch from dispatch set 'dset', and increment * the round-robin counter. * * Requires: *\li dset != NULL */ isc_result_t dns_dispatchset_create(isc_mem_t *mctx, dns_dispatch_t *source, dns_dispatchset_t **dsetp, int n); /*%< * Given a valid dispatch 'source', create a dispatch set containing * 'n' UDP dispatches, with the remainder filled out by clones of the * source. * * Requires: *\li source is a valid UDP dispatcher *\li dsetp != NULL, *dsetp == NULL */ void dns_dispatchset_destroy(dns_dispatchset_t **dsetp); /*%< * Dereference all the dispatches in '*dsetp', free the dispatchset * memory, and set *dsetp to NULL. * * Requires: *\li dset is valid */ isc_result_t dns_dispatch_getnext(dns_dispentry_t *resp); /*%< * Trigger the sending of the next item off the dispatch queue if present. * * Requires: *\li resp is valid */ ISC_LANG_ENDDECLS