cat /etc/hosts cat /etc/resolv.conf cat /etc/nsswitch.conf dig domain.com mx dig domain.com ns host `hostname` <- note backticks