From 27558179f880cb3c693d8125e240e25229ec975a Mon Sep 17 00:00:00 2001 From: Joel Wurtz Date: Thu, 18 Jan 2024 18:21:29 +0100 Subject: [PATCH] fix(dig): tell dig to not convert idn to locale string When fetching a dns with special utf8 characters (xn--) dig will try by default to convert it, however it require some locales and since there are no env variable in the process defining it (LANG env var) it currently fails. This change make dig to no try to convert this domain in this case (which works for mostly all dns providers) --- src/Handlers/Dig.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Handlers/Dig.php b/src/Handlers/Dig.php index e54bfbb..0619d07 100644 --- a/src/Handlers/Dig.php +++ b/src/Handlers/Dig.php @@ -52,6 +52,7 @@ protected function buildCommand(string $domain, string $type): array 'dig', '+nocmd', '+noall', + '+noidnout', '+authority', '+answer', '+nomultiline',