Quote:
Originally Posted by phoenix What's in your hosts file? Do you also have a DNS A record for this server. |
In the zimbra server
#vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.111 zimbra.MYSERVER.com zimbra
and set up with the vi /etc/resolv.conf point to DNS server 192.168.0.1
In our main DNS server (192.168.0.1)
I have set up the /etc/named.conf
with entry for zimbra.MYSERVER.com
and in /var/named/chroot/var/named
for zimbra.MYSERVER.com.hosts file I set up
zimbra.MYSERVER.com. IN A 192.168.0.111
zimbra.MYSERVER.com. IN MX 10 192.168.0.111
zimbra.MYSERVER.com. IN MX 20 mailserver.MYSERVER.com.
mailserver.MYSERVER.com. IN A 20 222.222.222.11
And when I test both in zimbra server and dns server, both returned the good DNS result.
#host -t mx zimbra.MYSERVER.com
zimbra.MYSERVER.com mail is handled by 10 zimbra.MYSERVER.com.
zimbra.MYSERVER.com mail is handled by 20 mailserver.MYSERVER.com.
#host zimbra.MYSERVER.com
it also return the current ipaddress 192.168.0.111
Thank you