small tweak to DNS query transform to remove the trailing (.)