Quote:
Originally Posted by abhiz I have zimbra server installed on Ubuntu 8 when I am doing nslookup to my mail server its giving me below error
** server can't find corp.mouthshut.com: NXDOMAIN
1. cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.16 corp.mouthshut.com corp
# 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
domain mouthshut.com
nameserver 192.168.1.16
#nameserver 63.216.0.5
dig corp.mouthshut.com mx
; <<>> DiG 9.4.2 <<>> corp.mouthshut.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 23984
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;corp.mouthshut.com. IN MX
;; Query time: 0 msec
;; SERVER: 192.168.1.16#53(192.168.1.16)
;; WHEN: Thu Jan 20 16:36:01 2011
;; MSG SIZE rcvd: 36
dig corp.mouthshut.com any
; <<>> DiG 9.4.2 <<>> corp.mouthshut.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 7713
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;corp.mouthshut.com. IN ANY
;; Query time: 0 msec
;; SERVER: 192.168.1.16#53(192.168.1.16)
;; WHEN: Thu Jan 20 16:36:25 2011
;; MSG SIZE rcvd: 36
host `hostname`
Host corp.mouthshut.com not found: 3(NXDOMAIN)
Please help me!! |
This problem (and it's solutions) has been covered many time in the forums and in the Split DNS article - you appear to have no valid DNS A or MX records for your domain. You are, however, looking-up the wrong domain, you should use the correct domain name as shown below:
Code:
dig mouthshut.com mx
I'd suggest you start by reading the
Split DNS article, it has full details on how to set-up your DNS server with the correct records and a correct hosts file with steps on how to check them.