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
  #1 (permalink)  
Old 05-26-2011, 04:32 AM
Junior Member
 
Posts: 5
Default Strange domain-name resolving - strings are appended

Hi all,

We have this strange same problem with a goofy error and this is happening quite often in our zimbra implementation - the appended string to the domain-name varies and it seems to be depending on how many strings the user-name has before the @ divider - e.g. sometimes it's
userabc@domain.ain.com and when there is 1 less char it's userab@domain.main.com - Seems to be more a regex string extraction issue to

me than a miss-configured DNS record or so, else the appended string should be always the same - Would have anyone an idea what could cause this issue or how to track it down to pin-point the root-cause?

Here are some output's from the Split_dns how-to.
note: the string domain is place-holder for our real domain.



1) host $(hostname)
zimbra.domain.com has address xx.xx.xx.202
zimbra.domain.com mail is handled by 40 dddd.domain.com.

2) dig domain.com mx

; <<>> DiG 9.3.2-P2.3 <<>> domain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39944
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4

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

;; ANSWER SECTION:
domain.com. 75585 IN MX 10 dddd.domain.com.

;; AUTHORITY SECTION:
domain.com. 53332 IN NS ns3.do.domain.net.
domain.com. 53332 IN NS ns2.domain.de.
domain.com. 53332 IN NS ns1.do.domain.net.

;; ADDITIONAL SECTION:
dddd.domain.com. 36520 IN A xx.xxx.xxx.25
ns1.do.domain.net. 14691 IN A xx.xxx.xxx.31
ns2.domain.de. 14691 IN A xx.xxx.xx.31
ns3.do.domain.net. 14691 IN A xx.xx.xxx.53

;; Query time: 0 msec
;; SERVER: 10.x.x.53#53(10.x.x.53)
;; WHEN: Thu May 26 13:10:09 2011
;; MSG SIZE rcvd: 189


3) dig domain.com any

; <<>> DiG 9.3.2-P2.3 <<>> domain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33316
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 3, ADDITIONAL: 4

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

;; ANSWER SECTION:
domain.com. 75383 IN MX 10 dddd.domain.com.
domain.com. 9058 IN TXT "v=spf1 ip4:xx.xxx.xxx.202 a:zimbra.domain.com ip4:xx.xxx.xxx.212 a:maildo.domain.com

ip4:xx.xxx.xxx.25 a:ddd.domain.com a:smtp.do.domain.com -all"
domain.com. 4889 IN A xx.xxx.xx.13
domain.com. 53130 IN NS ns2.domain.de.
domain.com. 53130 IN NS ns3.do.domain.net.
domain.com. 53130 IN NS ns1.do.domain.net.

;; AUTHORITY SECTION:
domain.com. 53130 IN NS ns3.do.domain.net.
domain.com. 53130 IN NS ns1.do.domain.net.
domain.com. 53130 IN NS ns2.domain.de.

;; ADDITIONAL SECTION:
dddd.domain.com. 36318 IN A xx.xxx.xxx.25
ns1.do.domain.net. 14489 IN A xx.xxx.xxx.31
ns2.domain.de. 14489 IN A xx.xxx.xx.31
ns3.do.domain.net. 14489 IN A xx.xxx.xxx.53

;; Query time: 0 msec
;; SERVER: 10.x.x.53#53(10.x.x.53)
;; WHEN: Thu May 26 13:13:31 2011
;; MSG SIZE rcvd: 406

4) cat /etc/resolv.conf
domain domain.com
search domain.com

nameserver 10.x.x.53
nameserver 10.x.x.14
nameserver 10.x.x.15
nameserver 10.x.x.16


cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
xx.xxx.xxx.202 zimbra.domain.com zimbra


# 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

Last edited by errolu; 05-26-2011 at 04:55 AM..
Reply With Quote
  #2 (permalink)  
Old 05-26-2011, 04:50 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Might it be the fact that the IP address in your hosts file is not the same IP address returned by your DNS A record (it should be)?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 05-26-2011, 05:13 AM
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by phoenix View Post
Might it be the fact that the IP address in your hosts file is not the same IP address returned by your DNS A record (it should be)?
Hi Bill,

thanks for the feedback.

Could you please point out which one(s) you mean?

We might have some kind of a "complex" setup I think-
The involved servers are all in the same domain, but have different IP's.

We have the server called dddd.domain.com which does a grey-listing of the incoming mails before it forwards it to zimbra.domain.com - This might explain the different IP's in the A-Record output & the host file.

I've unfortunately no access to dddd.domain.com (is the security-/nw-teams setup), but trying to get from them the same info's that need to be verified according to Split_dns how-to.

-snip-
..
ip4:xx.xxx.xxx.202 a:zimbra.domain.com
ip4:xx.xxx.xxx.212 a:maildo.domain.com
ip4:xx.xxx.xxx.25 a:dddd.domain.com a:smtp.do.domain.com -all"..
-snip-

Thnx!


****
Hi all,

We have this strange same problem with a goofy error and this is happening quite often in our zimbra implementation - the appended string to the domain-name varies and it seems to be depending on how many strings the user-name has before the @ divider - e.g. sometimes it's
userabc@domain.ain.com and when there is 1 less char it's userab@domain.main.com - Seems to be more a regex string extraction issue to

me than a missconfigured DNS record or so, else the appended string should be always the same - Would have anyone an idea what could cause this issue or how to track it down to pin-point the root-cause?

Here are some output's from the Split_dns how-to.
note: the string domain is place-holder for our real domain.



1) host $(hostname)
zimbra.domain.com has address xx.xx.xx.202
zimbra.domain.com mail is handled by 40 dddd.domain.com.

2) dig domain.com mx

; <<>> DiG 9.3.2-P2.3 <<>> domain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39944
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4

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

;; ANSWER SECTION:
domain.com. 75585 IN MX 10 dddd.domain.com.

;; AUTHORITY SECTION:
domain.com. 53332 IN NS ns3.do.domain.net.
domain.com. 53332 IN NS ns2.domain.de.
domain.com. 53332 IN NS ns1.do.domain.net.

;; ADDITIONAL SECTION:
dddd.domain.com. 36520 IN A xx.xxx.xxx.25
ns1.do.domain.net. 14691 IN A xx.xxx.xxx.31
ns2.domain.de. 14691 IN A xx.xxx.xx.31
ns3.do.domain.net. 14691 IN A xx.xx.xxx.53

;; Query time: 0 msec
;; SERVER: 10.x.x.53#53(10.x.x.53)
;; WHEN: Thu May 26 13:10:09 2011
;; MSG SIZE rcvd: 189


3) dig domain.com any

; <<>> DiG 9.3.2-P2.3 <<>> domain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33316
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 3, ADDITIONAL: 4

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

;; ANSWER SECTION:
domain.com. 75383 IN MX 10 dddd.domain.com.
domain.com. 9058 IN TXT "v=spf1 ip4:xx.xxx.xxx.202 a:zimbra.domain.com ip4:xx.xxx.xxx.212 a:maildo.domain.com

ip4:xx.xxx.xxx.25 a:ddd.domain.com a:smtp.do.domain.com -all"
domain.com. 4889 IN A xx.xxx.xx.13
domain.com. 53130 IN NS ns2.domain.de.
domain.com. 53130 IN NS ns3.do.domain.net.
domain.com. 53130 IN NS ns1.do.domain.net.

;; AUTHORITY SECTION:
domain.com. 53130 IN NS ns3.do.domain.net.
domain.com. 53130 IN NS ns1.do.domain.net.
domain.com. 53130 IN NS ns2.domain.de.

;; ADDITIONAL SECTION:
dddd.domain.com. 36318 IN A xx.xxx.xxx.25
ns1.do.domain.net. 14489 IN A xx.xxx.xxx.31
ns2.domain.de. 14489 IN A xx.xxx.xx.31
ns3.do.domain.net. 14489 IN A xx.xxx.xxx.53

;; Query time: 0 msec
;; SERVER: 10.x.x.53#53(10.x.x.53)
;; WHEN: Thu May 26 13:13:31 2011
;; MSG SIZE rcvd: 406

4) cat /etc/resolv.conf
domain domain.com
search domain.com

nameserver 10.x.x.53
nameserver 10.x.x.14
nameserver 10.x.x.15
nameserver 10.x.x.16


cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
78.xxx.xxx.202 zimbra.domain.com zimbra


# 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

***

Last edited by errolu; 05-26-2011 at 05:18 AM..
Reply With Quote
  #4 (permalink)  
Old 05-26-2011, 05:29 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by errolu View Post
1)
Code:
 host $(hostname)
zimbra.domain.com has address xx.xx.xx.202
zimbra.domain.com mail is handled by 40 dddd.domain.com.
Code:
dig domain.com any

; <<>> DiG 9.3.2-P2.3 <<>> domain.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33316
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 3, ADDITIONAL: 4

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

;; ANSWER SECTION:
domain.com.             75383   IN      MX      10 dddd.domain.com.
domain.com.             9058    IN      TXT     "v=spf1 ip4:xx.xxx.xxx.202 a:zimbra.domain.com ip4:xx.xxx.xxx.212 a:maildo.domain.com 

ip4:xx.xxx.xxx.25 a:ddd.domain.com a:smtp.do.domain.com -all"
domain.com.             4889    IN      A       xx.xxx.xx.13
domain.com.             53130   IN      NS      ns2.domain.de.
domain.com.             53130   IN      NS      ns3.do.domain.net.
domain.com.             53130   IN      NS      ns1.do.domain.net.

;; AUTHORITY SECTION:
domain.com.             53130   IN      NS      ns3.do.domain.net.
domain.com.             53130   IN      NS      ns1.do.domain.net.
domain.com.             53130   IN      NS      ns2.domain.de.

;; ADDITIONAL SECTION:
dddd.domain.com.        36318   IN      A       xx.xxx.xxx.25
ns1.do.domain.net.      14489   IN      A       xx.xxx.xxx.31
ns2.domain.de.          14489   IN      A       xx.xxx.xx.31
ns3.do.domain.net.      14489   IN      A       xx.xxx.xxx.53

;; Query time: 0 msec
;; SERVER: 10.x.x.53#53(10.x.x.53)
;; WHEN: Thu May 26 13:13:31 2011
;; MSG SIZE  rcvd: 406
[CODE]
Code:
cat /etc/hosts
127.0.0.1 	localhost.localdomain localhost
78.xxx.xxx.202 	zimbra.domain.com zimbra
The highlighted ones are the IP address I'm talking about.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 05-30-2011, 03:26 AM
Junior Member
 
Posts: 5
Default new input...

Hi Bill,

thanks again for taking the time to look over my conf.

I think that the assigned/configured IP's are ok & that we are good on that side - As mentioned the dddd.domain.com handles the mail for zimbra.domain.com and there is also an entry in the DNS for this constellation (please see below).

The e-mail send/receive works ok for approx 99,+% of the mail traffic, but quite often (a few times day/week) we get these glitches where there is a string appended to the domain-name part of the recipients and thus causing DNS errors (hoist not found, etc.) - Also, I have now feedback that this happens most of the time in cases where appointments are getting re-scheduled in/via the zimbra-calendar feature - This happens with Outlook & Thunderbird users.

-sinp-
dig zimbra.domain.com mx

; <<>> DiG 9.3.2-P2.3 <<>> zimbra.domain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57024
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4

;; QUESTION SECTION:
;zimbra.domain.com. IN MX

;; ANSWER SECTION:
zimbra.domain.com. 86400 IN MX 40 dddd.domain.com.
-snip-

cheers,
Errol
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.