Doing horrible things to DNS involves using CNAME records to create multiple domain names that resolve to the same IP addresses. This allows making a single DNS query but receiving responses for multiple domains, enabling more parallel HTTP requests. The technique involves creating a chain of CNAME records that ultimately resolve to a single canonical name, gaining the ability to load resources from different apparent hostnames while only requiring one DNS lookup.