Skip to content

Commit fa43b70

Browse files
committed
style: use warn log level for DNS rebind protection
1 parent f07a3d0 commit fa43b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/configure-aws.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async function dnsResolveCheck(
106106
const addresses = await resolve("test.localhost.localstack.cloud");
107107
return addresses.includes("127.0.0.1");
108108
} catch (error) {
109-
outputChannel?.debug(
109+
outputChannel?.warn(
110110
`[aws-profile]: Could not resolve "test.localhost.localstack.cloud". Falling back to "http://127.0.0.1:4566" for the endpoint_url in AWS profile "localstack". Your system may have DNS Rebind Protection enabled, which can block custom DNS names like "localhost.localstack.cloud"`,
111111
);
112112
return false;

0 commit comments

Comments
 (0)