Linux premium312.web-hosting.com 4.18.0-553.16.1.lve.1.el8.x86_64 #1 SMP Mon Sep 23 20:16:18 UTC 2024 x86_64
LiteSpeed
Server IP : 162.254.39.59 & Your IP : 216.73.217.8
Domains :
Cant Read [ /etc/named.conf ]
User : vpnsjail
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-04 08:04
dnssecalgs
[ DIR ]
drwxr-xr-x
2025-04-04 08:04
quic
[ DIR ]
drwxr-xr-x
2025-04-04 08:04
rdtypes
[ DIR ]
drwxr-xr-x
2025-04-04 08:04
__init__.py
1.62
KB
-rw-r--r--
2025-04-04 08:04
_asyncbackend.py
2.34
KB
-rw-r--r--
2025-04-04 08:04
_asyncio_backend.py
8.84
KB
-rw-r--r--
2025-04-04 08:04
_ddr.py
5.12
KB
-rw-r--r--
2025-04-04 08:04
_features.py
2.43
KB
-rw-r--r--
2025-04-04 08:04
_immutable_ctx.py
2.4
KB
-rw-r--r--
2025-04-04 08:04
_trio_backend.py
8.27
KB
-rw-r--r--
2025-04-04 08:04
asyncbackend.py
2.73
KB
-rw-r--r--
2025-04-04 08:04
asyncquery.py
30.1
KB
-rw-r--r--
2025-04-04 08:04
asyncresolver.py
17.43
KB
-rw-r--r--
2025-04-04 08:04
dnssec.py
40.74
KB
-rw-r--r--
2025-04-04 08:04
dnssectypes.py
1.76
KB
-rw-r--r--
2025-04-04 08:04
e164.py
3.88
KB
-rw-r--r--
2025-04-04 08:04
edns.py
16.69
KB
-rw-r--r--
2025-04-04 08:04
entropy.py
4.14
KB
-rw-r--r--
2025-04-04 08:04
enum.py
3.6
KB
-rw-r--r--
2025-04-04 08:04
exception.py
5.81
KB
-rw-r--r--
2025-04-04 08:04
flags.py
2.69
KB
-rw-r--r--
2025-04-04 08:04
grange.py
2.09
KB
-rw-r--r--
2025-04-04 08:04
immutable.py
1.97
KB
-rw-r--r--
2025-04-04 08:04
inet.py
5.64
KB
-rw-r--r--
2025-04-04 08:04
ipv4.py
2.49
KB
-rw-r--r--
2025-04-04 08:04
ipv6.py
6.4
KB
-rw-r--r--
2025-04-04 08:04
message.py
66.59
KB
-rw-r--r--
2025-04-04 08:04
name.py
41.78
KB
-rw-r--r--
2025-04-04 08:04
namedict.py
3.91
KB
-rw-r--r--
2025-04-04 08:04
nameserver.py
9.88
KB
-rw-r--r--
2025-04-04 08:04
node.py
12.37
KB
-rw-r--r--
2025-04-04 08:04
opcode.py
2.67
KB
-rw-r--r--
2025-04-04 08:04
py.typed
0
B
-rw-r--r--
2025-04-04 08:04
query.py
54.98
KB
-rw-r--r--
2025-04-04 08:04
rcode.py
4.06
KB
-rw-r--r--
2025-04-04 08:04
rdata.py
30.29
KB
-rw-r--r--
2025-04-04 08:04
rdataclass.py
2.91
KB
-rw-r--r--
2025-04-04 08:04
rdataset.py
16.27
KB
-rw-r--r--
2025-04-04 08:04
rdatatype.py
7.27
KB
-rw-r--r--
2025-04-04 08:04
renderer.py
10.99
KB
-rw-r--r--
2025-04-04 08:04
resolver.py
72
KB
-rw-r--r--
2025-04-04 08:04
reversename.py
3.74
KB
-rw-r--r--
2025-04-04 08:04
rrset.py
8.96
KB
-rw-r--r--
2025-04-04 08:04
serial.py
3.52
KB
-rw-r--r--
2025-04-04 08:04
set.py
9
KB
-rw-r--r--
2025-04-04 08:04
tokenizer.py
23.03
KB
-rw-r--r--
2025-04-04 08:04
transaction.py
22.06
KB
-rw-r--r--
2025-04-04 08:04
tsig.py
11.15
KB
-rw-r--r--
2025-04-04 08:04
tsigkeyring.py
2.57
KB
-rw-r--r--
2025-04-04 08:04
ttl.py
2.91
KB
-rw-r--r--
2025-04-04 08:04
update.py
11.96
KB
-rw-r--r--
2025-04-04 08:04
version.py
1.88
KB
-rw-r--r--
2025-04-04 08:04
versioned.py
11.49
KB
-rw-r--r--
2025-04-04 08:04
win32util.py
8.67
KB
-rw-r--r--
2025-04-04 08:04
wire.py
2.76
KB
-rw-r--r--
2025-04-04 08:04
xfr.py
12.96
KB
-rw-r--r--
2025-04-04 08:04
zone.py
50.87
KB
-rw-r--r--
2025-04-04 08:04
zonefile.py
27.27
KB
-rw-r--r--
2025-04-04 08:04
zonetypes.py
690
B
-rw-r--r--
2025-04-04 08:04
Save
Rename
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license from typing import Dict import dns.exception # pylint: disable=unused-import from dns._asyncbackend import ( # noqa: F401 lgtm[py/unused-import] Backend, DatagramSocket, Socket, StreamSocket, ) # pylint: enable=unused-import _default_backend = None _backends: Dict[str, Backend] = {} # Allow sniffio import to be disabled for testing purposes _no_sniffio = False class AsyncLibraryNotFoundError(dns.exception.DNSException): pass def get_backend(name: str) -> Backend: """Get the specified asynchronous backend. *name*, a ``str``, the name of the backend. Currently the "trio" and "asyncio" backends are available. Raises NotImplementedError if an unknown backend name is specified. """ # pylint: disable=import-outside-toplevel,redefined-outer-name backend = _backends.get(name) if backend: return backend if name == "trio": import dns._trio_backend backend = dns._trio_backend.Backend() elif name == "asyncio": import dns._asyncio_backend backend = dns._asyncio_backend.Backend() else: raise NotImplementedError(f"unimplemented async backend {name}") _backends[name] = backend return backend def sniff() -> str: """Attempt to determine the in-use asynchronous I/O library by using the ``sniffio`` module if it is available. Returns the name of the library, or raises AsyncLibraryNotFoundError if the library cannot be determined. """ # pylint: disable=import-outside-toplevel try: if _no_sniffio: raise ImportError import sniffio try: return sniffio.current_async_library() except sniffio.AsyncLibraryNotFoundError: raise AsyncLibraryNotFoundError("sniffio cannot determine async library") except ImportError: import asyncio try: asyncio.get_running_loop() return "asyncio" except RuntimeError: raise AsyncLibraryNotFoundError("no async library detected") def get_default_backend() -> Backend: """Get the default backend, initializing it if necessary.""" if _default_backend: return _default_backend return set_default_backend(sniff()) def set_default_backend(name: str) -> Backend: """Set the default backend. It's not normally necessary to call this method, as ``get_default_backend()`` will initialize the backend appropriately in many cases. If ``sniffio`` is not installed, or in testing situations, this function allows the backend to be set explicitly. """ global _default_backend _default_backend = get_backend(name) return _default_backend