Depend on the major version of the dns library.