bugfix: dns root label

dns root label at the end of the domain (e.g. 'example.com.') resulted in interpreting the whole domain as subdomain