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

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 07-28-2011, 04:31 AM
Active Member
 
Posts: 28
Default Problem resolved DNS

Server Linux suse 11

IP 192.168.2.22 /24 mail4.zimbra.si - in DMZ

gateway 192.168.2.1

hostname: mail4
domain name: zimbra.si

resolved in the world
IP (external): 84.255.0.0 - mail.zimbra.si
DNS (external): 84.0.0.1 and 84.0.0.2


my named.conf

options {

forwarders { 84.0.0.1; 84.0.0.2; };
};



zone "." in {
type hint;
file "root.hint";
};

zone "localhost" in {
type master;
file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};


include "/etc/rndc.key";
// We are the master server for server.example.com
zone "mail4.zimbra.si" {
type master;
file "/etc/bind/db.mail4.zimbra.si";
};

include "/etc/named.conf.include";



db.mail4.zimbra.si

;
; Addresses and other host information.
;
@ IN SOA mail4.zimbra.si. root.mail4.zimbra.si. (
10119 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.2.22
IN MX 10 mail.zimbra.si.
mail IN A 192.168.2.22


LOGS

cat /etc/hosts I don't now way I have 127.0.0.2 -> I commet !!

127.0.0.1 localhost.localdomain localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
#127.0.0.2 mail4.zimbra.si mail4
192.168.2.22 mail4.zimbra.si mail4


cat /etc/resolv.conf
search zimbra.si
nameserver 192.168.2.22


nslookup zimbra.si

Server: 192.168.2.22
Address: 192.168.2.22#53

Non-authoritative answer:
*** Can't find zimbra.si: No answer


dig zimbra.si mx

; <<>> DiG 9.5.0-P2 <<>> almont.si mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45378
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;zimbra.si. IN MX

;; ANSWER SECTION:
zimbra.si. 47737 IN MX 10 mail.zimbra.si.
zimbra.si. 47737 IN MX 20 mx2.t-2.net.
zimbra.si. 47737 IN MX 30 fw.datalab.si.

;; AUTHORITY SECTION:
zimbra.si. 63442 IN NS fwimp.alcad.si.
zimbra.si. 63442 IN NS drava.pronet.si.

;; ADDITIONAL SECTION:
mail.zimbra.si. 11888 IN A 84.255.0.0

;; Query time: 22 msec
;; SERVER: 192.168.2.22#53(192.168.2.22)
;; WHEN: Thu Jul 28 13:23:06 2011
;; MSG SIZE rcvd: 171


dig zimbra.si any

; <<>> DiG 9.5.0-P2 <<>> almont.si any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53297
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;zimbra.si. IN ANY

;; ANSWER SECTION:
zimbra.si. 63334 IN NS fwimp.alcad.si.
zimbra.si. 63334 IN NS drava.pronet.si.
zimbra.si. 47629 IN MX 20 mx2.t-2.net.
zimbra.si. 47629 IN MX 30 fw.datalab.si.
zimbra.si. 47629 IN MX 10 mail.zimbra.si.

;; AUTHORITY SECTION:
zimbra.si. 63334 IN NS fwimp.alcad.si.
zimbra.si. 63334 IN NS drava.pronet.si.

;; ADDITIONAL SECTION:
mail.zimbra.si. 11780 IN A 84.255.0.0

;; Query time: 1 msec
;; SERVER: 192.168.2.22#53(192.168.2.22)
;; WHEN: Thu Jul 28 13:24:54 2011
;; MSG SIZE rcvd: 199



Please help and thanks

Last edited by sameone; 07-28-2011 at 04:37 AM..
Reply With Quote
  #2 (permalink)  
Old 07-28-2011, 05:59 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Search the forums of go to the Split DNS article and read what's necessary for your DNS A & MX records and the /etc/hosts and recolv.conf files, there's also details on how to check you configuration is correct.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-28-2011, 06:36 AM
Active Member
 
Posts: 28
Default

I saw many post and I always see -> Search the forums of go to the Split DNS article .... (If this article was so good, .... )

A read this article in still does not work.


Could you please see my logs file.


Thanks
Reply With Quote
  #4 (permalink)  
Old 07-28-2011, 06:46 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by sameone View Post
I saw many post and I always see -> Search the forums of go to the Split DNS article .... (If this article was so good, .... )
That article is 'so good', it tells you exactly what you need to do.

Quote:
Originally Posted by sameone View Post
A read this article in still does not work.
It does work if you follow the instructions. It would appear you haven't read it in detail otherwise you'd know that your A record should point to your LAN IP address not the public IP address - that has been mentioned in many forums posts (usually by me) and is also mentioned in the Split DNS article.


Quote:
Originally Posted by sameone View Post
Could you please see my logs file.
I've already looked at your previously posted information.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 07-28-2011, 10:28 PM
Active Member
 
Posts: 28
Default

Thanks for your answer.

Sometime you look and you don't see. Becasu you look to many time.

I then you have to ask for help.


I now I ask you again to help me with my problem and if you be so good and tell me exactly where is my problem.


Thanks in advance
Reply With Quote
  #6 (permalink)  
Old 07-31-2011, 07:11 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by sameone View Post
I now I ask you again to help me with my problem and if you be so good and tell me exactly where is my problem.
I've already told you where the problem lies, you need your A record to point to the LAN IP address of the Zimbra server. The results from the following command are pointing to the wrong IP:

Code:
dig zimbra.si any
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 08-01-2011, 02:25 AM
Active Member
 
Posts: 28
Default

I still have the problem with nslookup my domain. Where is the problem

mail4:~ # nslookup zimbra.si
Server: 192.168.2.22
Address: 192.168.2.22#53

Non-authoritative answer:
*** Can't find almont.si: No answer


NEW DATA

Server Linux suse 11

IP 192.168.2.22 /24 mail4.zimbra.si - in DMZ

gateway 192.168.2.1

hostname: mail4
domain name: zimbra.si

resolved in the world
IP (external): 84.255.0.0 - mail.zimbra.si
DNS (external): 84.0.0.1 and 84.0.0.2


my named.conf

options {

forwarders { 84.0.0.1; 84.0.0.2; };
};



zone "." in {
type hint;
file "root.hint";
};

zone "localhost" in {
type master;
file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};


include "/etc/rndc.key";
// We are the master server for server.example.com
zone "zimbra.si" {
type master;
file "/etc/bind/db.mail4.zimbra.si";
};

include "/etc/named.conf.include";




db.mail4.zimbra.si

;
; Addresses and other host information.
;
@ IN SOA mail4.zimbra.si. root.mail4.zimbra.si. (
10659 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS mail4.zimbra.si.
IN MX 10 mail.zimbra.si.
@ IN A 192.168.2.22
mail4 IN A 192.168.2.22
mail IN A 192.168.2.22




mail4:~ # dig almont.si mx

; <<>> DiG 9.5.0-P2 <<>> almont.si mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39891
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;zimbra.si. IN MX

;; ANSWER SECTION:
zimbra.si. 73534 IN MX 10 mail.zimbra.si.
zimbra.si. 73534 IN MX 20 mx2.t-2.net.
zimbra.si. 73534 IN MX 30 fw.datalab.si.

;; AUTHORITY SECTION:
zimbra.si. 81274 IN NS drava.pronet.si.
zimbra.si. 81274 IN NS fwimp.alcad.si.

;; ADDITIONAL SECTION:
mail.zimbra.si. 74062 IN A 84.255.195.106
drava.pronet.si. 3163 IN A 193.77.125.2
fwimp.alcad.si. 163 IN A 193.95.254.66

;; Query time: 1 msec
;; SERVER: 192.168.2.22#53(192.168.2.22)
;; WHEN: Mon Aug 1 11:16:42 2011
;; MSG SIZE rcvd: 203


mail4:~ # dig almont.si any

; <<>> DiG 9.5.0-P2 <<>> almont.si any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32219
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;zimbra.si. IN ANY

;; ANSWER SECTION:
zimbra.si. 81156 IN NS drava.pronet.si.
zimbra.si. 81156 IN NS fwimp.alcad.si.
zimbra.si. 73416 IN MX 30 fw.datalab.si.
zimbra.si. 73416 IN MX 10 mail.zimbra.si.
zimbra.si. 73416 IN MX 20 mx2.t-2.net.

;; AUTHORITY SECTION:
zimbra.si. 81156 IN NS drava.pronet.si.
zimbra.si. 81156 IN NS fwimp.alcad.si.

;; ADDITIONAL SECTION:
drava.pronet.si. 3045 IN A 193.77.125.2
fwimp.alcad.si. 45 IN A 193.95.254.66
mail.zimbra.si. 73944 IN A 84.255.195.106

;; Query time: 1 msec
;; SERVER: 192.168.2.22#53(192.168.2.22)
;; WHEN: Mon Aug 1 11:18:40 2011
;; MSG SIZE rcvd: 231
Reply With Quote
  #8 (permalink)  
Old 08-01-2011, 03:24 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Go to the 'Verify...' section of the Split DNS article and post the output of all the commands in that section.

BTW, I was assuming that the domain name "zimbra.si" was a 'fake' domain name - it seems you have actually registered it. I'm almost certain that you are infringing the terms of the licence (the name Zimbra is a Trademark) by using that domain name, I'd suggest you review your use of that domain name (and the terms of the licence(s)) before any legal people get involved.
__________________
Regards


Bill

Last edited by phoenix; 08-01-2011 at 03:53 AM..
Reply With Quote
  #9 (permalink)  
Old 08-01-2011, 04:27 AM
Active Member
 
Posts: 28
Default

BTW, I was assuming that the domain name "zimbra.si" was a 'fake' domain name

Yes this domain is fake, I just use this worlds
Reply With Quote
  #10 (permalink)  
Old 08-01-2011, 04:30 AM
Active Member
 
Posts: 28
Default

Go to the 'Verify...' section of the Split DNS article

Where is this section ?
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.