changed from using database to splitting on fqdn
Merge pull request #2 from alop/master

changed to split on fqdn