Linux premium82.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
LiteSpeed
Server IP : 185.61.154.194 & Your IP : 216.73.216.196
Domains :
Cant Read [ /etc/named.conf ]
User : evicodqw
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
hc_python /
lib /
python3.12 /
site-packages /
dns /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-04-15 12:41
dnssecalgs
[ DIR ]
drwxr-xr-x
2025-04-15 12:41
quic
[ DIR ]
drwxr-xr-x
2025-04-15 12:41
rdtypes
[ DIR ]
drwxr-xr-x
2025-04-15 12:41
__init__.py
1.62
KB
-rw-r--r--
2025-04-15 12:41
_asyncbackend.py
2.34
KB
-rw-r--r--
2025-04-15 12:41
_asyncio_backend.py
8.84
KB
-rw-r--r--
2025-04-15 12:41
_ddr.py
5.12
KB
-rw-r--r--
2025-04-15 12:41
_features.py
2.43
KB
-rw-r--r--
2025-04-15 12:41
_immutable_ctx.py
2.4
KB
-rw-r--r--
2025-04-15 12:41
_trio_backend.py
8.27
KB
-rw-r--r--
2025-04-15 12:41
asyncbackend.py
2.73
KB
-rw-r--r--
2025-04-15 12:41
asyncquery.py
30.1
KB
-rw-r--r--
2025-04-15 12:41
asyncresolver.py
17.43
KB
-rw-r--r--
2025-04-15 12:41
dnssec.py
40.74
KB
-rw-r--r--
2025-04-15 12:41
dnssectypes.py
1.76
KB
-rw-r--r--
2025-04-15 12:41
e164.py
3.88
KB
-rw-r--r--
2025-04-15 12:41
edns.py
16.69
KB
-rw-r--r--
2025-04-15 12:41
entropy.py
4.14
KB
-rw-r--r--
2025-04-15 12:41
enum.py
3.6
KB
-rw-r--r--
2025-04-15 12:41
exception.py
5.81
KB
-rw-r--r--
2025-04-15 12:41
flags.py
2.69
KB
-rw-r--r--
2025-04-15 12:41
grange.py
2.09
KB
-rw-r--r--
2025-04-15 12:41
immutable.py
1.97
KB
-rw-r--r--
2025-04-15 12:41
inet.py
5.64
KB
-rw-r--r--
2025-04-15 12:41
ipv4.py
2.49
KB
-rw-r--r--
2025-04-15 12:41
ipv6.py
6.4
KB
-rw-r--r--
2025-04-15 12:41
message.py
66.59
KB
-rw-r--r--
2025-04-15 12:41
name.py
41.78
KB
-rw-r--r--
2025-04-15 12:41
namedict.py
3.91
KB
-rw-r--r--
2025-04-15 12:41
nameserver.py
9.88
KB
-rw-r--r--
2025-04-15 12:41
node.py
12.37
KB
-rw-r--r--
2025-04-15 12:41
opcode.py
2.67
KB
-rw-r--r--
2025-04-15 12:41
py.typed
0
B
-rw-r--r--
2025-04-15 12:41
query.py
54.98
KB
-rw-r--r--
2025-04-15 12:41
rcode.py
4.06
KB
-rw-r--r--
2025-04-15 12:41
rdata.py
30.29
KB
-rw-r--r--
2025-04-15 12:41
rdataclass.py
2.91
KB
-rw-r--r--
2025-04-15 12:41
rdataset.py
16.27
KB
-rw-r--r--
2025-04-15 12:41
rdatatype.py
7.27
KB
-rw-r--r--
2025-04-15 12:41
renderer.py
10.99
KB
-rw-r--r--
2025-04-15 12:41
resolver.py
72
KB
-rw-r--r--
2025-04-15 12:41
reversename.py
3.74
KB
-rw-r--r--
2025-04-15 12:41
rrset.py
8.96
KB
-rw-r--r--
2025-04-15 12:41
serial.py
3.52
KB
-rw-r--r--
2025-04-15 12:41
set.py
9
KB
-rw-r--r--
2025-04-15 12:41
tokenizer.py
23.03
KB
-rw-r--r--
2025-04-15 12:41
transaction.py
22.06
KB
-rw-r--r--
2025-04-15 12:41
tsig.py
11.15
KB
-rw-r--r--
2025-04-15 12:41
tsigkeyring.py
2.57
KB
-rw-r--r--
2025-04-15 12:41
ttl.py
2.91
KB
-rw-r--r--
2025-04-15 12:41
update.py
11.96
KB
-rw-r--r--
2025-04-15 12:41
version.py
1.88
KB
-rw-r--r--
2025-04-15 12:41
versioned.py
11.49
KB
-rw-r--r--
2025-04-15 12:41
win32util.py
8.67
KB
-rw-r--r--
2025-04-15 12:41
wire.py
2.76
KB
-rw-r--r--
2025-04-15 12:41
xfr.py
12.96
KB
-rw-r--r--
2025-04-15 12:41
zone.py
50.87
KB
-rw-r--r--
2025-04-15 12:41
zonefile.py
27.27
KB
-rw-r--r--
2025-04-15 12:41
zonetypes.py
690
B
-rw-r--r--
2025-04-15 12:41
Save
Rename
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license # Copyright (C) 2006-2017 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation 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 NOMINUM DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM 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. """DNS Reverse Map Names.""" import binascii import dns.ipv4 import dns.ipv6 import dns.name ipv4_reverse_domain = dns.name.from_text("in-addr.arpa.") ipv6_reverse_domain = dns.name.from_text("ip6.arpa.") def from_address( text: str, v4_origin: dns.name.Name = ipv4_reverse_domain, v6_origin: dns.name.Name = ipv6_reverse_domain, ) -> dns.name.Name: """Convert an IPv4 or IPv6 address in textual form into a Name object whose value is the reverse-map domain name of the address. *text*, a ``str``, is an IPv4 or IPv6 address in textual form (e.g. '127.0.0.1', '::1') *v4_origin*, a ``dns.name.Name`` to append to the labels corresponding to the address if the address is an IPv4 address, instead of the default (in-addr.arpa.) *v6_origin*, a ``dns.name.Name`` to append to the labels corresponding to the address if the address is an IPv6 address, instead of the default (ip6.arpa.) Raises ``dns.exception.SyntaxError`` if the address is badly formed. Returns a ``dns.name.Name``. """ try: v6 = dns.ipv6.inet_aton(text) if dns.ipv6.is_mapped(v6): parts = ["%d" % byte for byte in v6[12:]] origin = v4_origin else: parts = [x for x in str(binascii.hexlify(v6).decode())] origin = v6_origin except Exception: parts = ["%d" % byte for byte in dns.ipv4.inet_aton(text)] origin = v4_origin return dns.name.from_text(".".join(reversed(parts)), origin=origin) def to_address( name: dns.name.Name, v4_origin: dns.name.Name = ipv4_reverse_domain, v6_origin: dns.name.Name = ipv6_reverse_domain, ) -> str: """Convert a reverse map domain name into textual address form. *name*, a ``dns.name.Name``, an IPv4 or IPv6 address in reverse-map name form. *v4_origin*, a ``dns.name.Name`` representing the top-level domain for IPv4 addresses, instead of the default (in-addr.arpa.) *v6_origin*, a ``dns.name.Name`` representing the top-level domain for IPv4 addresses, instead of the default (ip6.arpa.) Raises ``dns.exception.SyntaxError`` if the name does not have a reverse-map form. Returns a ``str``. """ if name.is_subdomain(v4_origin): name = name.relativize(v4_origin) text = b".".join(reversed(name.labels)) # run through inet_ntoa() to check syntax and make pretty. return dns.ipv4.inet_ntoa(dns.ipv4.inet_aton(text)) elif name.is_subdomain(v6_origin): name = name.relativize(v6_origin) labels = list(reversed(name.labels)) parts = [] for i in range(0, len(labels), 4): parts.append(b"".join(labels[i : i + 4])) text = b":".join(parts) # run through inet_ntoa() to check syntax and make pretty. return dns.ipv6.inet_ntoa(dns.ipv6.inet_aton(text)) else: raise dns.exception.SyntaxError("unknown reverse-map address family")