zimbra@zim:~$ cat /etc/hosts
127.0.0.1 localhost
172.16.8.29 zim.sub.domain.edu zim
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
zimbra@zim:~$ cat /etc/resolv.conf
search sub.domain.edu
nameserver 172.16.16.241
nameserver 172.16.16.239
nameserver 256.256.256.85
zimbra@zim:~$
zimbra@zim:~$ dig zim.sub.domain.edu mx
; <<>> DiG 9.3.2 <<>> zim.sub.domain.edu mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41378
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;zim.sub.domain.edu. IN MX
;; AUTHORITY SECTION:
sub.domain.edu. 3600 IN SOA pdc-01.sub.domain.edu. admin. 16070 900 600 86400 900
;; Query time: 16 msec
;; SERVER: 172.16.16.241#53(172.16.16.241)
;; WHEN: Tue Apr 1 20:05:42 2008
;; MSG SIZE rcvd: 83
zimbra@zim:~$ dig zim.sub.domain.edu ns
; <<>> DiG 9.3.2 <<>> zim.sub.domain.edu ns
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35509
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;zim.sub.domain.edu. IN NS
;; AUTHORITY SECTION:
sub.domain.edu. 3600 IN SOA pdc-01.sub.domain.edu. admin. 16070 900 600 86400 900
;; Query time: 17 msec
;; SERVER: 172.16.16.241#53(172.16.16.241)
;; WHEN: Tue Apr 1 20:05:48 2008
;; MSG SIZE rcvd: 83
zimbra@zim:~$ host `hostname`
zim.sub.domain.edu has address 172.16.8.29
zimbra@zim:~$