Quote:
Originally Posted by phoenix So what do your DNS records show? Post the output of the following commands (run on the zimbra server): Code: cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain.com mx
dig yourdomain.com any
host `hostname` <- use that exact command with backticks not single quotes |
Code:
[root@myhost /]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
12.34.56.78 myhost.mydomain.com myhost
Code:
[root@myhost /]# cat /etc/resolv.conf
search mydomain.com
nameserver 12.34.56.78
Code:
[root@myhost /]# dig mydomain.com mx
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> mydomain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2137
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;mydomain.com. IN MX
;; ANSWER SECTION:
mydomain.com. 2592000 IN MX 10 myhost.mydomain.com.
;; AUTHORITY SECTION:
mydomain.com. 2592000 IN NS mydns.mydomain.com.
;; ADDITIONAL SECTION:
myhost.mydomain.com. 2592000 IN A 12.34.56.78
mydns.mydomain.com. 2592000 IN A 12.34.56.78
;; Query time: 0 msec
;; SERVER: 12.34.56.78#53(12.34.56.78)
;; WHEN: Fri Dec 25 11:22:43 2009
;; MSG SIZE rcvd: 108
Code:
[root@myhost /]# dig mydomain.com any
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> mydomain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61392
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2
;; QUESTION SECTION:
;mydomain.com. IN ANY
;; ANSWER SECTION:
mydomain.com. 2592000 IN SOA mydns.mydomain.com. admin.mydomain.com. 10118 43200 3600 3600000 2592000
mydomain.com. 2592000 IN NS mydns.mydomain.com.
mydomain.com. 2592000 IN MX 10 myhost.mydomain.com.
;; ADDITIONAL SECTION:
mydns.mydomain.com. 2592000 IN A 12.34.56.78
myhost.mydomain.com. 2592000 IN A 12.34.56.78
;; Query time: 0 msec
;; SERVER: 12.34.56.78#53(12.34.56.78)
;; WHEN: Fri Dec 25 11:23:30 2009
;; MSG SIZE rcvd: 150
Code:
[root@myhost /]# host `hostname`
myhost.mydomain.com has address 12.34.56.78
by the way, the first time I change the server name from myhost to myhost.mydomain.com I did not change it completely (did not update ldap), and when I start the server the monitoring status have two entry with one not working. and then I troubleshoot and successfully change my server name (including update ldap records). there is still two entries with one dead after I restart the zcs server.
so I guess that mapping is created after I change the server name halfway to FQDN, so some part of the zcs already using the FQDN to create files and mappings but resulted in unable to find the server in ldap record. so there is still a zcs hostname "myhost" somewhere in the logger not updated to myhost.mydomain.com
or other clue?
thanks alot!