Hosts File:
[root@mailx2 ~]# cat /etc/hosts
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain localhost
192.168.100.11 mailx2.gloporeims.com mailx2
Resolv.conf:
[root@mailx2 ~]# cat /etc/resolv.conf
Code:
search gloporeims.com
nameserver 192.168.100.7
[root@mailx2 ~]# dig gloporeims.com mx
Code:
; <<>> DiG 9.4.2 <<>> gloporeims.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29365
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;gloporeims.com. IN MX
;; ANSWER SECTION:
gloporeims.com. 3600 IN MX 10 mailx.gloporeims.com.
;; ADDITIONAL SECTION:
mailx.gloporeims.com. 3600 IN A 192.168.1.11
;; Query time: 1 msec
;; SERVER: 192.168.100.7#53(192.168.100.7)
;; WHEN: Wed Nov 12 17:04:59 2008
;; MSG SIZE rcvd: 70
[root@mailx2 ~]# dig gloporeims.com any
Code:
; <<>> DiG 9.4.2 <<>> gloporeims.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2696
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 3
;; QUESTION SECTION:
;gloporeims.com. IN ANY
;; ANSWER SECTION:
gloporeims.com. 600 IN A 192.168.100.7
gloporeims.com. 600 IN A 192.168.1.7
gloporeims.com. 3600 IN NS exchangeblr1.gloporeims.com.
gloporeims.com. 3600 IN NS exchange.gloporeims.com.
gloporeims.com. 3600 IN SOA exchangeblr1.gloporeims.com. hostmaster. 4674 900 600 86400 3600
gloporeims.com. 3600 IN MX 10 mailx.gloporeims.com.
;; ADDITIONAL SECTION:
exchangeblr1.gloporeims.com. 3600 IN A 192.168.100.7
exchange.gloporeims.com. 3600 IN A 192.168.1.7
mailx.gloporeims.com. 3600 IN A 192.168.1.11
;; Query time: 0 msec
;; SERVER: 192.168.100.7#53(192.168.100.7)
;; WHEN: Wed Nov 12 17:04:59 2008
;; MSG SIZE rcvd: 230
[root@mailx2 ~]# host `hostname`
Code:
mailx2.gloporeims.com has address 192.168.100.11