diff --git a/src/Appwrite/CLI/Tasks/Install.php b/src/Appwrite/CLI/Tasks/Install.php index 9bcc2e709..b1e980b7f 100644 --- a/src/Appwrite/CLI/Tasks/Install.php +++ b/src/Appwrite/CLI/Tasks/Install.php @@ -186,6 +186,16 @@ class Install extends Action if (empty($input[$var['name']])) { $input[$var['name']] = $var['default']; } + + if ($var['filter'] === 'domainTarget') { + if ($input[$var['name']] !== 'localhost') { + Console::warning("\nIf you haven't already done so, set the following record for {$input[$var['name']]} on your DNS provider:\n"); + $mask = "%-15.15s %-10.10s %-30.30s\n"; + printf($mask, "Type", "Name", "Value"); + printf($mask, "A or AAAA", "@", ""); + Console::warning("\nUse 'AAAA' if you're using an IPv6 address and 'A' if you're using an IPv4 address.\n"); + } + } } $templateForCompose = new View(__DIR__ . '/../views/install/compose.phtml');