cat /etc/hosts cat /etc/resolv.conf dig yourdomain.com mx dig yourdomain.com any host `hostname` <-- type that exactly as you ssee it & use backticks not single quotes