I tried to run the hostnamechange.pl script to add the domain name with the domain option. It didn't resolv the problem.
I found a workaround: Just configure the fqdn as the hostname with the hostnamechange.pl and ignore the domain option.
I hope that the programmers where at least consistent in ignoring the domain name throughout the entire application.