Added specific case for dot es domains (no whois server for this TLD)
Benjamin Renard

Benjamin Renard commited on 2012-05-07 08:50:15
Showing 1 changed files, with 4 additions and 0 deletions.

... ...
@@ -49,6 +49,10 @@ case $TLD in
49 49
 			exit 0
50 50
 		fi
51 51
 	;;
52
+	es)
53
+		echo "UNKNOWN : Dot ES TLD has no whois server. Check domain $DOMAIN is not possible."
54
+		exit 3
55
+	;;
52 56
 	*)
53 57
 		EXTXT=`echo -e "$WHOIS"|grep "^expires:"`
54 58
 		[ $DEBUG -eq 1 ] && echo "expire result format 1 : $EXTXT"
55 59