Handle IP in getBaseDomain
Merge pull request #67 from settinghead/master

Handle IP in getBaseDomain