Use defined constants instead of strings for rdtype.

Doesn't really matter, but this seems slightly more efficient and
also cleaner.