Recently I had to check DNS records on specific server from Debian.
Excellent tool for this job is dig – it allows you to see all DNS records like: A, MX, TXT…
Unfortunately the tool was not installed.
The proper way of installing it is:
apt-get update && apt-get install dnsutils
In case you did update recently you can skip the first command.