Add null-termination to DNS-labels to domain function.
free-ing of messages is also temporarily disabled, some error can occur
with that.