Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #41 (permalink)  
Old 10-23-2009, 09:31 AM
Moderator
 
Posts: 7,928
Default

Please post the following again as what may seem correct could have a slight mistake
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes (copy 'n' paste)
__________________
Reply With Quote
  #42 (permalink)  
Old 10-23-2009, 09:35 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by buee View Post
The same problem popped up again now. Same exact errors, but my DNS records are right. The dig commands return my public IP address though. I did do an update to the CentOS box that Zimbra is running on last night. I'm just trying to figure out how to (un)update. Near as I can tell, the DNS is set up correctly, it's just not returning the correct IP addresses.
Let's see the output again from the commands I asked you to run in pots #33. I assume you mean you've updated your CentOS box to 5.4?
__________________
Regards


Bill
Reply With Quote
  #43 (permalink)  
Old 10-23-2009, 09:37 AM
Loyal Member
 
Posts: 76
Default

Quote:
Originally Posted by uxbod View Post
Please post the following again as what may seem correct could have a slight mistake
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes (copy 'n' paste)
/etc/hosts
Code:
[w3badm1n@mail ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1		localhost.localdomain localhost
::1			localhost6.localdomain6 localhost6
10.0.0.10		mail.baerconsult.com mail
dig baerconsult.com any
[w3badm1n@mail ~]$ dig baerconsult.com any

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> baerconsult.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33526
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 4, ADDITIONAL: 5

;; QUESTION SECTION:
;baerconsult.com. IN ANY

;; ANSWER SECTION:
baerconsult.com. 3550 IN MX 10 mail.baerconsult.com.
baerconsult.com. 86271 IN NS ns4.everydns.net.
baerconsult.com. 86271 IN NS ns1.everydns.net.
baerconsult.com. 86271 IN NS ns2.everydns.net.
baerconsult.com. 86271 IN NS ns3.everydns.net.

;; AUTHORITY SECTION:
baerconsult.com. 86271 IN NS ns3.everydns.net.
baerconsult.com. 86271 IN NS ns4.everydns.net.
baerconsult.com. 86271 IN NS ns1.everydns.net.
baerconsult.com. 86271 IN NS ns2.everydns.net.

;; ADDITIONAL SECTION:
mail.baerconsult.com. 3471 IN A 75.150.206.10
ns1.everydns.net. 172671 IN A 208.76.62.100
ns2.everydns.net. 172671 IN A 78.129.207.168
ns3.everydns.net. 172671 IN A 208.76.63.100
ns4.everydns.net. 172671 IN A 208.76.60.100

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Oct 23 11:36:00 2009
;; MSG SIZE rcvd: 274
[/CODE]

dig baerconsult.com mx
Code:
[w3badm1n@mail ~]$ dig baerconsult.com mx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> baerconsult.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5638
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 5

;; QUESTION SECTION:
;baerconsult.com.		IN	MX

;; ANSWER SECTION:
baerconsult.com.	3517	IN	MX	10 mail.baerconsult.com.

;; AUTHORITY SECTION:
baerconsult.com.	86238	IN	NS	ns2.everydns.net.
baerconsult.com.	86238	IN	NS	ns3.everydns.net.
baerconsult.com.	86238	IN	NS	ns4.everydns.net.
baerconsult.com.	86238	IN	NS	ns1.everydns.net.

;; ADDITIONAL SECTION:
mail.baerconsult.com.	3438	IN	A	75.150.206.10
ns1.everydns.net.	172638	IN	A	208.76.62.100
ns2.everydns.net.	172638	IN	A	78.129.207.168
ns3.everydns.net.	172638	IN	A	208.76.63.100
ns4.everydns.net.	172638	IN	A	208.76.60.100

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Oct 23 11:36:33 2009
;; MSG SIZE  rcvd: 218
host 'mail'
Code:
[w3badm1n@mail ~]$ host 'mail'
mail.baerconsult.com has address 75.150.206.10
Reply With Quote
  #44 (permalink)  
Old 10-23-2009, 09:38 AM
Loyal Member
 
Posts: 76
Default

Quote:
Originally Posted by phoenix View Post
Let's see the output again from the commands I asked you to run in pots #33. I assume you mean you've updated your CentOS box to 5.4?
Truth be told, I don't know. I SSH in and do "yum update" every so often. There were a whole bunch of updates so I guess it's quite possible.
Reply With Quote
  #45 (permalink)  
Old 10-23-2009, 09:40 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by buee View Post
/etc/hosts
Code:
[w3badm1n@mail ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1		localhost.localdomain localhost
::1			localhost6.localdomain6 localhost6
10.0.0.10		mail.baerconsult.com mail
Code:
dig baerconsult.com any
[w3badm1n@mail ~]$ dig baerconsult.com any

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> baerconsult.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33526
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 4, ADDITIONAL: 5

;; QUESTION SECTION:
;baerconsult.com.		IN	ANY

;; ANSWER SECTION:
baerconsult.com.	3550	IN	MX	10 mail.baerconsult.com.
baerconsult.com.	86271	IN	NS	ns4.everydns.net.
baerconsult.com.	86271	IN	NS	ns1.everydns.net.
baerconsult.com.	86271	IN	NS	ns2.everydns.net.
baerconsult.com.	86271	IN	NS	ns3.everydns.net.

;; AUTHORITY SECTION:
baerconsult.com.	86271	IN	NS	ns3.everydns.net.
baerconsult.com.	86271	IN	NS	ns4.everydns.net.
baerconsult.com.	86271	IN	NS	ns1.everydns.net.
baerconsult.com.	86271	IN	NS	ns2.everydns.net.

;; ADDITIONAL SECTION:
mail.baerconsult.com.	3471	IN	A	75.150.206.10
ns1.everydns.net.	172671	IN	A	208.76.62.100
ns2.everydns.net.	172671	IN	A	78.129.207.168
ns3.everydns.net.	172671	IN	A	208.76.63.100
ns4.everydns.net.	172671	IN	A	208.76.60.100

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Oct 23 11:36:00 2009
;; MSG SIZE  rcvd: 274
dig baerconsult.com mx
Code:
[w3badm1n@mail ~]$ dig baerconsult.com mx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> baerconsult.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5638
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 5

;; QUESTION SECTION:
;baerconsult.com.		IN	MX

;; ANSWER SECTION:
baerconsult.com.	3517	IN	MX	10 mail.baerconsult.com.

;; AUTHORITY SECTION:
baerconsult.com.	86238	IN	NS	ns2.everydns.net.
baerconsult.com.	86238	IN	NS	ns3.everydns.net.
baerconsult.com.	86238	IN	NS	ns4.everydns.net.
baerconsult.com.	86238	IN	NS	ns1.everydns.net.

;; ADDITIONAL SECTION:
mail.baerconsult.com.	3438	IN	A	75.150.206.10
ns1.everydns.net.	172638	IN	A	208.76.62.100
ns2.everydns.net.	172638	IN	A	78.129.207.168
ns3.everydns.net.	172638	IN	A	208.76.63.100
ns4.everydns.net.	172638	IN	A	208.76.60.100

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Oct 23 11:36:33 2009
;; MSG SIZE  rcvd: 218
host 'mail'
Code:
[w3badm1n@mail ~]$ host 'mail'
mail.baerconsult.com has address 75.150.206.10
The reason you're gtting the wrong IP address is because you have the public IP in your DNS A record instead of the LAN IP. You also ran the following connad incorrectly:

Code:
host `hostname`  <-- use that exactly and don't change it and use backticks not single quotes
__________________
Regards


Bill
Reply With Quote
  #46 (permalink)  
Old 10-23-2009, 09:43 AM
Loyal Member
 
Posts: 76
Default

Quote:
Originally Posted by phoenix View Post
The reason you're gtting the wrong IP address is because you have the public IP in your DNS records instead of the LAN IP. You also ran the following connad incorrectly:

Code:
host `hostname`  <-- use that exactly and don't change it and use backticks not single quotes
Code:
[root@mail named]# host `hostname`
mail.baerconsult.com has address 75.150.206.10
^^That's why I thought I ran it incorrectly.

My A record:
Code:
[root@mail named]# cat baerconsult.com-zone 
; BIND db file for baerconsult.com

$TTL 86400

@       IN      SOA     10.0.0.10.      admin.baerconsult.com. (
                        2009041001	; serial number YYMMDDNN
                        28800           ; Refresh
                        7200            ; Retry
                        864000          ; Expire
                        86400           ; Min TTL
			)

                NS      mail.baerconsult.com. 
		A	baerconsult.com.
                MX      10 mail.baerconsult.com.


$ORIGIN baerconsult.com.

mail	IN	A	10.0.0.10
That, to my knowledge, hasn't been changed and was originally working up until at least the update.
Reply With Quote
  #47 (permalink)  
Old 10-23-2009, 09:44 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by buee View Post
Truth be told, I don't know. I SSH in and do "yum update" every so often. There were a whole bunch of updates so I guess it's quite possible.
That's a very dangerous thing to do on a production mail server, you should check what you're updating on your server before you commit the transactions and never update blindly.
__________________
Regards


Bill
Reply With Quote
  #48 (permalink)  
Old 10-23-2009, 09:49 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by buee View Post
Code:
[root@mail named]# host `hostname`
mail.baerconsult.com has address 75.150.206.10
^^That's why I thought I ran it incorrectly.
That's why you should run it as specified, it tells you there's a DNS problem.

Quote:
Originally Posted by buee View Post
My A record:
Code:
[root@mail named]# cat baerconsult.com-zone 
; BIND db file for baerconsult.com

$TTL 86400

@       IN      SOA     10.0.0.10.      admin.baerconsult.com. (
                        2009041001	; serial number YYMMDDNN
                        28800           ; Refresh
                        7200            ; Retry
                        864000          ; Expire
                        86400           ; Min TTL
			)

                NS      mail.baerconsult.com. 
		A	baerconsult.com.
                MX      10 mail.baerconsult.com.


$ORIGIN baerconsult.com.

mail	IN	A	10.0.0.10
That, to my knowledge, hasn't been changed and was originally working up until at least the update.
Obviously that's not what's being picked up by your DNS server and it's also incorrect, an A record should always be an IP address and in this case the LAN IP of your server - change it and restart your DNS server and try again.
__________________
Regards


Bill
Reply With Quote
  #49 (permalink)  
Old 10-23-2009, 09:54 AM
Loyal Member
 
Posts: 76
Default

Quote:
Originally Posted by phoenix View Post
That's why you should run it as specified, it tells you there's a DNS problem.

Obviously that's not what's being picked up by your DNS server and it's also incorrect, an A record should always be an IP address and in this case the LAN IP of your server - change it and restart your DNS server and try again.
So far that hasn't changed the results of my dig commands or host commands.
Reply With Quote
  #50 (permalink)  
Old 10-23-2009, 09:59 AM
Loyal Member
 
Posts: 76
Default

Quote:
Originally Posted by buee View Post
So far that hasn't changed the results of my dig commands or host commands.
And messages are still being deferred.

Code:
[root@mail named]# cat baerconsult.com-zone 
; BIND db file for baerconsult.com

$TTL 86400

@       IN      SOA     10.0.0.10.      admin.baerconsult.com. (
                        2009041001	; serial number YYMMDDNN
                        28800           ; Refresh
                        7200            ; Retry
                        864000          ; Expire
                        86400           ; Min TTL
			)

                NS      mail.baerconsult.com. 
		A	10.0.0.10.
                MX      10 mail.baerconsult.com.


$ORIGIN baerconsult.com.

mail	IN	A	10.0.0.10
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.