Results 1 to 4 of 4

Thread: DNS Setup from china using 3322.org

  1. #1
    Join Date
    Jun 2009
    Posts
    2
    Rep Power
    6

    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

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jun 2009
    Posts
    2
    Rep Power
    6

    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

  4. #4
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    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

Similar Threads

  1. Guidance required on DNS setup in sles10
    By simonpope in forum Installation
    Replies: 2
    Last Post: 08-24-2008, 10:55 AM
  2. DNS: Setup for Hosted Server to remote Server
    By jparker3119 in forum Installation
    Replies: 7
    Last Post: 09-27-2007, 08:34 PM
  3. zimbra email dns setup
    By robharpham in forum Installation
    Replies: 4
    Last Post: 05-13-2007, 07:25 PM
  4. Split DNS setup help? Ubuntu and zimbra 4.5RC2.
    By nfear24 in forum Installation
    Replies: 2
    Last Post: 01-11-2007, 07:39 AM
  5. DNS in a nutshell part two (For dummies)
    By daimer77 in forum Installation
    Replies: 4
    Last Post: 12-18-2006, 06:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •