Thks for your timely reply uxbod,
[root@mail ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost.localdomain localhost6 localhost6.localdomain6 localhost
192.168.0.202 mail.macet.com mail mail
================================================== ================================================== =============
[root@mail ~]# cat /etc/resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
You have mail in /var/spool/mail/root
================================================== ================================================== =============
[root@mail ~]dig macet.com mx
; <<>> DiG 9.6.1b1-RedHat-9.6.1-0.3.b1.fc11 <<>> macet.com mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26702
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;macet.com. IN MX
;; ANSWER SECTION:
macet.com. 86400 IN MX 10 mail.macet.com.
;; AUTHORITY SECTION:
macet.com. 86400 IN NS mail.macet.com.
;; ADDITIONAL SECTION:
mail.macet.com. 86400 IN A 192.168.0.202
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Oct 13 18:54:39 2009
;; MSG SIZE rcvd: 78
================================================== ================================================== =============
[root@mail ~]# dig macet.com any
; <<>> DiG 9.6.1b1-RedHat-9.6.1-0.3.b1.fc11 <<>> macet.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28999
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;macet.com. IN ANY
;; ANSWER SECTION:
macet.com. 86400 IN SOA macet.com. mail.macet.com. 42 10800 900 604800 86400
macet.com. 86400 IN NS mail.macet.com.
macet.com. 86400 IN MX 10 mail.macet.com.
macet.com. 86400 IN A 192.168.0.202
;; ADDITIONAL SECTION:
mail.macet.com. 86400 IN A 192.168.0.202
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Oct 13 18:54:15 2009
;; MSG SIZE rcvd: 130
================================================== ================================================== =============
[root@mail ~]# host "macet.com"
macet.com has address 192.168.0.202
macet.com mail is handled by 10 mail.macet.com.
================================================== ================================================== ============
[root@mail ~]# nslookup mail.macet.com
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: mail.macet.com
Address: 192.168.0.202
[root@mail ~]# nslookup macet.com
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: macet.com
Address: 192.168.0.202
Last edited by alad_macet; 10-13-2009 at 02:01 AM..
Reason: s
|