View Single Post
  #5 (permalink)  
Old 09-09-2009, 09:49 AM
newbie79 newbie79 is offline
Intermediate Member
 
Posts: 16
Default

root@mail:~# cat /etc/hosts
127.0.0.1 localhost
10.0.1.2 mail.pgtim.bw 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 pgtim.bw
nameserver 10.0.1.1


root@mail:~# dig yordomain.com mx

; <<>> DiG 9.3.2 <<>> yordomain.com mx
;; global options: printcmd
;; connection timed out; no servers could be reached


root@mail:~# dig yordomain.com any

; <<>> DiG 9.3.2 <<>> yordomain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49106
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;yordomain.com. IN ANY

;; ANSWER SECTION:
yordomain.com. 300 IN A 74.86.203.162
yordomain.com. 43118 IN NS ns1.storeyourdomain.com.
yordomain.com. 43118 IN NS ns2.storeyourdomain.com.

;; AUTHORITY SECTION:
yordomain.com. 43118 IN NS ns2.storeyourdomain.com.
yordomain.com. 43118 IN NS ns1.storeyourdomain.com.

;; Query time: 2079 msec
;; SERVER: 10.0.1.1#53(10.0.1.1)
;; WHEN: Wed Sep 9 18:47:04 2009
;; MSG SIZE rcvd: 127


root@mail:~# host `hostname`
mail.pgtim.bw has address 10.0.1.2


zimbra@mail:~$ zmcontrol status
Host mail.pgtim.bw
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running
Reply With Quote