DNS information
root@mail:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
216.83.153.18 mail.maindomain.com mail
# 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
root@mail:~# cat /etc/resolv.conf
search maindomain.net
nameserver 4.2.2.2
root@mail:~# dig otherdomain.com mx
; <<>> DiG 9.4.2-P2 <<>> otherdomain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41698
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;otherdomain.com. IN MX
;; ANSWER SECTION:
otherdomain.com. 2688 IN MX 0 mail.maindomain.com.
;; Query time: 19 msec
;; SERVER: 4.2.2.2#53(4.2.2.2)
;; WHEN: Tue Apr 6 10:53:53 2010
;; MSG SIZE rcvd: 59
root@mail:~# dig zriimail.com any
; <<>> DiG 9.4.2-P2 <<>> otherdomain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44416
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;otherdomain.com. IN ANY
;; ANSWER SECTION:
otherdomain.com. 2611 IN MX 0 mail.maindomain.com.
otherdomain.com. 2611 IN A x.x.x.x ip address of Zimbra server
otherdomain.com. 1506 IN NS ns13.domaincontrol.com.
otherdomain.com. 1506 IN NS ns14.domaincontrol.com.
;; Query time: 16 msec
;; SERVER: 4.2.2.2#53(4.2.2.2)
;; WHEN: Tue Apr 6 10:55:10 2010
;; MSG SIZE rcvd: 127
root@mail:~# host `hostname`
mail.maindomain.com has address x.x.x.x (matches ip address above) |