Added fallback-method to aquire domainname