diff --git a/utils/configure_base_tools.sh b/utils/configure_base_tools.sh
index cd3f8515f10ff007b05fda33aba2ea588cfed262..79aa8cba23f25c45c38bd60644c0de3025e928fa 100755
--- a/utils/configure_base_tools.sh
+++ b/utils/configure_base_tools.sh
@@ -52,6 +52,9 @@ ignoreips=()
 for domain in "${IGNORE_DOMAINS[@]}"; do
     # Use dig to get the IP address
     ip=$(dig +short "$domain")
+    if [ -z "$ip" ]; then
+        ip=$domain
+    fi
     ignoreips=("${ignoreips[@]}" $ip)
     # Displays the domain name and IP addresss
     echo "$domain : $ip"