Results 1 to 3 of 3

Thread: Split DNS setup help? Ubuntu and zimbra 4.5RC2.

  1. #1
    Join Date
    Jan 2007
    Posts
    121
    Rep Power
    8

    Question Split DNS setup help? Ubuntu and zimbra 4.5RC2.

    This is the error Im trying to get past.

    Code:
    Operations logged to /tmp/zmsetup.log.11603
    Setting defaults...
    
    DNS ERROR - No A record for mail.tickus.com.
    
            Interface: 192.168.1.103
            Interface: 127.0.0.1
    
    
    DNS ERROR - none of the MX records for mail.tickus.com
    resolve to this host
    Change domain name? [Yes] 
    Create Domain: [mail.tickus.com] tickus.com
            MX: tickus.com (61.51.141.21)
    
            Interface: 192.168.1.103
            Interface: 127.0.0.1
    
    
    DNS ERROR - none of the MX records for tickus.com
    resolve to this host
    It is suggested that the MX record resolve to this host
    Re-Enter domain name? [Yes] No
    Done
    Checking for port conflicts
    
    
    Note
    
    The previous configuration appears to have failed to complete
    
    Attempt to complete configuration now? [yes] 
    Save configuration data to a file? [Yes] 
    Save config in file: [/opt/zimbra/config.11603] 
    Saving config in /opt/zimbra/config.11603...Done
    The system will be modified - continue? [No] Yes
    Operations logged to /tmp/zmsetup.log.11603
    Initializing ldap...daemon: bind(7) failed errno=99 (Cannot assign requested address)
    slap_open_listener: failed on ldap://tickus.com:389
    ERROR - failed to start slapd
    
    FAILED (1)
    
    
    ERROR
    
    
    
    Configuration failed
    
    Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    complete the configuration.
    
    Errors have been logged to /tmp/zmsetup.log.11603
    Here is my hosts file.

    Code:
    127.0.0.1       localhost.localdomain localhost
    192.168.1.103  mail.MYDOMAIN.com mail
    Here is my split dns setup

    edit /etc/bind/named.conf.options

    Code:
    forwarders { 
    xx.xx.xx.xx; xx.xx.xx.xx;   Now are these the nameserver numbers from router going to local internet provider?
    };

    Append to /etc/bind/named.conf.local

    Code:
    	// We are the master server for mail.MYDOMAIN.com
    	zone "mail.MYDOMAIN.com" {
    		type master;
    		file "db.mail.MYDOMAIN.com";
    };
    create the zone file: /var/cache/bind/db.mail.MYDOMAIN.com
    Code:
    ;
    ;       Addresses and other host information.
    ;
    @       IN      SOA     mail.MYDOMAIN.com. mail.MYDOMAIN.com. (
                                   10118      ; Serial
                                   43200      ; Refresh
                                   3600       ; Retry
                                   3600000    ; Expire
                                   2592000 )  ; Minimum
    ;       Define the nameservers and the mail servers
                   IN      NS      xxx.xxx.xxx.xxx  Is this internal ip address 192.168.1.103?
                   IN      A       xxx.xxx.xxx.xxx   same as above then  192.168.1.103
                   IN      MX      10 mail.MYDOMAIN.com.

    # modify /etc/resolv.conf
    change upstream name servers to your own IP:
    nameserver xxx.xxx.xxx.xxx would this be internal ip again 192.168.1.103
    # /etc/init.d/bind reload
    # to test it, nslookup mail.MYDOMAIN.com should point to xxx.xxx.xxx.xxx

    Here is what my nslookup looks like then
    Code:
    Server:         192.168.1.103
    Address:        192.168.1.103#53
    
    Name:   mail.tickus.com
    Address: 192.168.1.103
    
    root@mail:/home/nick#

    Thanks Nick
    Last edited by nfear24; 01-11-2007 at 07:32 AM.

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

    Default

    Please don't post duplicate messages in the forum, I'll delete your other post.

    Have you followed the wiki instructions? External DNS server should never point to an IP address on your LAN, to all intents and purposes they don't exist to anyone except your LAN.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jan 2007
    Posts
    121
    Rep Power
    8

    Default

    everything worked and is good to go now. I had to add semi colons to the backends of this file pointed out in red here. Now everything is working.

    ;
    ; Addresses and other host information.
    ;
    @ IN SOA mail.MYDOMAIN.com. mail.MYDOMAIN.com. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS xxx.xxx.xxx.xxx ;
    IN A xxx.xxx.xxx.xxx ;
    IN MX 10 mail.MYDOMAIN.com. ;
    Last edited by nfear24; 01-11-2007 at 09:55 AM.

Similar Threads

  1. I got Ubuntu and Zimbra working
    By pacsteel in forum Installation
    Replies: 73
    Last Post: 06-23-2008, 12:41 PM
  2. Replies: 9
    Last Post: 03-01-2008, 08:21 PM
  3. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  4. Ubuntu Split DNS walk through (w/ddns)
    By Digi in forum Installation
    Replies: 1
    Last Post: 02-12-2007, 12:24 AM

Posting Permissions

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