While this isn't the preferred way to block registration, it has it's uses and is effective.
Registrations are blocked in the following order..
1) If the IP Address is the same as the HOSTNAME (must enable option to activate)
Example: If the IP Adress is 18.104.22.168 and the hostname is 22.214.171.124 the user will not be able to register.
2) If the HOSTNAME supplied by the IP Address is in the list of blocked hostnames.
Example: If the hostname is host12.server3.vpn999.com and the word server is in the banned hostnames the user will not be able to register.
3) If the IP Address OWNER is in the list of blocked hostnames. (must enable Whois option to activate)
Example: If the IP Adress is 126.96.36.199 it will return a hostname of host7.server5.vpn999.com
BUT if you look up the IP Address, the actual OWNER of the IP is SINGLEHOP
If SINGLEHOP is in the banned hostname list, ANY user coming from SINGLEHOP will not be able to register.
REQUIREMENTS: In order for the WHOIS function used in this mod to work properly, your server must have OPENSSL installed.