bind

DNS protocol implementation with tools for querying and managing DNS

brewmacoslinux
Try with needOr install directly
Source

About

Implementation of the DNS protocols

Commands

dignslookuphostnamedrndcnsupdate

Examples

Query DNS records for a domain$ dig example.com
Look up specific DNS record types$ dig example.com MX
Perform reverse DNS lookup$ dig -x 8.8.8.8