sudo apt install bind9 sudo apt install dnsutils
NOTE: The dnsutils package adds some useful functionality.