cat /etc/hosts cat /etc/resolv.conf dig yourdomain.com mx dig yourdomain.com any host `hostname` <-- use that exact command with backticks not single quotes