use host name in ddns-hostname if domain variable is not set