Hi!
Why Don`t you want to use Enums for DNSEntry type and classes?