demasu/cPanel-PreInstall-Check — pull request #1 by cpmatthew (2014-05-09 06:24:15+00:00)
Title: Updated FQDN Check, Added OS Check. 

The FQDN check was allowing anything below 3 levels, such as domain.com to be considered a FQDN for the hostname. It should be at least sub.domain.com or higher in the event of tlds such as co.uk. Also the check against the hostname and IP was not pulling the servers correct public primary IP. It instead grabbed the IP in DNS and stated it was correct even when it was not. I adjusted this by curling cpanel.net/myip for this.