Implemented DNS query and RR names as labels to adhere with the RFC.