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 06-08-2009, 04:41 AM
Starter Member
 
Posts: 2
Default DNS Setup from china using 3322.org

I posted this in the Ubuntu forums here [ubuntu] Zimbra 3322.org dynamic IP DNS woes. - Ubuntu Forums as well. I will attempt to collate everything together when/if this gets solved.
I'm having a bit of trouble getting Zimbra up and running on my computer at home. Unforgivably I am in China and the only dynamicIP address system I can use is 3322.org.

I really hope someone can spot the numerous mistakes I'm making.

/etc/hosts:
Code:
127.0.0.1	localhost.localdomain		localhost
homeserver.9966.org	mail.homeserver.9966.org 	mail
/etc/hostname
Code:
homeserver.9966.org
/etc/bind/named.conf.local
Code:
zone "homeserver.9966.org" {
	type master;
	file "/etc/bind/db.homeserver.9966.org";
};
/etc/bind/named.conf.options
Code:
forwarders {
	 	61.177.95.106; 60.191.83.242;
	};
	auth-nxdomain no;
/etc/bind/db.homeserver.9966.org
Code:
;
; Bind data file for homeserver.9966.org
;
$TTL	604800
@	IN	SOA	mail.homeserver.9966.org. admin.homeserver.9966.org. (
			 070725		; Serial
			 604800		; Refresh
			  86400		; Retry
			2419200		; Expire
			 604800	)	; Negitive Cache TTL
;
@	IN	NS	mail
	IN	MX	10 mail
	IN 	A	192.168.1.198
	IN	A	192.168.1.198
/etc/resolver.conf
Code:
nameserver 192.168.1.1
Output from some commands
host homeserver.9966.org
Code:
homeserver.9966.org has address 220.163.34.223
host mail.homeserver.9966.org
Code:
mail.homeserver.9966.org has address 220.165.8.174
Host mail.homeserver.9966.org not found: 3(NXDOMAIN)
Host mail.homeserver.9966.org not found: 3(NXDOMAIN)

nslookup homeserver.9966.org
Code:
Server:		192.168.1.1
Address:	192.168.1.1#53

Non-authoritative answer:
Name:	homeserver.9966.org
Address: 220.163.34.223
nslookup mail.homeserver.9966.org
Code:
Server:		192.168.1.1
Address:	192.168.1.1#53

Non-authoritative answer:
Name:	mail.homeserver.9966.org
Address: 220.165.8.174
I have no idea where that IP comes from

dig homeserver.9966.org

Code:
; <<>> DiG 9.5.0-P2 <<>> homeserver.9966.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59586
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;homeserver.9966.org.		IN	A

;; ANSWER SECTION:
homeserver.9966.org.	60	IN	A	220.163.34.223

;; AUTHORITY SECTION:
9966.org.		1442	IN	NS	ns1.3322.net.
9966.org.		1442	IN	NS	ns2.3322.net.

;; ADDITIONAL SECTION:
ns1.3322.net.		1505	IN	A	61.177.95.106
ns2.3322.net.		1428	IN	A	60.191.83.242

;; Query time: 70 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Jun  8 15:41:43 2009
;; MSG SIZE  rcvd: 129

dig mail.homeserver.9966.org mx

Code:
; <<>> DiG 9.5.0-P2 <<>> mail.homeserver.9966.org mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63689
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.homeserver.9966.org.	IN	MX

;; AUTHORITY SECTION:
9966.org.		429	IN	SOA	ns1.3322.net. ppyy.bentium.com. 4587289 600 300 604800 600

;; Query time: 12 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Jun  8 15:47:45 2009
;; MSG SIZE  rcvd: 106
Reply With Quote
  #2 (permalink)  
Old 06-08-2009, 04:54 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Check the following articles for details of a Split DNS set-up:

http://wiki.zimbra.com/index.php?tit..._Install_Guide
http://wiki.zimbra.com/index.php?tit..._Install_Guide
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 06-08-2009, 07:33 AM
Starter Member
 
Posts: 2
Default

That's the wiki page I had been trying to follow. I think part of the problem is i'm a bit under how to diagnose if everything is set up correctly and therefore safe to install Zimbra.

I have changed the /etc/hosts file to read
192.168.1.198 mail.homeserver.9966.org

I'm really not sure what should go into the /etc/hosts as I am using the dynamic ip servcie and the the example has the wan IP in there but since I don't have a static ip address i'm a bit lost.

and the /etc/hostname to
homeserver
Reply With Quote
  #4 (permalink)  
Old 06-09-2009, 04:53 AM
Outstanding Member
 
Posts: 594
Default

/etc/hosts will have the name of server corresponding to ip address. If you use dynamic address, use dns for lookup and make sure proper ip is reflected for name you assign to your server. If ip changes for the server so should be looked up correctly
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.