[root@23978_2_34448_167704 log]# cat /etc/hosts
127.0.0.1 localhost
10.120.135.126 zimbra
74.3.203.126 zimbra.mxnexus.net
[root@23978_2_34448_167704 log]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 216.93.160.16
nameserver 216.93.170.17
[root@23978_2_34448_167704 log]# dig mxnexus.net mx
; <<>> DiG 9.3.3rc2 <<>> mxnexus.net mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38934
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 5
;; QUESTION SECTION:
;mxnexus.net. IN MX
;; ANSWER SECTION:
mxnexus.net. 86400 IN MX 100 smtp99.mxnexus.net.
mxnexus.net. 86400 IN MX 1 smtp98.mxnexus.net.
mxnexus.net. 86400 IN MX 1 smtp1.mxnexus.net.
;; AUTHORITY SECTION:
mxnexus.net. 86400 IN NS ns2.servepath.com.
mxnexus.net. 86400 IN NS ns1.servepath.com.
;; ADDITIONAL SECTION:
smtp1.mxnexus.net. 86400 IN A 74.3.203.121
smtp99.mxnexus.net. 86400 IN A 74.3.203.122
smtp98.mxnexus.net. 86400 IN A 74.3.203.117
ns1.servepath.com. 900 IN A 216.93.160.16
ns2.servepath.com. 900 IN A 216.93.170.17
;; Query time: 2 msec
;; SERVER: 216.93.160.16#53(216.93.160.16)
;; WHEN: Tue Oct 6 05:33:09 2009
;; MSG SIZE rcvd: 226
[root@23978_2_34448_167704 log]# dig mxnexus.net any
; <<>> DiG 9.3.3rc2 <<>> mxnexus.net any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63955
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 5
;; QUESTION SECTION:
;mxnexus.net. IN ANY
;; ANSWER SECTION:
mxnexus.net. 86400 IN SOA ns1.servepath.com. hostmaster.servepath.com. 2009092805 3600 600 86400 3600
mxnexus.net. 86400 IN A 74.3.203.122
mxnexus.net. 86400 IN MX 1 smtp1.mxnexus.net.
mxnexus.net. 86400 IN MX 100 smtp99.mxnexus.net.
mxnexus.net. 86400 IN MX 1 smtp98.mxnexus.net.
mxnexus.net. 86400 IN NS ns1.servepath.com.
mxnexus.net. 86400 IN NS ns2.servepath.com.
;; ADDITIONAL SECTION:
smtp1.mxnexus.net. 86400 IN A 74.3.203.121
smtp99.mxnexus.net. 86400 IN A 74.3.203.122
smtp98.mxnexus.net. 86400 IN A 74.3.203.117
ns1.servepath.com. 900 IN A 216.93.160.16
ns2.servepath.com. 900 IN A 216.93.170.17
;; Query time: 3 msec
;; SERVER: 216.93.160.16#53(216.93.160.16)
;; WHEN: Tue Oct 6 05:33:17 2009
;; MSG SIZE rcvd: 289
[root@23978_2_34448_167704 log]# host `zimbra`
-bash: zimbra: command not found
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
[-R number] hostname [server]
-a is equivalent to -v -t *
-c specifies query class for non-IN data
-C compares SOA records on authoritative nameservers
-d is equivalent to -v
-l lists all hosts in a domain, using AXFR
-i IP6.INT reverse lookups
-N changes the number of dots allowed before root lookup is done
-r disables recursive processing
-R specifies number of retries for UDP packets
-t specifies the query type
-T enables TCP/IP mode
-v enables verbose output
-w specifies to wait forever for a reply
-W specifies how long to wait for a reply
-4 use IPv4 query transport only
-6 use IPv6 query transport only
-s a SERVFAIL response should stop query
[root@23978_2_34448_167704 log]# |