From fa43b70efc629302e0f009f68cee432d962eb6f9 Mon Sep 17 00:00:00 2001 From: Anisa Oshafi Date: Tue, 9 Sep 2025 10:02:35 +0200 Subject: [PATCH] style: use warn log level for DNS rebind protection --- src/utils/configure-aws.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/configure-aws.ts b/src/utils/configure-aws.ts index 3df866b..44edab6 100644 --- a/src/utils/configure-aws.ts +++ b/src/utils/configure-aws.ts @@ -106,7 +106,7 @@ async function dnsResolveCheck( const addresses = await resolve("test.localhost.localstack.cloud"); return addresses.includes("127.0.0.1"); } catch (error) { - outputChannel?.debug( + outputChannel?.warn( `[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"`, ); return false;