Why Tor exit policies block IP addresses instead of domain names

While it may seem useful for relay operators to block websites by hostname, Tor exit policies only support IP-based rules to prevent censorship and abuse through DNS manipulation.