Add the ability to use part of the fqdn as the hostname
Merge pull request #40 from omame/master

Add the ability to use part of the fqdn as the hostname