We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c4191e commit 39ac0b9Copy full SHA for 39ac0b9
localstack-core/localstack/dns/server.py
@@ -12,12 +12,8 @@
12
from socket import AddressFamily
13
from typing import Iterable, Literal, Tuple
14
15
-import dns.flags
16
-import dns.message
17
-import dns.query
18
import psutil
19
from cachetools import TTLCache, cached
20
-from dns.exception import Timeout
21
from dnslib import (
22
AAAA,
23
CNAME,
@@ -39,6 +35,11 @@
39
35
from dnslib.server import DNSHandler, DNSServer
40
36
from psutil._common import snicaddr
41
37
38
+import dns.flags
+import dns.message
+import dns.query
+from dns.exception import Timeout
42
+
43
# Note: avoid adding additional imports here, to avoid import issues when running the CLI
44
from localstack import config
45
from localstack.constants import LOCALHOST_HOSTNAME, LOCALHOST_IP
0 commit comments