Added option to specify the domainname.
Merge pull request #36 from diederikdehaas/set-domainname

Added option to specify the domainname.