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.216.41
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 <inttypes.h> #include <stdbool.h> #include <isc/lang.h> #include <isc/region.h> #include <dns/name.h> #include <dns/types.h> ISC_LANG_BEGINDECLS /*! \file dns/compress.h * Direct manipulation of the structures is strongly discouraged. * * A name compression context handles compression of multiple DNS names * in relation to a single DNS message. The context can be used to * selectively turn on/off compression for specific names (depending on * the RR type) by using \c dns_compress_setmethods(). Alternately, * compression can be disabled completely using \c * dns_compress_disable(). * * \c dns_compress_setmethods() is intended for use by RDATA towire() * implementations, whereas \c dns_compress_disable() is intended to be * used by a nameserver's configuration manager. */ #define DNS_COMPRESS_NONE 0x00 /*%< no compression */ #define DNS_COMPRESS_GLOBAL14 0x01 /*%< "normal" compression. */ #define DNS_COMPRESS_ALL 0x01 /*%< all compression. */ #define DNS_COMPRESS_CASESENSITIVE 0x02 /*%< case sensitive compression. */ #define DNS_COMPRESS_ENABLED 0x04 /* * DNS_COMPRESS_TABLESIZE must be a power of 2. The compress code * utilizes this assumption. */ #define DNS_COMPRESS_TABLEBITS 6 #define DNS_COMPRESS_TABLESIZE (1U << DNS_COMPRESS_TABLEBITS) #define DNS_COMPRESS_TABLEMASK (DNS_COMPRESS_TABLESIZE - 1) #define DNS_COMPRESS_INITIALNODES 24 #define DNS_COMPRESS_ARENA_SIZE 640 typedef struct dns_compressnode dns_compressnode_t; struct dns_compressnode { dns_compressnode_t *next; uint16_t offset; uint16_t count; isc_region_t r; dns_name_t name; }; struct dns_compress { unsigned int magic; /*%< Magic number. */ unsigned int allowed; /*%< Allowed methods. */ int edns; /*%< Edns version or -1. */ /*% Global compression table. */ dns_compressnode_t *table[DNS_COMPRESS_TABLESIZE]; /*% Preallocated arena for names. */ unsigned char arena[DNS_COMPRESS_ARENA_SIZE]; off_t arena_off; /*% Preallocated nodes for the table. */ dns_compressnode_t initialnodes[DNS_COMPRESS_INITIALNODES]; uint16_t count; /*%< Number of nodes. */ isc_mem_t *mctx; /*%< Memory context. */ }; typedef enum { DNS_DECOMPRESS_ANY, /*%< Any compression */ DNS_DECOMPRESS_STRICT, /*%< Allowed compression */ DNS_DECOMPRESS_NONE /*%< No compression */ } dns_decompresstype_t; struct dns_decompress { unsigned int magic; /*%< Magic number. */ unsigned int allowed; /*%< Allowed methods. */ int edns; /*%< Edns version or -1. */ dns_decompresstype_t type; /*%< Strict checking */ }; isc_result_t dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx); /*%< * Initialise the compression context structure pointed to by * 'cctx'. A freshly initialized context has name compression * enabled, but no methods are set. Please use \c * dns_compress_setmethods() to set a compression method. * * Requires: * \li 'cctx' is a valid dns_compress_t structure. * \li 'mctx' is an initialized memory context. * Ensures: * \li cctx->global is initialized. * * Returns: * \li #ISC_R_SUCCESS */ void dns_compress_invalidate(dns_compress_t *cctx); /*%< * Invalidate the compression structure pointed to by cctx. * * Requires: *\li 'cctx' to be initialized. */ void dns_compress_setmethods(dns_compress_t *cctx, unsigned int allowed); /*%< * Sets allowed compression methods. * * Requires: *\li 'cctx' to be initialized. */ unsigned int dns_compress_getmethods(dns_compress_t *cctx); /*%< * Gets allowed compression methods. * * Requires: *\li 'cctx' to be initialized. * * Returns: *\li allowed compression bitmap. */ void dns_compress_disable(dns_compress_t *cctx); /*%< * Disables all name compression in the context. Once disabled, * name compression cannot currently be re-enabled. * * Requires: *\li 'cctx' to be initialized. * */ void dns_compress_setsensitive(dns_compress_t *cctx, bool sensitive); /* * Preserve the case of compressed domain names. * * Requires: * 'cctx' to be initialized. */ bool dns_compress_getsensitive(dns_compress_t *cctx); /* * Return whether case is to be preserved when compressing * domain names. * * Requires: * 'cctx' to be initialized. */ int dns_compress_getedns(dns_compress_t *cctx); /*%< * Gets edns value. * * Requires: *\li 'cctx' to be initialized. * * Returns: *\li -1 .. 255 */ bool dns_compress_findglobal(dns_compress_t *cctx, const dns_name_t *name, dns_name_t *prefix, uint16_t *offset); /*%< * Finds longest possible match of 'name' in the global compression table. * * Requires: *\li 'cctx' to be initialized. *\li 'name' to be a absolute name. *\li 'prefix' to be initialized. *\li 'offset' to point to an uint16_t. * * Ensures: *\li 'prefix' and 'offset' are valid if true is returned. * * Returns: *\li #true / #false */ void dns_compress_add(dns_compress_t *cctx, const dns_name_t *name, const dns_name_t *prefix, uint16_t offset); /*%< * Add compression pointers for 'name' to the compression table, * not replacing existing pointers. * * Requires: *\li 'cctx' initialized * *\li 'name' must be initialized and absolute, and must remain * valid until the message compression is complete. * *\li 'prefix' must be a prefix returned by * dns_compress_findglobal(), or the same as 'name'. */ void dns_compress_rollback(dns_compress_t *cctx, uint16_t offset); /*%< * Remove any compression pointers from global table >= offset. * * Requires: *\li 'cctx' is initialized. */ void dns_decompress_init(dns_decompress_t *dctx, int edns, dns_decompresstype_t type); /*%< * Initializes 'dctx'. * Records 'edns' and 'type' into the structure. * * Requires: *\li 'dctx' to be a valid pointer. */ void dns_decompress_invalidate(dns_decompress_t *dctx); /*%< * Invalidates 'dctx'. * * Requires: *\li 'dctx' to be initialized */ void dns_decompress_setmethods(dns_decompress_t *dctx, unsigned int allowed); /*%< * Sets 'dctx->allowed' to 'allowed'. * * Requires: *\li 'dctx' to be initialized */ unsigned int dns_decompress_getmethods(dns_decompress_t *dctx); /*%< * Returns 'dctx->allowed' * * Requires: *\li 'dctx' to be initialized */ int dns_decompress_edns(dns_decompress_t *dctx); /*%< * Returns 'dctx->edns' * * Requires: *\li 'dctx' to be initialized */ dns_decompresstype_t dns_decompress_type(dns_decompress_t *dctx); /*%< * Returns 'dctx->type' * * Requires: *\li 'dctx' to be initialized */ ISC_LANG_ENDDECLS